projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f08bfa
)
The fdt boardsetup command criteria was not unique
author
Gerald Van Baren
<vanbaren@cideas.com>
Sat, 7 Jun 2008 16:25:05 +0000
(12:25 -0400)
committer
Gerald Van Baren
<vanbaren@cideas.com>
Tue, 10 Jun 2008 01:13:44 +0000
(21:13 -0400)
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>
common/cmd_fdt.c
patch
|
blob
|
history
diff --git
a/common/cmd_fdt.c
b/common/cmd_fdt.c
index ede65ae75a2c55cd1d58d3773ed8786198a6da9e..85921287f852243557c878b9dc7334df23eaba25 100644
(file)
--- 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 */