diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2019-10-03 19:50:12 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-12-04 13:26:17 -0500 |
commit | 00e270473e6d7b8610a4abac739509d1d8db22b5 (patch) | |
tree | 820f04e9458f76d3d3fa481b0d88d87e05f414fb /configs | |
parent | f344fb1540eb384ca2a82677fc2cd2728f31b225 (diff) | |
download | u-boot-00e270473e6d7b8610a4abac739509d1d8db22b5.tar.gz u-boot-00e270473e6d7b8610a4abac739509d1d8db22b5.tar.xz u-boot-00e270473e6d7b8610a4abac739509d1d8db22b5.zip |
mtd: ensure UBI is compiled when ENV_IS_IN_UBI is selected
UBI must be enabled when the environment is in UBI.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'configs')
-rw-r--r-- | configs/CHIP_pro_defconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/CHIP_pro_defconfig b/configs/CHIP_pro_defconfig index 02b51e3b64..040a4c5895 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" @@ -18,6 +19,7 @@ CONFIG_ENV_UBI_VOLUME="uboot-env" CONFIG_SYS_RELOC_GD_ENV_ADDR=y # CONFIG_MMC is not set 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 |