projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8140816
)
bootm: fix 'memory-fixup' for vxWorks boot
author
Hannes Schmelzer
<hannes.schmelzer@br-automation.com>
Fri, 4 May 2018 08:49:11 +0000
(10:49 +0200)
committer
Tom Rini
<trini@konsulko.com>
Fri, 11 May 2018 00:38:34 +0000
(20:38 -0400)
The check for having a memory node within the fdt blob is made wrong, we
fix this here.
Signed-off-by: Hannes Schmelzer <hannes.schmelzer@br-automation.com>
arch/arm/lib/bootm.c
patch
|
blob
|
history
diff --git
a/arch/arm/lib/bootm.c
b/arch/arm/lib/bootm.c
index b27266c7a1933c625031e8b67ddbb479d1cb74bc..c3c1d2fdfa2d8ab9d4eacd4a8218f3455fe3a8fc 100644
(file)
--- a/
arch/arm/lib/bootm.c
+++ b/
arch/arm/lib/bootm.c
@@
-437,7
+437,7
@@
void boot_prep_vxworks(bootm_headers_t *images)
if (images->ft_addr) {
off = fdt_path_offset(images->ft_addr, "/memory");
- if (off
<
0) {
+ if (off
>
0) {
if (arch_fixup_fdt(images->ft_addr))
puts("## WARNING: fixup memory failed!\n");
}