mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-04 05:50:17 +00:00 
			
		
		
		
	mx*sabresd: Reference CONFIG_SYS_AUXCORE_BOOTDATA value directly
As this is used in the environment, reference it directly rather than as a CONFIG value. Cc: Fabio Estevam <festevam@gmail.com> Cc: Adrian Alonso <adrian.alonso@nxp.com> Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
		
							parent
							
								
									bb20a105e9
								
							
						
					
					
						commit
						56fc54ad06
					
				@ -19,8 +19,6 @@
 | 
			
		||||
#define CONFIG_MXC_UART_BASE		UART1_BASE
 | 
			
		||||
 | 
			
		||||
#ifdef CONFIG_IMX_BOOTAUX
 | 
			
		||||
/* Set to QSPI2 B flash at default */
 | 
			
		||||
#define CONFIG_SYS_AUXCORE_BOOTDATA 0x78000000
 | 
			
		||||
 | 
			
		||||
#define UPDATE_M4_ENV \
 | 
			
		||||
	"m4image=m4_qspi.bin\0" \
 | 
			
		||||
@ -35,7 +33,7 @@
 | 
			
		||||
				"sf write ${loadaddr} 0x0 ${filesize}; " \
 | 
			
		||||
			"fi; " \
 | 
			
		||||
		"fi\0" \
 | 
			
		||||
	"m4boot=sf probe 1:0; bootaux "__stringify(CONFIG_SYS_AUXCORE_BOOTDATA)"\0"
 | 
			
		||||
	"m4boot=sf probe 1:0; bootaux 0x78000000\0"
 | 
			
		||||
#else
 | 
			
		||||
#define UPDATE_M4_ENV ""
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
@ -12,10 +12,7 @@
 | 
			
		||||
 | 
			
		||||
#define PHYS_SDRAM_SIZE			SZ_1G
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#ifdef CONFIG_IMX_BOOTAUX
 | 
			
		||||
/* Set to QSPI1 A flash at default */
 | 
			
		||||
#define CONFIG_SYS_AUXCORE_BOOTDATA 0x60000000
 | 
			
		||||
 | 
			
		||||
#define UPDATE_M4_ENV \
 | 
			
		||||
	"m4image=m4_qspi.bin\0" \
 | 
			
		||||
@ -30,7 +27,7 @@
 | 
			
		||||
				"sf write ${loadaddr} 0x0 ${filesize}; " \
 | 
			
		||||
			"fi; " \
 | 
			
		||||
		"fi\0" \
 | 
			
		||||
	"m4boot=sf probe 0:0; bootaux "__stringify(CONFIG_SYS_AUXCORE_BOOTDATA)"\0"
 | 
			
		||||
	"m4boot=sf probe 0:0; bootaux 0x60000000\0"
 | 
			
		||||
#else
 | 
			
		||||
#define UPDATE_M4_ENV ""
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user