mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-04-01 12:01:31 +00:00
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 <vanbaren@cideas.com>
This commit is contained in:
parent
2f08bfa952
commit
47abe8ab29
1 changed files with 2 additions and 1 deletions
|
@ -403,7 +403,8 @@ int do_fdt (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
||||||
}
|
}
|
||||||
#ifdef CONFIG_OF_BOARD_SETUP
|
#ifdef CONFIG_OF_BOARD_SETUP
|
||||||
/* Call the board-specific fixup routine */
|
/* 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);
|
ft_board_setup(fdt, gd->bd);
|
||||||
#endif
|
#endif
|
||||||
/* Create a chosen node */
|
/* Create a chosen node */
|
||||||
|
|
Loading…
Add table
Reference in a new issue