From de2b3216e6b4f3b2fe93759c05b17504f9dfe036 Mon Sep 17 00:00:00 2001 From: Marian Balakowicz Date: Fri, 11 Apr 2008 11:07:43 +0200 Subject: [PATCH] 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 --- lib_ppc/bootm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.25.1