fdt: add call to ft_board_setup_ex() for ks2 boards
authorNicholas Faustini <nicholas.faustini@azcomtech.com>
Wed, 3 Oct 2018 10:58:48 +0000 (12:58 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 10 Oct 2018 17:32:41 +0000 (13:32 -0400)
When updating the board FDT, some of the operations
are performed by ft_board_setup_ex() and should be
executed also by the fdt command.

Signed-off-by: Nicholas Faustini <nicholas.faustini@azcomtech.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
cmd/fdt.c

index 28de467..8a19a3f 100644 (file)
--- a/cmd/fdt.c
+++ b/cmd/fdt.c
@@ -596,6 +596,9 @@ static int do_fdt(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
                               fdt_strerror(err));
                        return CMD_RET_FAILURE;
                }
+#ifdef CONFIG_SOC_KEYSTONE
+               ft_board_setup_ex(working_fdt, gd->bd);
+#endif
        }
 #endif
        /* Create a chosen node */