configs: nand2_defconfig: Enable configs for nand boot
Enable configs for nand boot. Signed-off-by: Dinesh Maniyam <dinesh.maniyam@intel.com>
This commit is contained in:

committed by
Michael Trimarchi

parent
0375a1f145
commit
e8741c9339
@@ -2,7 +2,9 @@ SOCFPGA BOARD
|
||||
M: Tien Fong Chee <tien.fong.chee@intel.com>
|
||||
M: Teik Heng Chong <teik.heng.chong@intel.com>
|
||||
M: Jit Loon Lim <jit.loon.lim@intel.com>
|
||||
M: Dinesh Maniyam <dinesh.maniyam@intel.com>
|
||||
S: Maintained
|
||||
F: board/intel/agilex5-socdk/
|
||||
F: include/configs/socfpga_agilex5_socdk.h
|
||||
F: configs/socfpga_agilex5_defconfig
|
||||
F: configs/socfpga_agilex5_nand2_defconfig
|
||||
|
31
configs/socfpga_agilex5_nand2_defconfig
Normal file
31
configs/socfpga_agilex5_nand2_defconfig
Normal file
@@ -0,0 +1,31 @@
|
||||
#include <configs/socfpga_agilex5_defconfig>
|
||||
|
||||
CONFIG_ARM=y
|
||||
CONFIG_ARCH_SOCFPGA=y
|
||||
CONFIG_DEFAULT_DEVICE_TREE="socfpga_agilex5_socdk"
|
||||
CONFIG_BOOTARGS="earlycon panic=-1 root=${nandroot} rw rootwait rootfstype=ubifs ubi.mtd=1"
|
||||
CONFIG_TARGET_SOCFPGA_AGILEX5_NAND2=y
|
||||
CONFIG_PHY_CADENCE_COMBOPHY=n
|
||||
CONFIG_SPL_PHY_CADENCE_COMBOPHY=n
|
||||
# CONFIG_MMC_DW is not set
|
||||
CONFIG_SPL_MTD=y
|
||||
CONFIG_CMD_NAND_TRIMFFS=y
|
||||
CONFIG_CMD_NAND_LOCK_UNLOCK=y
|
||||
CONFIG_SPL_MTD_SUPPORT=y
|
||||
CONFIG_MTDIDS_DEFAULT="nand0=10b80000.nand.0"
|
||||
CONFIG_MTDPARTS_DEFAULT="mtdparts=10b80000.nand.0:2m(u-boot),-(root)"
|
||||
CONFIG_CMD_UBIFS=y
|
||||
CONFIG_MTD_UBI=y
|
||||
CONFIG_MTD_UBI_WL_THRESHOLD=4096
|
||||
CONFIG_MTD_UBI_BEB_LIMIT=20
|
||||
CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y
|
||||
CONFIG_SYS_NAND_U_BOOT_OFFS=0x0
|
||||
CONFIG_SYS_NAND_U_BOOT_OFFS_REDUND=0x100000
|
||||
CONFIG_UBI_SILENCE_MSG=y
|
||||
CONFIG_MTD_RAW_NAND=y
|
||||
CONFIG_NAND_CADENCE=y
|
||||
CONFIG_SPL_NAND_SUPPORT=y
|
||||
CONFIG_SPL_NAND_CADENCE=y
|
||||
CONFIG_SYS_NAND_ONFI_DETECTION=y
|
||||
CONFIG_SYS_NAND_BLOCK_SIZE=0x20000
|
||||
CONFIG_SYS_NAND_PAGE_SIZE=0x800
|
Reference in New Issue
Block a user