From: Gerald Van Baren Date: Sat, 7 Jun 2008 16:25:05 +0000 (-0400) Subject: The fdt boardsetup command criteria was not unique X-Git-Tag: v1.3.4-rc1~105^2~3 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=47abe8ab290d2721a8eeadff65b939e6af8c01b0;p=oweals%2Fu-boot.git The fdt boardsetup command criteria was not unique It was checking just for "b", which is not unique with respect to the "boot" command. Change to check for "boa"[rdsetup]. Signed-off-by: Gerald Van Baren --- diff --git a/common/cmd_fdt.c b/common/cmd_fdt.c index ede65ae75a..85921287f8 100644 --- a/common/cmd_fdt.c +++ b/common/cmd_fdt.c @@ -403,7 +403,8 @@ int do_fdt (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]) } #ifdef CONFIG_OF_BOARD_SETUP /* Call the board-specific fixup routine */ - else if (argv[1][0] == 'b') + else if ((argv[1][0] == 'b') && (argv[1][1] == 'o') && + (argv[1][2] == 'a')) ft_board_setup(fdt, gd->bd); #endif /* Create a chosen node */