From 90b4ce27759c2cd63586481d2bafeeac61e5ab70 Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Mon, 28 Jan 2013 09:01:26 -0800 Subject: 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 Signed-off-by: David Hendricks Reviewed-on: http://review.coreboot.org/2204 Reviewed-by: Peter Stuge Tested-by: build bot (Jenkins) --- src/cpu/samsung/exynos5250/exynos_cache.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/cpu') 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 -- cgit v1.2.3