* [U-Boot-Users] [PATCH v2] Fix fdt boardsetup command parsing
@ 2008-02-20 20:32 Kumar Gala
2008-02-23 23:45 ` Jerry Van Baren
0 siblings, 1 reply; 2+ messages in thread
From: Kumar Gala @ 2008-02-20 20:32 UTC (permalink / raw)
To: u-boot
The introduciton of the 'fdt bootcpu' broke parsing for 'fdt boardsetup'.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
Kim pointed out that my if wasn't quite right.
common/cmd_fdt.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/common/cmd_fdt.c b/common/cmd_fdt.c
index c31560b..14c3fa0 100644
--- a/common/cmd_fdt.c
+++ b/common/cmd_fdt.c
@@ -324,7 +324,8 @@ int do_fdt (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
/********************************************************************
* Set boot cpu id
********************************************************************/
- } else if ((argv[1][0] == 'b') && (argv[1][1] == 'o')) {
+ } else if ((argv[1][0] == 'b') && (argv[1][1] == 'o') &&
+ (argv[1][2] == 'o')) {
unsigned long tmp = simple_strtoul(argv[2], NULL, 16);
fdt_set_boot_cpuid_phys(fdt, tmp);
--
1.5.4.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot-Users] [PATCH v2] Fix fdt boardsetup command parsing
2008-02-20 20:32 [U-Boot-Users] [PATCH v2] Fix fdt boardsetup command parsing Kumar Gala
@ 2008-02-23 23:45 ` Jerry Van Baren
0 siblings, 0 replies; 2+ messages in thread
From: Jerry Van Baren @ 2008-02-23 23:45 UTC (permalink / raw)
To: u-boot
Kumar Gala wrote:
> The introduciton of the 'fdt bootcpu' broke parsing for 'fdt boardsetup'.
>
> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Applied, thanks.
gvb
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-02-23 23:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-20 20:32 [U-Boot-Users] [PATCH v2] Fix fdt boardsetup command parsing Kumar Gala
2008-02-23 23:45 ` Jerry Van Baren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox