diff options
author | Hirokazu Takata <takata@linux-m32r.org> | 2005-06-21 20:16:14 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-21 22:07:30 -0400 |
commit | 934bb7f88eb398f62314fa63ba72ac6dcd21192a (patch) | |
tree | 128dcf7fd138a8f9b340c776c5acc501cd913f0a /drivers/pcmcia/m32r_cfc.h | |
parent | 6f973b001a9b511900fb73d816adf77d8755838c (diff) |
[PATCH] m32r: Update m32r_cfc.[ch] to support Mappi-III platform
This patch is for the M32R CF/PCMCIA drivers to support a new platform,
Mappi-III evaluation board.
Signed-off-by: Mamoru Sakugawa <sakugawa@linux-m32r.org>
Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/pcmcia/m32r_cfc.h')
-rw-r--r-- | drivers/pcmcia/m32r_cfc.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/pcmcia/m32r_cfc.h b/drivers/pcmcia/m32r_cfc.h index 17c1db7ae155..8146e3bee2e8 100644 --- a/drivers/pcmcia/m32r_cfc.h +++ b/drivers/pcmcia/m32r_cfc.h | |||
@@ -71,11 +71,15 @@ | |||
71 | 71 | ||
72 | #define CFC_IOPORT_BASE 0x1000 | 72 | #define CFC_IOPORT_BASE 0x1000 |
73 | 73 | ||
74 | #if !defined(CONFIG_PLAT_USRV) | 74 | #if defined(CONFIG_PLAT_MAPPI3) |
75 | #define CFC_ATTR_MAPBASE 0x14014000 | ||
76 | #define CFC_IO_MAPBASE_BYTE 0xb4012000 | ||
77 | #define CFC_IO_MAPBASE_WORD 0xb4002000 | ||
78 | #elif !defined(CONFIG_PLAT_USRV) | ||
75 | #define CFC_ATTR_MAPBASE 0x0c014000 | 79 | #define CFC_ATTR_MAPBASE 0x0c014000 |
76 | #define CFC_IO_MAPBASE_BYTE 0xac012000 | 80 | #define CFC_IO_MAPBASE_BYTE 0xac012000 |
77 | #define CFC_IO_MAPBASE_WORD 0xac002000 | 81 | #define CFC_IO_MAPBASE_WORD 0xac002000 |
78 | #else /* CONFIG_PLAT_USRV */ | 82 | #else |
79 | #define CFC_ATTR_MAPBASE 0x04014000 | 83 | #define CFC_ATTR_MAPBASE 0x04014000 |
80 | #define CFC_IO_MAPBASE_BYTE 0xa4012000 | 84 | #define CFC_IO_MAPBASE_BYTE 0xa4012000 |
81 | #define CFC_IO_MAPBASE_WORD 0xa4002000 | 85 | #define CFC_IO_MAPBASE_WORD 0xa4002000 |