diff options
Diffstat (limited to 'configs/CHIP_pro_defconfig')
-rw-r--r-- | configs/CHIP_pro_defconfig | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configs/CHIP_pro_defconfig b/configs/CHIP_pro_defconfig index 62fe102a54..320c78a4c7 100644 --- a/configs/CHIP_pro_defconfig +++ b/configs/CHIP_pro_defconfig @@ -9,6 +9,7 @@ CONFIG_USE_PREBOOT=y CONFIG_SPL_I2C_SUPPORT=y # CONFIG_CMD_FLASH is not set CONFIG_CMD_MTDPARTS=y +CONFIG_CMD_UBI=y CONFIG_MTDIDS_DEFAULT="nand0=sunxi-nand.0" CONFIG_MTDPARTS_DEFAULT="mtdparts=sunxi-nand.0:256k(spl),256k(spl-backup),2m(uboot),2m(uboot-backup),-(UBI)" CONFIG_DEFAULT_DEVICE_TREE="sun5i-gr8-chip-pro" @@ -17,7 +18,8 @@ CONFIG_ENV_UBI_PART="UBI" CONFIG_ENV_UBI_VOLUME="uboot-env" CONFIG_SYS_RELOC_GD_ENV_ADDR=y # CONFIG_MMC is not set -CONFIG_NAND=y +CONFIG_MTD_RAW_NAND=y +CONFIG_MTD_UBI=y CONFIG_SYS_NAND_BLOCK_SIZE=0x40000 CONFIG_SYS_NAND_PAGE_SIZE=0x1000 CONFIG_SYS_NAND_OOBSIZE=0x100 @@ -29,3 +31,5 @@ CONFIG_USB_OHCI_HCD=y CONFIG_USB_MUSB_GADGET=y CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y CONFIG_USB_FUNCTION_MASS_STORAGE=y +CONFIG_MTD=y +CONFIG_MTD_RAW_NAND=y |