From: Heiko Schocher Date: Thu, 30 Jan 2020 13:10:05 +0000 (+0100) Subject: imx6: aristainetos: fix NAND detection with latest mainline X-Git-Tag: v2020.04-rc2~6^2~16 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0c054753a9c4c2d851e705844534ccd8676a06aa;p=oweals%2Fu-boot.git imx6: aristainetos: fix NAND detection with latest mainline 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 --- diff --git a/board/aristainetos/aristainetos.c b/board/aristainetos/aristainetos.c index c79ac1d339..3541717873 100644 --- a/board/aristainetos/aristainetos.c +++ b/board/aristainetos/aristainetos.c @@ -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),