From: Shyam Saini Date: Fri, 14 Jun 2019 07:35:34 +0000 (+0530) Subject: configs: icorem6: Enable nandbcb command X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=4e1c879f71296777ce59b0130c415cfcabf35c8e;p=u-boot.git configs: icorem6: Enable nandbcb command This also enables mtd configs which are required by nandbcb command. This command would be used to configure boot control block(BCB) while writing spl image on nand device. Signed-off-by: Shyam Saini --- diff --git a/configs/imx6qdl_icore_mmc_defconfig b/configs/imx6qdl_icore_mmc_defconfig index 6f4f712c8a..23e78a8ef4 100644 --- a/configs/imx6qdl_icore_mmc_defconfig +++ b/configs/imx6qdl_icore_mmc_defconfig @@ -14,6 +14,7 @@ CONFIG_DEBUG_UART_BASE=0x021f0000 CONFIG_DEBUG_UART_CLOCK=24000000 CONFIG_SPL_LIBDISK_SUPPORT=y # CONFIG_CMD_BMODE is not set +CONFIG_CMD_NANDBCB=y CONFIG_DEBUG_UART=y CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_FIT=y @@ -58,6 +59,9 @@ CONFIG_SYS_I2C_MXC=y CONFIG_FSL_USDHC=y CONFIG_NAND=y CONFIG_NAND_MXS=y +CONFIG_CMD_MTDPARTS=y +CONFIG_MTDIDS_DEFAULT="nand0=gpmi-nand" +CONFIG_MTDPARTS_DEFAULT="mtdparts=gpmi-nand:2m(spl),2m(uboot),1m(env),8m(kernel),1m(dtb),-(rootfs)" CONFIG_PHYLIB=y CONFIG_PHY_SMSC=y CONFIG_FEC_MXC=y