summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-06-25 11:02:47 -0400
committerTom Rini <trini@konsulko.com>2022-07-07 14:01:09 -0400
commit56fc54ad0625f73c3a74f2fa3217255b5353a835 (patch)
tree6dcb381fcb3b4593168b8a50d72e36694b4b0328
parentbb20a105e9fa475eb4258086cf59173540e7ff23 (diff)
downloadu-boot-56fc54ad0625f73c3a74f2fa3217255b5353a835.tar.gz
u-boot-56fc54ad0625f73c3a74f2fa3217255b5353a835.tar.bz2
u-boot-56fc54ad0625f73c3a74f2fa3217255b5353a835.zip
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>
-rw-r--r--include/configs/mx6sxsabresd.h4
-rw-r--r--include/configs/mx7dsabresd.h5
2 files changed, 2 insertions, 7 deletions
diff --git a/include/configs/mx6sxsabresd.h b/include/configs/mx6sxsabresd.h
index 58d550fee9..570e2ce687 100644
--- a/include/configs/mx6sxsabresd.h
+++ b/include/configs/mx6sxsabresd.h
@@ -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
diff --git a/include/configs/mx7dsabresd.h b/include/configs/mx7dsabresd.h
index a6b8c275fe..b96341a587 100644
--- a/include/configs/mx7dsabresd.h
+++ b/include/configs/mx7dsabresd.h
@@ -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