diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-02-02 17:43:32 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-02-02 17:43:32 +0000 |
commit | 5d849a963e562d1996c20cd72228835276288141 (patch) | |
tree | 8c96a2524f6c1b6d714506a8d012a9c7ded24918 /firmware/target/arm/as3525/system-target.h | |
parent | 35bcdef1441519bb66a77b675013309ef39e9eec (diff) | |
download | rockbox-5d849a963e562d1996c20cd72228835276288141.tar.gz rockbox-5d849a963e562d1996c20cd72228835276288141.zip |
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
Diffstat (limited to 'firmware/target/arm/as3525/system-target.h')
-rw-r--r-- | firmware/target/arm/as3525/system-target.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
42 | 42 | ||
43 | #define AS3525_UNCACHED_ADDR(a) ((typeof(a)) ((uintptr_t)(a) + 0x10000000)) | 43 | #define AS3525_UNCACHED_ADDR(a) ((typeof(a)) ((uintptr_t)(a) + 0x10000000)) |
44 | #define AS3525_PHYSICAL_ADDR(a) \ | 44 | #define AS3525_PHYSICAL_ADDR(a) \ |
45 | ((typeof(a)) ((((uintptr_t)(a)) & (MEM*0x100000)) \ | 45 | ((typeof(a)) ((((uintptr_t)(a)) & (MEMORYSIZE*0x100000)) \ |
46 | ? (((uintptr_t)(a)) - IRAM_ORIG) \ | 46 | ? (((uintptr_t)(a)) - IRAM_ORIG) \ |
47 | : ((uintptr_t)(a)))) | 47 | : ((uintptr_t)(a)))) |
48 | 48 | ||