aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-pxa
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2010-11-22 20:12:15 -0500
committerSebastian Andrzej Siewior <bigeasy@linutronix.de>2010-12-01 06:18:32 -0500
commit4a25605fb71f02b4f80091df91f777225a0309c5 (patch)
tree4ba532f527c3e67fa0e511030031ede6d3321145 /arch/arm/plat-pxa
parent49cbb1e0b6dcba9170e72fdf40c75fc24cadba4b (diff)
spi/pxa2xx: Use define for SSSR_TFL_MASK instead of plain numbers
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Dirk Brandewie <dirk.brandewie@gmail.com>
Diffstat (limited to 'arch/arm/plat-pxa')
-rw-r--r--arch/arm/plat-pxa/include/plat/ssp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/plat-pxa/include/plat/ssp.h b/arch/arm/plat-pxa/include/plat/ssp.h
index fe43150690ed..21c12ca80738 100644
--- a/arch/arm/plat-pxa/include/plat/ssp.h
+++ b/arch/arm/plat-pxa/include/plat/ssp.h
@@ -82,7 +82,8 @@
82#define SSSR_TFS (1 << 5) /* Transmit FIFO Service Request */ 82#define SSSR_TFS (1 << 5) /* Transmit FIFO Service Request */
83#define SSSR_RFS (1 << 6) /* Receive FIFO Service Request */ 83#define SSSR_RFS (1 << 6) /* Receive FIFO Service Request */
84#define SSSR_ROR (1 << 7) /* Receive FIFO Overrun */ 84#define SSSR_ROR (1 << 7) /* Receive FIFO Overrun */
85 85#define SSSR_TFL_MASK (0xf << 8) /* Transmit FIFO Level mask */
86#define SSSR_RFL_MASK (0xf << 12) /* Receive FIFO Level mask */
86 87
87/* extra bits in PXA255, PXA26x and PXA27x SSP ports */ 88/* extra bits in PXA255, PXA26x and PXA27x SSP ports */
88#define SSCR0_TISSP (1 << 4) /* TI Sync Serial Protocol */ 89#define SSCR0_TISSP (1 << 4) /* TI Sync Serial Protocol */