summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChunguang Li <[email protected]>2026-04-02 11:51:31 +0800
committerTom Rini <[email protected]>2026-04-09 12:17:28 -0600
commit496504be0b871f4ed7baa82b365b864c10d1cd97 (patch)
tree296475b99eb0368a617bb0bf5e447ea149f19db9
parent0cbf30fbbfc2deaef76650ebb3f511fa70bf95dc (diff)
ls1046a: add env variables to assist boot
Add LS1046ARDB-specific variables to assist the boot flow, and update the related common and other LS1046A board settings accordingly. Signed-off-by: Chunguang Li <[email protected]> Signed-off-by: Peng Fan <[email protected]>
-rw-r--r--include/configs/ls1046a_common.h2
-rw-r--r--include/configs/ls1046afrwy.h6
-rw-r--r--include/configs/ls1046aqds.h5
-rw-r--r--include/configs/ls1046ardb.h10
4 files changed, 22 insertions, 1 deletions
diff --git a/include/configs/ls1046a_common.h b/include/configs/ls1046a_common.h
index 53ef5975a28..89f96bb3e74 100644
--- a/include/configs/ls1046a_common.h
+++ b/include/configs/ls1046a_common.h
@@ -83,7 +83,7 @@
#endif
#ifndef SPL_NO_MISC
/* Initial environment variables */
-#define CFG_EXTRA_ENV_SETTINGS \
+#define EXTRA_ENV_SETTINGS \
"hwconfig=fsl_ddr:bank_intlv=auto\0" \
"ramdisk_addr=0x800000\0" \
"ramdisk_size=0x2000000\0" \
diff --git a/include/configs/ls1046afrwy.h b/include/configs/ls1046afrwy.h
index 21804fc6654..07846c3bd25 100644
--- a/include/configs/ls1046afrwy.h
+++ b/include/configs/ls1046afrwy.h
@@ -70,6 +70,12 @@
/*
* Environment
*/
+#ifndef SPL_NO_MISC
+/* Initial environment variables */
+#define CFG_EXTRA_ENV_SETTINGS \
+ EXTRA_ENV_SETTINGS
+#endif
+
#define CFG_SYS_FSL_QSPI_BASE 0x40000000
#undef BOOT_TARGET_DEVICES
diff --git a/include/configs/ls1046aqds.h b/include/configs/ls1046aqds.h
index 4b4bd7cbe48..001118b8504 100644
--- a/include/configs/ls1046aqds.h
+++ b/include/configs/ls1046aqds.h
@@ -312,6 +312,11 @@
/*
* Environment
*/
+#ifndef SPL_NO_MISC
+/* Initial environment variables */
+#define CFG_EXTRA_ENV_SETTINGS \
+ EXTRA_ENV_SETTINGS
+#endif
#ifdef CONFIG_TFABOOT
#define IFC_NAND_BOOTCOMMAND "run distro_bootcmd; run nand_bootcmd; " \
diff --git a/include/configs/ls1046ardb.h b/include/configs/ls1046ardb.h
index 0e42a51fc59..a032e52c519 100644
--- a/include/configs/ls1046ardb.h
+++ b/include/configs/ls1046ardb.h
@@ -131,4 +131,14 @@
#include <asm/fsl_secure_boot.h>
+#ifndef SPL_NO_MISC
+/* Initial environment variables */
+#define CFG_EXTRA_ENV_SETTINGS \
+ EXTRA_ENV_SETTINGS \
+ "board=ls1046ardb\0" \
+ "fdtfile=fsl-ls1046a-rdb-sdk.dtb\0" \
+ "image=Image\0" \
+ "console_dbg=earlycon=uart8250,mmio,0x21c0500\0"
+#endif
+
#endif /* __LS1046ARDB_H__ */