diff options
| author | Jon Loeliger <[email protected]> | 2008-11-10 10:04:51 -0600 |
|---|---|---|
| committer | Jon Loeliger <[email protected]> | 2008-11-10 10:04:51 -0600 |
| commit | 33211469f7d7e2afacf103cc55790f734572f7a6 (patch) | |
| tree | 7c374cde48fba08b52b4f83bdf00aae89d7f85a3 /lib_ppc | |
| parent | 1266df887781c779deaf6d05eea2ef90a470cb34 (diff) | |
| parent | 1378174a1351c0285736863a665ab758fe8d5f71 (diff) | |
Merge commit 'wd/master'
Diffstat (limited to 'lib_ppc')
| -rw-r--r-- | lib_ppc/bootm.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib_ppc/bootm.c b/lib_ppc/bootm.c index fce4effe859..e03d7639071 100644 --- a/lib_ppc/bootm.c +++ b/lib_ppc/bootm.c @@ -173,7 +173,7 @@ static void boot_prep_linux(void) #if (CONFIG_NUM_CPUS > 1) /* if we are MP make sure to flush the dcache() to any changes are made * visibile to all other cores */ - flush_dcache(); + flush_dcache(); #endif return ; } @@ -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 |
