]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
ls1043a: add env variables to assist boot
authorChunguang Li <chunguang.li_2@nxp.com>
Thu, 2 Apr 2026 03:51:30 +0000 (11:51 +0800)
committerTom Rini <trini@konsulko.com>
Thu, 9 Apr 2026 18:17:28 +0000 (12:17 -0600)
Add LS1043ARDB-specific variables to assist the boot process,
and update the related common and LS1043AQDS settings accordingly.

Signed-off-by: Chunguang Li <chunguang.li_2@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
include/configs/ls1043a_common.h
include/configs/ls1043aqds.h
include/configs/ls1043ardb.h

index 4c695388d2f768cbea015404a4d8630a24446ca6..24a717706afab9fb30787fc86adaf98f512d6654 100644 (file)
@@ -88,7 +88,7 @@
 #include <config_distro_bootcmd.h>
 
 /* Initial environment variables */
-#define CFG_EXTRA_ENV_SETTINGS         \
+#define EXTRA_ENV_SETTINGS              \
        "hwconfig=fsl_ddr:bank_intlv=auto\0"    \
        "initrd_high=0xffffffffffffffff\0"      \
        "kernel_addr=0x61000000\0"              \
index 7ccbb20bf2ea83dfa42527f2a36cf4620ebf576d..c06e986e93ffb490d76c7738e2c391e888ebf991 100644 (file)
 /*
  * Environment
  */
+#ifndef SPL_NO_MISC
+/* Initial environment variables */
+#define CFG_EXTRA_ENV_SETTINGS      \
+       EXTRA_ENV_SETTINGS
+#endif
 
 #include <asm/fsl_secure_boot.h>
 
index ef8fdc1912bd295199a23c61d7738287227aab88..90caf8a13717a85d7b739b0a6219ac1e552417f9 100644 (file)
 
 #include <asm/fsl_secure_boot.h>
 
+#ifndef SPL_NO_MISC
+/* Initial environment variables */
+#define CFG_EXTRA_ENV_SETTINGS      \
+       EXTRA_ENV_SETTINGS              \
+       "board=ls1043ardb\0"            \
+       "fdtfile=fsl-ls1043a-rdb-sdk.dtb\0"    \
+       "image=Image\0"                                 \
+       "console_dbg=earlycon=uart8250,mmio,0x21c0500\0"
+#endif
+
 #endif /* __LS1043ARDB_H__ */