diff options
Diffstat (limited to 'cpu/mpc85xx/cpu_init.c')
-rw-r--r-- | cpu/mpc85xx/cpu_init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu/mpc85xx/cpu_init.c b/cpu/mpc85xx/cpu_init.c index 91db6e2fbd2..653f327dbf0 100644 --- a/cpu/mpc85xx/cpu_init.c +++ b/cpu/mpc85xx/cpu_init.c @@ -180,6 +180,7 @@ void cpu_init_early_f_sd(void) { unsigned int law_size; +#if !defined(CONFIG_SYS_RAMBOOT) /* set up CCSR if we want it moved */ #if (CONFIG_SYS_CCSRBAR_DEFAULT != CONFIG_SYS_CCSRBAR_PHYS) { @@ -190,6 +191,7 @@ void cpu_init_early_f_sd(void) temp = in_be32((volatile u32 *)CONFIG_SYS_CCSRBAR); } #endif +#endif /* Pointer is writable since we allocated a register for it. * the gd->used_law will be used in the init_laws(), |