From: Tim Harvey Date: Sat, 24 Jul 2021 17:40:31 +0000 (-0700) Subject: imx: ventana: ignore EEPROM config when checking for NAND support X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=36de64f2eb3029ea695379c3954caf3c3d13dc70;p=u-boot.git imx: ventana: ignore EEPROM config when checking for NAND support EEPROM bits no longer indicate support for NAND so instead use hard-coded value from board config struct. Signed-off-by: Tim Harvey --- diff --git a/board/gateworks/gw_ventana/gw_ventana.c b/board/gateworks/gw_ventana/gw_ventana.c index 912075db88..e2dd6dcb83 100644 --- a/board/gateworks/gw_ventana/gw_ventana.c +++ b/board/gateworks/gw_ventana/gw_ventana.c @@ -1017,7 +1017,7 @@ int ft_board_setup(void *blob, struct bd_info *bd) return 0; } - if (test_bit(EECONFIG_NAND, info->config)) { + if (gpio_cfg[board_type].nand) { /* Update partition nodes using info from mtdparts env var */ puts(" Updating MTD partitions...\n"); fdt_fixup_mtdparts(blob, nodes, ARRAY_SIZE(nodes));