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 <chunguang.li_2@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
#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" \
/*
* 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
/*
* 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; " \
#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__ */