[ARM] pxa: remove MMC register defines from pxa-regs.h
pxamci.h redefines the MMC registers differently so they can be used with ioremap. Remove the incompatible definitions from pxa-regs.h. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
f4b6a0a401
commit
7a2b94bc39
|
@ -1,25 +1,3 @@
|
||||||
#undef MMC_STRPCL
|
|
||||||
#undef MMC_STAT
|
|
||||||
#undef MMC_CLKRT
|
|
||||||
#undef MMC_SPI
|
|
||||||
#undef MMC_CMDAT
|
|
||||||
#undef MMC_RESTO
|
|
||||||
#undef MMC_RDTO
|
|
||||||
#undef MMC_BLKLEN
|
|
||||||
#undef MMC_NOB
|
|
||||||
#undef MMC_PRTBUF
|
|
||||||
#undef MMC_I_MASK
|
|
||||||
#undef END_CMD_RES
|
|
||||||
#undef PRG_DONE
|
|
||||||
#undef DATA_TRAN_DONE
|
|
||||||
#undef MMC_I_REG
|
|
||||||
#undef MMC_CMD
|
|
||||||
#undef MMC_ARGH
|
|
||||||
#undef MMC_ARGL
|
|
||||||
#undef MMC_RES
|
|
||||||
#undef MMC_RXFIFO
|
|
||||||
#undef MMC_TXFIFO
|
|
||||||
|
|
||||||
#define MMC_STRPCL 0x0000
|
#define MMC_STRPCL 0x0000
|
||||||
#define STOP_CLOCK (1 << 0)
|
#define STOP_CLOCK (1 << 0)
|
||||||
#define START_CLOCK (2 << 0)
|
#define START_CLOCK (2 << 0)
|
||||||
|
|
|
@ -1765,29 +1765,9 @@
|
||||||
#define SSACD_P(x) (*(((x) == 1) ? &SSACD_P1 : ((x) == 2) ? &SSACD_P2 : ((x) == 3) ? &SSACD_P3 : NULL))
|
#define SSACD_P(x) (*(((x) == 1) ? &SSACD_P1 : ((x) == 2) ? &SSACD_P2 : ((x) == 3) ? &SSACD_P3 : NULL))
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* MultiMediaCard (MMC) controller
|
* MultiMediaCard (MMC) controller - see drivers/mmc/host/pxamci.h
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define MMC_STRPCL __REG(0x41100000) /* Control to start and stop MMC clock */
|
|
||||||
#define MMC_STAT __REG(0x41100004) /* MMC Status Register (read only) */
|
|
||||||
#define MMC_CLKRT __REG(0x41100008) /* MMC clock rate */
|
|
||||||
#define MMC_SPI __REG(0x4110000c) /* SPI mode control bits */
|
|
||||||
#define MMC_CMDAT __REG(0x41100010) /* Command/response/data sequence control */
|
|
||||||
#define MMC_RESTO __REG(0x41100014) /* Expected response time out */
|
|
||||||
#define MMC_RDTO __REG(0x41100018) /* Expected data read time out */
|
|
||||||
#define MMC_BLKLEN __REG(0x4110001c) /* Block length of data transaction */
|
|
||||||
#define MMC_NOB __REG(0x41100020) /* Number of blocks, for block mode */
|
|
||||||
#define MMC_PRTBUF __REG(0x41100024) /* Partial MMC_TXFIFO FIFO written */
|
|
||||||
#define MMC_I_MASK __REG(0x41100028) /* Interrupt Mask */
|
|
||||||
#define MMC_I_REG __REG(0x4110002c) /* Interrupt Register (read only) */
|
|
||||||
#define MMC_CMD __REG(0x41100030) /* Index of current command */
|
|
||||||
#define MMC_ARGH __REG(0x41100034) /* MSW part of the current command argument */
|
|
||||||
#define MMC_ARGL __REG(0x41100038) /* LSW part of the current command argument */
|
|
||||||
#define MMC_RES __REG(0x4110003c) /* Response FIFO (read only) */
|
|
||||||
#define MMC_RXFIFO __REG(0x41100040) /* Receive FIFO (read only) */
|
|
||||||
#define MMC_TXFIFO __REG(0x41100044) /* Transmit FIFO (write only) */
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Core Clock
|
* Core Clock
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue