From: Marian Balakowicz Date: Fri, 11 Apr 2008 09:07:43 +0000 (+0200) Subject: ppc: Fix ftd_blob variable init when processing raw blob X-Git-Tag: v1.3.3-rc1~64 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=de2b3216e6b4f3b2fe93759c05b17504f9dfe036;p=u-boot 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 --- diff --git a/lib_ppc/bootm.c b/lib_ppc/bootm.c index 29016075d7..b24a0640c7 100644 --- a/lib_ppc/bootm.c +++ b/lib_ppc/bootm.c @@ -626,9 +626,9 @@ static int boot_get_fdt (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[], /* * FDT blob */ + fdt_blob = (char *)fdt_addr; debug ("* fdt: raw FDT blob\n"); printf ("## Flattened Device Tree blob at %08lx\n", fdt_blob); - fdt_blob = (char *)fdt_addr; } break; default: