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/export | |
| parent | 35bcdef1441519bb66a77b675013309ef39e9eec (diff) | |
| download | rockbox-5d849a963e562d1996c20cd72228835276288141.zip rockbox-5d849a963e562d1996c20cd72228835276288141.tar.gz rockbox-5d849a963e562d1996c20cd72228835276288141.tar.bz2 rockbox-5d849a963e562d1996c20cd72228835276288141.tar.xz | |
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/export')
| -rw-r--r-- | firmware/export/config/archosrecorder.h | 2 | ||||
| -rw-r--r-- | firmware/export/imx31l.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/config/archosrecorder.h b/firmware/export/config/archosrecorder.h index f64dd3c..be7c872 100644 --- a/firmware/export/config/archosrecorder.h +++ b/firmware/export/config/archosrecorder.h @@ -80,7 +80,7 @@ #define BATTERY_CAPACITY_INC 50 /* capacity increment */ #define BATTERY_TYPES_COUNT 1 /* only one type */ -#if MEM < 8 +#if MEMORYSIZE < 8 #define CURRENT_NORMAL 145 /* usual current in mA */ #else #define CURRENT_NORMAL 145 *100 / 122 /* assuming 192 kbps, the running time is 22% longer with 8MB */ diff --git a/firmware/export/imx31l.h b/firmware/export/imx31l.h index 7cb452d..ca4ab0c 100644 --- a/firmware/export/imx31l.h +++ b/firmware/export/imx31l.h @@ -28,7 +28,7 @@ #define REG32_PTR_T volatile unsigned long * /* Place in the section with the framebuffer */ -#define TTB_BASE_ADDR (CSD0_BASE_ADDR + (MEM*0x100000) - TTB_SIZE) +#define TTB_BASE_ADDR (CSD0_BASE_ADDR + (MEMORYSIZE*0x100000) - TTB_SIZE) #define TTB_SIZE (0x4000) #define IRAM_SIZE (0x4000) #define TTB_BASE ((unsigned long *)TTB_BASE_ADDR) |