]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mx*sabresd: Reference CONFIG_SYS_AUXCORE_BOOTDATA value directly
authorTom Rini <trini@konsulko.com>
Sat, 25 Jun 2022 15:02:47 +0000 (11:02 -0400)
committerTom Rini <trini@konsulko.com>
Thu, 7 Jul 2022 18:01:09 +0000 (14:01 -0400)
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>
include/configs/mx6sxsabresd.h
include/configs/mx7dsabresd.h

index 58d550fee9ecb0ed0bf196cc41e0b353e108cdec..570e2ce687ac8e87f12ef714689b07722562e29e 100644 (file)
@@ -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
index a6b8c275fe779c444e33a7d3597819cbcb898bbe..b96341a587c4f4c0b00c525ba90502d37a697aa2 100644 (file)
 
 #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