diff options
author | Dipen Dudhat <dipen.dudhat@freescale.com> | 2009-10-30 10:08:18 +0530 |
---|---|---|
committer | Scott Sweeny <scott.sweeny@timesys.com> | 2010-11-10 14:52:24 -0500 |
commit | e77b1675bbf133ecbb5f942054589ae8c1e7deac (patch) | |
tree | 85e4672a4c2e3c22e735b62f4d11bb58b2cd0835 /cpu | |
parent | 9a780f26955495de39f1bff510ca5d19101e5e73 (diff) |
Add RAMBOOT support over SD card boot on P1 and P2 RDB platforms
To use,
tftp 11000000 u-boot.bin,
go 1107f000
Signed-off-by: Dipen Dudhat <dipen.dudhat@freescale.com>
Diffstat (limited to 'cpu')
-rw-r--r-- | cpu/mpc85xx/cpu_init_early.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu/mpc85xx/cpu_init_early.c b/cpu/mpc85xx/cpu_init_early.c index 32aa94b612c..465acfac630 100644 --- a/cpu/mpc85xx/cpu_init_early.c +++ b/cpu/mpc85xx/cpu_init_early.c @@ -93,6 +93,7 @@ void cpu_init_early_f(void) write_tlb(mas0, mas1, mas2, mas3, mas7); +#if !defined(CONFIG_MK_RAMBOOT) /* set up CCSR if we want it moved */ #if (CONFIG_SYS_CCSRBAR_DEFAULT != CONFIG_SYS_CCSRBAR_PHYS) mas0 = MAS0_TLBSEL(0) | MAS0_ESEL(1); @@ -105,6 +106,7 @@ void cpu_init_early_f(void) setup_ccsrbar(); #endif +#endif init_laws(); invalidate_tlb(0); |