Set fdt_blob variable before its value is printed out.

Signed-off-by: Marian Balakowicz <[EMAIL PROTECTED]>
---

 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:


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to