diff options
author | Marian Balakowicz <m8@semihalf.com> | 2008-04-11 11:07:43 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-04-17 23:58:22 -0700 |
commit | de2b3216e6b4f3b2fe93759c05b17504f9dfe036 (patch) | |
tree | bebd00b69dcbf6ec59e48dfd91096bf3be4eddb4 /lib_ppc | |
parent | 3d36be030043cd841a2551d00a395135e363a64b (diff) | |
download | u-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')
-rw-r--r-- | lib_ppc/bootm.c | 2 |
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: |