mirror of
				https://xff.cz/git/u-boot/
				synced 2025-10-30 01:53:48 +01:00 
			
		
		
		
	Dynamically adapt the MTD partitions in NOR/NAND/SPI-NAND when stm32prog command detects in the parsed flash layout files: - a fsbl partition in NOR. - a tee partition in NOR/NAND/SPI-NAND Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
		
			
				
	
	
		
			17 lines
		
	
	
		
			516 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			516 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */
 | |
| /*
 | |
|  * Copyright (C) 2020, STMicroelectronics - All Rights Reserved
 | |
|  */
 | |
| 
 | |
| #define STM32PROG_VIRT_FIRST_DEV_NUM		0xF1
 | |
| 
 | |
| int stm32prog_write_medium_virt(struct dfu_entity *dfu, u64 offset,
 | |
| 				void *buf, long *len);
 | |
| int stm32prog_read_medium_virt(struct dfu_entity *dfu, u64 offset,
 | |
| 			       void *buf, long *len);
 | |
| int stm32prog_get_medium_size_virt(struct dfu_entity *dfu, u64 *size);
 | |
| 
 | |
| bool stm32prog_get_tee_partitions(void);
 | |
| 
 | |
| bool stm32prog_get_fsbl_nor(void);
 |