mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-30 08:07:59 +00:00
imx: ventana: skip mtdparts fixup if no flash
This avoids an error message on NAND-less boards. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
This commit is contained in:
parent
fdead4be6a
commit
c2fd3f5704
1 changed files with 5 additions and 3 deletions
|
@ -811,9 +811,11 @@ int ft_board_setup(void *blob, bd_t *bd)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Update partition nodes using info from mtdparts env var */
|
if (test_bit(EECONFIG_NAND, info->config)) {
|
||||||
puts(" Updating MTD partitions...\n");
|
/* Update partition nodes using info from mtdparts env var */
|
||||||
fdt_fixup_mtdparts(blob, nodes, ARRAY_SIZE(nodes));
|
puts(" Updating MTD partitions...\n");
|
||||||
|
fdt_fixup_mtdparts(blob, nodes, ARRAY_SIZE(nodes));
|
||||||
|
}
|
||||||
|
|
||||||
/* Update display timings from display env var */
|
/* Update display timings from display env var */
|
||||||
if (display) {
|
if (display) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue