Skip to content
Snippets Groups Projects
Commit 7f1cb1d5 authored by Hannes Schmelzer's avatar Hannes Schmelzer Committed by Tom Rini
Browse files

bootm: fix 'memory-fixup' for vxWorks boot


The check for having a memory node within the fdt blob is made wrong, we
fix this here.

Signed-off-by: default avatarHannes Schmelzer <hannes.schmelzer@br-automation.com>
parent 8140816e
No related branches found
No related tags found
No related merge requests found
...@@ -437,7 +437,7 @@ void boot_prep_vxworks(bootm_headers_t *images) ...@@ -437,7 +437,7 @@ void boot_prep_vxworks(bootm_headers_t *images)
if (images->ft_addr) { if (images->ft_addr) {
off = fdt_path_offset(images->ft_addr, "/memory"); off = fdt_path_offset(images->ft_addr, "/memory");
if (off < 0) { if (off > 0) {
if (arch_fixup_fdt(images->ft_addr)) if (arch_fixup_fdt(images->ft_addr))
puts("## WARNING: fixup memory failed!\n"); puts("## WARNING: fixup memory failed!\n");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment