diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2019-10-03 19:50:15 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-12-04 13:26:17 -0500 |
commit | f6434a95619e52ffaa1ac7a3a030d00440e479c3 (patch) | |
tree | 990778239f4ccc8208d17a75957881fd26ab3dbe /configs/lion-rk3368_defconfig | |
parent | 2fa872ee7728b9c8863ab7824ec4f2508869a31f (diff) | |
download | u-boot-f6434a95619e52ffaa1ac7a3a030d00440e479c3.zip u-boot-f6434a95619e52ffaa1ac7a3a030d00440e479c3.tar.gz u-boot-f6434a95619e52ffaa1ac7a3a030d00440e479c3.tar.bz2 |
mtd: ensure MTD is compiled when CMD_MTDPARTS is selected
MTD support must be enabled when using mtdparts. Indeed, functions
like get_mtd_info(), get_mtd_device() and put_mtd_device() are in
drivers/mtd/mtd_uboot.c and are built only with CONFIG_MTD.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'configs/lion-rk3368_defconfig')
-rw-r--r-- | configs/lion-rk3368_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/lion-rk3368_defconfig b/configs/lion-rk3368_defconfig index aacac7e..218646a 100644 --- a/configs/lion-rk3368_defconfig +++ b/configs/lion-rk3368_defconfig @@ -64,6 +64,7 @@ CONFIG_TPL_CLK=y CONFIG_ROCKCHIP_GPIO=y CONFIG_MMC_DW=y CONFIG_MMC_DW_ROCKCHIP=y +CONFIG_MTD=y CONFIG_SPI_FLASH_MACRONIX=y CONFIG_SPI_FLASH_WINBOND=y CONFIG_PHY_MICREL=y |