From 5d849a963e562d1996c20cd72228835276288141 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Wed, 2 Feb 2011 17:43:32 +0000 Subject: Clean up multiple definitions of RAM size. Remove -DMEM (make) and MEM (code), use the already defined MEMORYSIZE instead. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29189 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/mips/mmu-mips.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/target/mips/mmu-mips.c') diff --git a/firmware/target/mips/mmu-mips.c b/firmware/target/mips/mmu-mips.c index 5ea1015acf..31b07409d5 100644 --- a/firmware/target/mips/mmu-mips.c +++ b/firmware/target/mips/mmu-mips.c @@ -121,7 +121,7 @@ void mmu_init(void) local_flush_tlb_all(); /* map_address(0x80000000, 0x80000000, 0x4000, K_CacheAttrC); - map_address(0x80004000, 0x80004000, MEM * 0x100000, K_CacheAttrC); + map_address(0x80004000, 0x80004000, MEMORYSIZE * 0x100000, K_CacheAttrC); */ } -- cgit v1.2.3