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/arch/armv7/include/common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/arch/armv7/include/common.h') diff --git a/src/arch/armv7/include/common.h b/src/arch/armv7/include/common.h index 5a27fc0dec..1b69e848f1 100644 --- a/src/arch/armv7/include/common.h +++ b/src/arch/armv7/include/common.h @@ -239,10 +239,10 @@ uint rd_dc_cst (void); void wr_dc_cst (uint); void wr_dc_adr (uint); int icache_status (void); -void icache_enable (void); +void icache_enable (unsigned long start, unsigned long size); void icache_disable(void); int dcache_status (void); -void dcache_enable (void); +void dcache_enable (unsigned long start, unsigned long size); void dcache_disable(void); void mmu_disable(void); ulong get_endaddr (void); -- cgit v1.2.3