aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/mach-db1x00
diff options
context:
space:
mode:
authorManuel Lauss <manuel.lauss@googlemail.com>2009-10-04 08:55:28 -0400
committerRalf Baechle <ralf@linux-mips.org>2010-02-27 06:52:51 -0500
commit27dd65ac9afabc8e67ab73f7c2f575eddbb47167 (patch)
treed8da508ceff4f2e69f8cc621a8bdebe83fef02e8 /arch/mips/include/asm/mach-db1x00
parent66213b3ccfc770704025ce9465fa3aaedde21b55 (diff)
MIPS: Alchemy: devboards: wire up new PCMCIA driver.
Register the PCMCIA driver on all boards supported by it, get rid of now-unused pcmcia macros in the board headers (and subsequently empty pb1100/pb1500 ones). Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/mach-db1x00')
-rw-r--r--arch/mips/include/asm/mach-db1x00/db1200.h15
-rw-r--r--arch/mips/include/asm/mach-db1x00/db1x00.h8
2 files changed, 0 insertions, 23 deletions
diff --git a/arch/mips/include/asm/mach-db1x00/db1200.h b/arch/mips/include/asm/mach-db1x00/db1200.h
index b7f18e1af50c..52b1d84a92c7 100644
--- a/arch/mips/include/asm/mach-db1x00/db1200.h
+++ b/arch/mips/include/asm/mach-db1x00/db1200.h
@@ -103,21 +103,6 @@ enum external_pb1200_ints {
103 DB1200_INT_END = DB1200_INT_BEGIN + 15, 103 DB1200_INT_END = DB1200_INT_BEGIN + 15,
104}; 104};
105 105
106
107/*
108 * DBAu1200 specific PCMCIA defines for drivers/pcmcia/au1000_db1x00.c
109 */
110#define PCMCIA_MAX_SOCK 1
111#define PCMCIA_NUM_SOCKS (PCMCIA_MAX_SOCK + 1)
112
113/* VPP/VCC */
114#define SET_VCC_VPP(VCC, VPP, SLOT) \
115 ((((VCC) << 2) | ((VPP) << 0)) << ((SLOT) * 8))
116
117#define BOARD_PC0_INT DB1200_PC0_INT
118#define BOARD_PC1_INT DB1200_PC1_INT
119#define BOARD_CARD_INSERTED(SOCKET) (bcsr_read(BCSR_SIGSTAT) & (1 << (8 + (2 * SOCKET))))
120
121/* NAND chip select */ 106/* NAND chip select */
122#define NAND_CS 1 107#define NAND_CS 1
123 108
diff --git a/arch/mips/include/asm/mach-db1x00/db1x00.h b/arch/mips/include/asm/mach-db1x00/db1x00.h
index cfa64297da08..a919dac525a1 100644
--- a/arch/mips/include/asm/mach-db1x00/db1x00.h
+++ b/arch/mips/include/asm/mach-db1x00/db1x00.h
@@ -45,14 +45,6 @@
45 45
46#endif 46#endif
47 47
48/* PCMCIA DBAu1x00 specific defines */
49#define PCMCIA_MAX_SOCK 1
50#define PCMCIA_NUM_SOCKS (PCMCIA_MAX_SOCK + 1)
51
52/* VPP/VCC */
53#define SET_VCC_VPP(VCC, VPP, SLOT)\
54 ((((VCC) << 2) | ((VPP) << 0)) << ((SLOT) * 8))
55
56/* 48/*
57 * NAND defines 49 * NAND defines
58 * 50 *