mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-04 05:50:17 +00:00 
			
		
		
		
	configs: versal: Enable CONFIG_LTO for mini qspi/ospi
Adding a tiny bit more code for mini u-boot leads to a OCM image overflow. Fix this by enabling LTO for this board, so that such changes still can be made to the common U-Boot code. Enable building mini u-boot image with LTO, which results in about 8KB reduction in size. Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com> Signed-off-by: Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/20240126080900.3209323-1-venkatesh.abbarapu@amd.com
This commit is contained in:
		
							parent
							
								
									dfc8e5f659
								
							
						
					
					
						commit
						958526f250
					
				@ -16,6 +16,7 @@ CONFIG_SYS_MEM_RSVD_FOR_MMU=y
 | 
			
		||||
CONFIG_VERSAL_NO_DDR=y
 | 
			
		||||
# CONFIG_PSCI_RESET is not set
 | 
			
		||||
CONFIG_SYS_LOAD_ADDR=0x8000000
 | 
			
		||||
CONFIG_LTO=y
 | 
			
		||||
# CONFIG_EXPERT is not set
 | 
			
		||||
CONFIG_REMAKE_ELF=y
 | 
			
		||||
# CONFIG_AUTOBOOT is not set
 | 
			
		||||
 | 
			
		||||
@ -14,6 +14,7 @@ CONFIG_SYS_MEM_RSVD_FOR_MMU=y
 | 
			
		||||
CONFIG_VERSAL_NO_DDR=y
 | 
			
		||||
# CONFIG_PSCI_RESET is not set
 | 
			
		||||
CONFIG_SYS_LOAD_ADDR=0x8000000
 | 
			
		||||
CONFIG_LTO=y
 | 
			
		||||
# CONFIG_EXPERT is not set
 | 
			
		||||
CONFIG_REMAKE_ELF=y
 | 
			
		||||
# CONFIG_AUTOBOOT is not set
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user