diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-11-13 16:02:41 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-11-13 16:05:03 +0100 |
commit | 8959dabdf2f8f9ce982a2c4cfe6d1652a2fb6320 (patch) | |
tree | 24b4085ac1fca3fce15880b9d936dc2f17718654 /drivers/mtd/maps/cdb89712.c | |
parent | [ARM] cdb89712,clps7500,h720x: avoid namespace clash for FLASH_* constants (diff) | |
download | linux-8959dabdf2f8f9ce982a2c4cfe6d1652a2fb6320.tar.xz linux-8959dabdf2f8f9ce982a2c4cfe6d1652a2fb6320.zip |
[ARM] cdb89712: avoid namespace clashes with SRAM_ and BOOTROM_ constants
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to '')
-rw-r--r-- | drivers/mtd/maps/cdb89712.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/drivers/mtd/maps/cdb89712.c b/drivers/mtd/maps/cdb89712.c index d7bc4299b19c..8d92d8db9a98 100644 --- a/drivers/mtd/maps/cdb89712.c +++ b/drivers/mtd/maps/cdb89712.c @@ -14,11 +14,20 @@ #include <linux/mtd/map.h> #include <linux/mtd/partitions.h> - +/* dynamic ioremap() areas */ #define FLASH_START 0x00000000 #define FLASH_SIZE 0x800000 #define FLASH_WIDTH 4 +#define SRAM_START 0x60000000 +#define SRAM_SIZE 0xc000 +#define SRAM_WIDTH 4 + +#define BOOTROM_START 0x70000000 +#define BOOTROM_SIZE 0x80 +#define BOOTROM_WIDTH 4 + + static struct mtd_info *flash_mtd; struct map_info cdb89712_flash_map = { |