]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Merge branch 'master' of /home/wd/git/u-boot/custodians
authorWolfgang Denk <wd@denx.de>
Sat, 8 Nov 2008 23:01:59 +0000 (00:01 +0100)
committerWolfgang Denk <wd@denx.de>
Sat, 8 Nov 2008 23:01:59 +0000 (00:01 +0100)
lib_ppc/bootm.c

index a436f75abad32a2ce23f0d3c535d4b7e1c2806fc..e03d76390715dd1e41e8826cb6ca145b089de7bc 100644 (file)
@@ -224,12 +224,13 @@ static int boot_bd_t_linux(bootm_headers_t *images)
 
 static int boot_body_linux(bootm_headers_t *images)
 {
-       ulong rd_len, bootmap_base = getenv_bootm_low();
-       ulong of_size = images->ft_len;
+       ulong rd_len;
        struct lmb *lmb = &images->lmb;
        ulong *initrd_start = &images->initrd_start;
        ulong *initrd_end = &images->initrd_end;
 #if defined(CONFIG_OF_LIBFDT)
+       ulong bootmap_base = getenv_bootm_low();
+       ulong of_size = images->ft_len;
        char **of_flat_tree = &images->ft_addr;
 #endif