configs: colibri_imx7: enable DM for raw NAND devices
authorStefan Agner <stefan.agner@toradex.com>
Tue, 8 Jan 2019 11:42:30 +0000 (12:42 +0100)
committerStefano Babic <sbabic@denx.de>
Mon, 28 Jan 2019 12:02:08 +0000 (13:02 +0100)
Use DM and device trees for raw NAND devices by default. This
fixes -74 NAND read errors since it makes sure the ECC settings
are the same as used in Linux and our downstream U-Boot.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
configs/colibri_imx7_defconfig

index 2e4350c1a656a6b781de9825921c679cfdf7237d..a24620aecd331968bb66be066a16e266d24da584 100644 (file)
@@ -26,6 +26,7 @@ CONFIG_CMD_DFU=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
+CONFIG_CMD_MTD=y
 CONFIG_CMD_NAND_TRIMFFS=y
 CONFIG_CMD_NAND_TORTURE=y
 CONFIG_CMD_USB=y
@@ -51,7 +52,9 @@ CONFIG_DFU_MMC=y
 CONFIG_DM_GPIO=y
 CONFIG_DM_I2C=y
 CONFIG_FSL_ESDHC=y
+CONFIG_MTD=y
 CONFIG_NAND=y
+CONFIG_NAND_MXS_DT=y
 CONFIG_MTD_UBI_FASTMAP=y
 CONFIG_PHYLIB=y
 CONFIG_PHY_MICREL=y