summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTsiChungLiew <Tsi-Chung.Liew@freescale.com>2007-07-05 23:03:28 -0500
committerJohn Rigby <jrigby@freescale.com>2007-07-10 14:29:09 -0600
commit84a015b52ec820a5ae173717d78516de731c89c2 (patch)
tree13681cd5eee9c2c81d6e7c3923aa06a0568da1e3
parent7a17e759c7a8b58e910daf54df611e94fc8ca074 (diff)
downloadu-boot-imx-84a015b52ec820a5ae173717d78516de731c89c2.zip
u-boot-imx-84a015b52ec820a5ae173717d78516de731c89c2.tar.gz
u-boot-imx-84a015b52ec820a5ae173717d78516de731c89c2.tar.bz2
Update header file and enable icache
Replaced immap_5329.h and m5329.h with immap.h. Enabled icache_enable() in cpu_init_r(). Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
-rw-r--r--cpu/mcf532x/cpu_init.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/cpu/mcf532x/cpu_init.c b/cpu/mcf532x/cpu_init.c
index 6319658..b056fbe 100644
--- a/cpu/mcf532x/cpu_init.c
+++ b/cpu/mcf532x/cpu_init.c
@@ -3,7 +3,7 @@
* (C) Copyright 2000-2003
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*
- * (C) Copyright 2007
+ * (C) Copyright 2007 Freescale Semiconductor, Inc.
* TsiChung Liew (Tsi-Chung.Liew@freescale.com)
*
* See file CREDITS for list of people who contributed to this
@@ -28,8 +28,7 @@
#include <common.h>
#include <watchdog.h>
-#include <asm/m5329.h>
-#include <asm/immap_5329.h>
+#include <asm/immap.h>
/*
* Breath some life into the CPU...
@@ -121,6 +120,6 @@ void cpu_init_f(void)
*/
int cpu_init_r(void)
{
- /*icache_enable(); */
+ icache_enable();
return (0);
}