diff options
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 |