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/export/config/archosrecorder.h | 2 +- firmware/export/imx31l.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware/export') diff --git a/firmware/export/config/archosrecorder.h b/firmware/export/config/archosrecorder.h index f64dd3cf8d..be7c872b0e 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 7cb452d3cb..ca4ab0c019 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) -- cgit v1.2.3