mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 23:51:33 +00:00
Fix fdt boardsetup command parsing
The introduciton of the 'fdt bootcpu' broke parsing for 'fdt boardsetup'. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
parent
804887e600
commit
fe30a354cd
1 changed files with 2 additions and 1 deletions
|
@ -324,7 +324,8 @@ int do_fdt (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
|
||||||
/********************************************************************
|
/********************************************************************
|
||||||
* Set boot cpu id
|
* 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);
|
unsigned long tmp = simple_strtoul(argv[2], NULL, 16);
|
||||||
fdt_set_boot_cpuid_phys(fdt, tmp);
|
fdt_set_boot_cpuid_phys(fdt, tmp);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue