Message ID | 20220911114740.24447-7-jit.loon.lim@intel.com |
---|---|
State | Needs Review / ACK, archived |
Delegated to: | Marek Vasut |
Headers | show |
Series | [1/7] configs: HSD #1507526426-2: configs: socfpga: agilex: Enable CONFIG_CMD_MTD | expand |
diff --git a/include/configs/socfpga_soc64_common.h b/include/configs/socfpga_soc64_common.h index ec283a9307..85f42d92c0 100644 --- a/include/configs/socfpga_soc64_common.h +++ b/include/configs/socfpga_soc64_common.h @@ -77,6 +77,11 @@ "scriptfile=u-boot.scr\0" \ "fatscript=if fatload mmc 0:1 ${scriptaddr} ${scriptfile};" \ "then source ${scriptaddr}; fi\0" \ + "nandroot=/dev/mtdblock5\0" \ + "nandload=nand read ${loadaddr} kernel; nand read ${fdt_addr} dtb\0" \ + "nandboot=setenv bootargs " CONFIG_BOOTARGS \ + " root=${nandroot} rw rootwait rootfstype=jffs2; " \ + "booti ${loadaddr} - ${fdt_addr}\0" \ "socfpga_legacy_reset_compat=1\0" /*