summaryrefslogtreecommitdiff
path: root/configs/at91sam9n12ek_mmc_defconfig
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2019-10-03 19:50:15 +0200
committerTom Rini <trini@konsulko.com>2019-12-04 13:26:17 -0500
commitf6434a95619e52ffaa1ac7a3a030d00440e479c3 (patch)
tree990778239f4ccc8208d17a75957881fd26ab3dbe /configs/at91sam9n12ek_mmc_defconfig
parent2fa872ee7728b9c8863ab7824ec4f2508869a31f (diff)
downloadu-boot-f6434a95619e52ffaa1ac7a3a030d00440e479c3.tar.gz
u-boot-f6434a95619e52ffaa1ac7a3a030d00440e479c3.tar.bz2
u-boot-f6434a95619e52ffaa1ac7a3a030d00440e479c3.zip
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/at91sam9n12ek_mmc_defconfig')
-rw-r--r--configs/at91sam9n12ek_mmc_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/at91sam9n12ek_mmc_defconfig b/configs/at91sam9n12ek_mmc_defconfig
index ae6fb5047b..fa94273f65 100644
--- a/configs/at91sam9n12ek_mmc_defconfig
+++ b/configs/at91sam9n12ek_mmc_defconfig
@@ -61,3 +61,4 @@ CONFIG_DM_USB=y
CONFIG_USB_STORAGE=y
CONFIG_LCD=y
CONFIG_MTD=y
+CONFIG_MTD_RAW_NAND=y