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/arm/as3525/system-target.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/target/arm/as3525/system-target.h') diff --git a/firmware/target/arm/as3525/system-target.h b/firmware/target/arm/as3525/system-target.h index 6db16af040..7c9dcccc0c 100644 --- a/firmware/target/arm/as3525/system-target.h +++ b/firmware/target/arm/as3525/system-target.h @@ -42,7 +42,7 @@ #define AS3525_UNCACHED_ADDR(a) ((typeof(a)) ((uintptr_t)(a) + 0x10000000)) #define AS3525_PHYSICAL_ADDR(a) \ - ((typeof(a)) ((((uintptr_t)(a)) & (MEM*0x100000)) \ + ((typeof(a)) ((((uintptr_t)(a)) & (MEMORYSIZE*0x100000)) \ ? (((uintptr_t)(a)) - IRAM_ORIG) \ : ((uintptr_t)(a)))) -- cgit v1.2.3