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>
This commit is contained in:
TsiChungLiew 2007-07-05 23:03:28 -05:00 committed by John Rigby
parent 7a17e759c7
commit 84a015b52e

View file

@ -3,7 +3,7 @@
* (C) Copyright 2000-2003 * (C) Copyright 2000-2003
* Wolfgang Denk, DENX Software Engineering, wd@denx.de. * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
* *
* (C) Copyright 2007 * (C) Copyright 2007 Freescale Semiconductor, Inc.
* TsiChung Liew (Tsi-Chung.Liew@freescale.com) * TsiChung Liew (Tsi-Chung.Liew@freescale.com)
* *
* See file CREDITS for list of people who contributed to this * See file CREDITS for list of people who contributed to this
@ -28,8 +28,7 @@
#include <common.h> #include <common.h>
#include <watchdog.h> #include <watchdog.h>
#include <asm/m5329.h> #include <asm/immap.h>
#include <asm/immap_5329.h>
/* /*
* Breath some life into the CPU... * Breath some life into the CPU...
@ -121,6 +120,6 @@ void cpu_init_f(void)
*/ */
int cpu_init_r(void) int cpu_init_r(void)
{ {
/*icache_enable(); */ icache_enable();
return (0); return (0);
} }