imx6: aristainetos: fix NAND detection with latest mainline
authorHeiko Schocher <hs@denx.de>
Thu, 30 Jan 2020 13:10:05 +0000 (14:10 +0100)
committerStefano Babic <sbabic@denx.de>
Sun, 9 Feb 2020 14:04:37 +0000 (15:04 +0100)
commit 88718be30010 ("mtd: rename CONFIG_NAND -> CONFIG_MTD_RAW_NAND")
moved CONFIG_NAND -> CONFIG_MTD_RAW_NAND. Adapt board code to this
change, as last merge did not respect the above commit.

Signed-off-by: Heiko Schocher <hs@denx.de>
board/aristainetos/aristainetos.c

index c79ac1d3391f09c47a068b75e9413b3bfff7cb4a..3541717873f6d85ebbba005312b22efdd18798a2 100644 (file)
@@ -521,7 +521,7 @@ struct display_info_t const displays[] = {
 };
 size_t display_count = ARRAY_SIZE(displays);
 
-#if defined(CONFIG_NAND)
+#if defined(CONFIG_MTD_RAW_NAND)
 iomux_v3_cfg_t nfc_pads[] = {
        MX6_PAD_NANDF_CLE__NAND_CLE             | MUX_PAD_CTRL(NO_PAD_CTRL),
        MX6_PAD_NANDF_ALE__NAND_ALE             | MUX_PAD_CTRL(NO_PAD_CTRL),