diff options
author | Terry Lv <r65388@freescale.com> | 2009-12-11 15:19:57 +0800 |
---|---|---|
committer | Terry Lv <r65388@freescale.com> | 2009-12-11 15:19:57 +0800 |
commit | 53f07baf9167201943561651ba9f3587f1b8edc9 (patch) | |
tree | d690a1e5f115cec6bffa1b6e8f051ca3aa083ea0 /cpu/arm_cortexa8/mx51 | |
parent | 1ee27e13d6fdb19d297f8d1d6d3d7d8449d0361e (diff) | |
download | u-boot-imx-53f07baf9167201943561651ba9f3587f1b8edc9.zip u-boot-imx-53f07baf9167201943561651ba9f3587f1b8edc9.tar.gz u-boot-imx-53f07baf9167201943561651ba9f3587f1b8edc9.tar.bz2 |
ENGR00119224: mmu support for mx51 3stack and mx51 bbg
mmu support for mx51 3stack and mx51 bbg.
Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'cpu/arm_cortexa8/mx51')
-rw-r--r-- | cpu/arm_cortexa8/mx51/generic.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cpu/arm_cortexa8/mx51/generic.c b/cpu/arm_cortexa8/mx51/generic.c index 2512081..a073de1 100644 --- a/cpu/arm_cortexa8/mx51/generic.c +++ b/cpu/arm_cortexa8/mx51/generic.c @@ -260,3 +260,11 @@ int cpu_eth_init(bd_t *bis) return rc; } +#if defined(CONFIG_ARCH_CPU_INIT) +int arch_cpu_init(void) +{ + icache_enable(); + dcache_enable(); + return 0; +} +#endif |