aboutsummaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2013-01-28 09:01:26 -0800
committerDavid Hendricks <dhendrix@chromium.org>2013-01-29 00:15:03 +0100
commit90b4ce27759c2cd63586481d2bafeeac61e5ab70 (patch)
treed2c84a65aa26c99d0f90a21e500a530c5c9200bd /src/cpu
parent1fb9bfa0f90c73c73bf0b9b7d9d5a2af6d7fe530 (diff)
armv7: Clean up the mmu setup a bit
The previous incarnation did not use all of mmu_setup, which meant we did not carefully disable things before (possibly) changing them. This code is tested and works, and it's a bit of a simplification. Change-Id: I0560f9b8e25f31cd90e34304d6ec987fc5c87699 Signed-off-by: Ronald G. Minnich <rminnich@gmail.com> Signed-off-by: David Hendricks <dhendrix@chromium.org> Reviewed-on: http://review.coreboot.org/2204 Reviewed-by: Peter Stuge <peter@stuge.se> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/samsung/exynos5250/exynos_cache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cpu/samsung/exynos5250/exynos_cache.c b/src/cpu/samsung/exynos5250/exynos_cache.c
index ec858d1bc3..7f4effe3a0 100644
--- a/src/cpu/samsung/exynos5250/exynos_cache.c
+++ b/src/cpu/samsung/exynos5250/exynos_cache.c
@@ -39,7 +39,8 @@ enum l2_cache_params {
void enable_caches(void)
{
/* Enable D-cache. I-cache is already enabled in start.S */
- dcache_enable();
+ /* can't use it anyway -- it has dependencies we have to fix. */
+ //dcache_enable();
}
#endif