提交 36de64f2 编写于 作者: T Tim Harvey 提交者: Stefano Babic

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: NTim Harvey <tharvey@gateworks.com>
上级 d9275ebb
......@@ -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));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册