summaryrefslogtreecommitdiff
path: root/lib_ppc/bootm.c
diff options
context:
space:
mode:
authorMarian Balakowicz <m8@semihalf.com>2008-04-11 11:07:43 +0200
committerWolfgang Denk <wd@denx.de>2008-04-17 23:58:22 -0700
commitde2b3216e6b4f3b2fe93759c05b17504f9dfe036 (patch)
treebebd00b69dcbf6ec59e48dfd91096bf3be4eddb4 /lib_ppc/bootm.c
parent3d36be030043cd841a2551d00a395135e363a64b (diff)
downloadu-boot-imx-de2b3216e6b4f3b2fe93759c05b17504f9dfe036.zip
u-boot-imx-de2b3216e6b4f3b2fe93759c05b17504f9dfe036.tar.gz
u-boot-imx-de2b3216e6b4f3b2fe93759c05b17504f9dfe036.tar.bz2
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>
Diffstat (limited to 'lib_ppc/bootm.c')
-rw-r--r--lib_ppc/bootm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib_ppc/bootm.c b/lib_ppc/bootm.c
index 2901607..b24a064 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: