git.openpandora.org
/
pandora-u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
spl/85xx: new SPL support
[pandora-u-boot.git]
/
arch
/
powerpc
/
cpu
/
mpc85xx
/
spl_minimal.c
diff --git
a/arch/powerpc/cpu/mpc85xx/spl_minimal.c
b/arch/powerpc/cpu/mpc85xx/spl_minimal.c
index
0589497
..
c6b9cd0
100644
(file)
--- a/
arch/powerpc/cpu/mpc85xx/spl_minimal.c
+++ b/
arch/powerpc/cpu/mpc85xx/spl_minimal.c
@@
-30,7
+30,7
@@
DECLARE_GLOBAL_DATA_PTR;
void cpu_init_f(void)
{
-#if
defined(CONFIG_SYS_RAMBOOT) && defined(CONFIG_SYS_INIT_L2_ADDR)
+#if
def CONFIG_SYS_INIT_L2_ADDR
ccsr_l2cache_t *l2cache = (void *)CONFIG_SYS_MPC85xx_L2_ADDR;
out_be32(&l2cache->l2srbar0, CONFIG_SYS_INIT_L2_ADDR);