summaryrefslogtreecommitdiff
path: root/cpu/mpc85xx/cpu_init.c
diff options
context:
space:
mode:
authorHaiying Wang <Haiying.Wang@freescale.com>2007-08-23 15:20:54 -0400
committerAndrew Fleming-AFLEMING <afleming@freescale.com>2007-08-29 00:11:44 -0500
commit7a1ac419fa0d2d23ddd08bd61d16896a9f33c933 (patch)
tree9e08925fe043ec59a0c45c8b77aef10294731f59 /cpu/mpc85xx/cpu_init.c
parent94c47fdaf14cb29fa3fb4d4da2efdd96c803b46b (diff)
downloadu-boot-imx-7a1ac419fa0d2d23ddd08bd61d16896a9f33c933.zip
u-boot-imx-7a1ac419fa0d2d23ddd08bd61d16896a9f33c933.tar.gz
u-boot-imx-7a1ac419fa0d2d23ddd08bd61d16896a9f33c933.tar.bz2
Enable L2 cache for MPC8568MDS board
The L2 cache size is 512KB for 8568, print out the correct informaiton. Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
Diffstat (limited to 'cpu/mpc85xx/cpu_init.c')
-rw-r--r--cpu/mpc85xx/cpu_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/mpc85xx/cpu_init.c b/cpu/mpc85xx/cpu_init.c
index 7b99610..79ad20c 100644
--- a/cpu/mpc85xx/cpu_init.c
+++ b/cpu/mpc85xx/cpu_init.c
@@ -247,7 +247,7 @@ int cpu_init_r(void)
switch (cache_ctl & 0x30000000) {
case 0x20000000:
if (ver == SVR_8548 || ver == SVR_8548_E ||
- ver == SVR_8544) {
+ ver == SVR_8544 || ver == SVR_8568_E) {
printf ("L2 cache 512KB:");
/* set L2E=1, L2I=1, & L2SRAM=0 */
cache_ctl = 0xc0000000;