Skip to content
Snippets Groups Projects
Commit de2b3216 authored by Marian Balakowicz's avatar Marian Balakowicz Committed by Wolfgang Denk
Browse files

ppc: Fix ftd_blob variable init when processing raw blob


Set fdt_blob variable before its value is printed out.

Signed-off-by: default avatarMarian Balakowicz <m8@semihalf.com>
parent 3d36be03
No related branches found
No related tags found
No related merge requests found
...@@ -626,9 +626,9 @@ static int boot_get_fdt (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[], ...@@ -626,9 +626,9 @@ static int boot_get_fdt (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[],
/* /*
* FDT blob * FDT blob
*/ */
fdt_blob = (char *)fdt_addr;
debug ("* fdt: raw FDT blob\n"); debug ("* fdt: raw FDT blob\n");
printf ("## Flattened Device Tree blob at %08lx\n", fdt_blob); printf ("## Flattened Device Tree blob at %08lx\n", fdt_blob);
fdt_blob = (char *)fdt_addr;
} }
break; break;
default: default:
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment