ppc: Fix ftd_blob variable init when processing raw blob
Set fdt_blob variable before its value is printed out. Signed-off-by: Marian Balakowicz <m8@semihalf.com>
This commit is contained in:
parent
3d36be0300
commit
de2b3216e6
@ -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:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user