diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-10-15 00:13:29 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-10-22 03:48:27 -0400 |
commit | 3d6437b35d68836b6ec4d45a24dfdafc61a27a84 (patch) | |
tree | d0c4eb6f11fc9f6c5317c6b3a348711ee2c5ec8f /arch/blackfin/mach-bf548 | |
parent | d4429f608abde89e8bc1e24b43cd503feb95c496 (diff) |
Blackfin: punt short SPI MMR bit names
Now that the common header defines everything and the SPI drivers are
using it, we can drop these duplicated global namespace polluters.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf548')
-rw-r--r-- | arch/blackfin/mach-bf548/include/mach/defBF54x_base.h | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/arch/blackfin/mach-bf548/include/mach/defBF54x_base.h b/arch/blackfin/mach-bf548/include/mach/defBF54x_base.h index 7866197f5485..35707b17020e 100644 --- a/arch/blackfin/mach-bf548/include/mach/defBF54x_base.h +++ b/arch/blackfin/mach-bf548/include/mach/defBF54x_base.h | |||
@@ -2061,56 +2061,6 @@ | |||
2061 | #define LOW_EVEN 0xff0000 /* Lower Limit for Even Bytes (Luma) */ | 2061 | #define LOW_EVEN 0xff0000 /* Lower Limit for Even Bytes (Luma) */ |
2062 | #define HIGH_EVEN 0xff000000 /* Upper Limit for Even Bytes (Luma) */ | 2062 | #define HIGH_EVEN 0xff000000 /* Upper Limit for Even Bytes (Luma) */ |
2063 | 2063 | ||
2064 | /* Bit masks for SPIx_BAUD */ | ||
2065 | |||
2066 | #define SPI_BAUD 0xffff /* Baud Rate */ | ||
2067 | |||
2068 | /* Bit masks for SPIx_CTL */ | ||
2069 | |||
2070 | #define SPE 0x4000 /* SPI Enable */ | ||
2071 | #define WOM 0x2000 /* Write Open Drain Master */ | ||
2072 | #define MSTR 0x1000 /* Master Mode */ | ||
2073 | #define CPOL 0x800 /* Clock Polarity */ | ||
2074 | #define CPHA 0x400 /* Clock Phase */ | ||
2075 | #define LSBF 0x200 /* LSB First */ | ||
2076 | #define SIZE 0x100 /* Size of Words */ | ||
2077 | #define EMISO 0x20 /* Enable MISO Output */ | ||
2078 | #define PSSE 0x10 /* Slave-Select Enable */ | ||
2079 | #define GM 0x8 /* Get More Data */ | ||
2080 | #define SZ 0x4 /* Send Zero */ | ||
2081 | #define TIMOD 0x3 /* Transfer Initiation Mode */ | ||
2082 | |||
2083 | /* Bit masks for SPIx_FLG */ | ||
2084 | |||
2085 | #define FLS1 0x2 /* Slave Select Enable 1 */ | ||
2086 | #define FLS2 0x4 /* Slave Select Enable 2 */ | ||
2087 | #define FLS3 0x8 /* Slave Select Enable 3 */ | ||
2088 | #define FLG1 0x200 /* Slave Select Value 1 */ | ||
2089 | #define FLG2 0x400 /* Slave Select Value 2 */ | ||
2090 | #define FLG3 0x800 /* Slave Select Value 3 */ | ||
2091 | |||
2092 | /* Bit masks for SPIx_STAT */ | ||
2093 | |||
2094 | #define TXCOL 0x40 /* Transmit Collision Error */ | ||
2095 | #define RXS 0x20 /* RDBR Data Buffer Status */ | ||
2096 | #define RBSY 0x10 /* Receive Error */ | ||
2097 | #define TXS 0x8 /* TDBR Data Buffer Status */ | ||
2098 | #define TXE 0x4 /* Transmission Error */ | ||
2099 | #define MODF 0x2 /* Mode Fault Error */ | ||
2100 | #define SPIF 0x1 /* SPI Finished */ | ||
2101 | |||
2102 | /* Bit masks for SPIx_TDBR */ | ||
2103 | |||
2104 | #define TDBR 0xffff /* Transmit Data Buffer */ | ||
2105 | |||
2106 | /* Bit masks for SPIx_RDBR */ | ||
2107 | |||
2108 | #define RDBR 0xffff /* Receive Data Buffer */ | ||
2109 | |||
2110 | /* Bit masks for SPIx_SHADOW */ | ||
2111 | |||
2112 | #define SHADOW 0xffff /* RDBR Shadow */ | ||
2113 | |||
2114 | /* ************************************************ */ | 2064 | /* ************************************************ */ |
2115 | /* The TWI bit masks fields are from the ADSP-BF538 */ | 2065 | /* The TWI bit masks fields are from the ADSP-BF538 */ |
2116 | /* and they have not been verified as the final */ | 2066 | /* and they have not been verified as the final */ |