aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf533
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-08-13 00:27:31 -0400
committerMike Frysinger <vapier@gentoo.org>2009-09-16 22:10:24 -0400
commit0198b3bcaed1374f454e56e46f0e1ca1fc24e0a1 (patch)
tree883a78de3ff7c1b560ebf18cc6c78e9a7065431f /arch/blackfin/mach-bf533
parentc4baebf2683d16f24a84a99268ef5f7318905337 (diff)
Blackfin: drop board resources for dead devices (pbx/ad9960)
These hardware devices are dead and the drivers never cleaned up/merged, so punt the useless board resource info. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf533')
-rw-r--r--arch/blackfin/mach-bf533/boards/H8606.c26
-rw-r--r--arch/blackfin/mach-bf533/boards/stamp.c28
2 files changed, 0 insertions, 54 deletions
diff --git a/arch/blackfin/mach-bf533/boards/H8606.c b/arch/blackfin/mach-bf533/boards/H8606.c
index 1bd8b61e6888..30ff3c4a3abe 100644
--- a/arch/blackfin/mach-bf533/boards/H8606.c
+++ b/arch/blackfin/mach-bf533/boards/H8606.c
@@ -201,15 +201,6 @@ static struct bfin5xx_spi_chip ad1836_spi_chip_info = {
201}; 201};
202#endif 202#endif
203 203
204#if defined(CONFIG_PBX)
205static struct bfin5xx_spi_chip spi_si3xxx_chip_info = {
206 .ctl_reg = 0x1c04,
207 .enable_dma = 0,
208 .bits_per_word = 8,
209 .cs_change_per_word = 1,
210};
211#endif
212
213/* Notice: for blackfin, the speed_hz is the value of register 204/* Notice: for blackfin, the speed_hz is the value of register
214 * SPI_BAUD, not the real baudrate */ 205 * SPI_BAUD, not the real baudrate */
215static struct spi_board_info bfin_spi_board_info[] __initdata = { 206static struct spi_board_info bfin_spi_board_info[] __initdata = {
@@ -248,23 +239,6 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = {
248 }, 239 },
249#endif 240#endif
250 241
251#if defined(CONFIG_PBX)
252 {
253 .modalias = "fxs-spi",
254 .max_speed_hz = 4,
255 .bus_num = 1,
256 .chip_select = 3,
257 .controller_data = &spi_si3xxx_chip_info,
258 },
259
260 {
261 .modalias = "fxo-spi",
262 .max_speed_hz = 4,
263 .bus_num = 1,
264 .chip_select = 2,
265 .controller_data = &spi_si3xxx_chip_info,
266 },
267#endif
268}; 242};
269 243
270/* SPI (0) */ 244/* SPI (0) */
diff --git a/arch/blackfin/mach-bf533/boards/stamp.c b/arch/blackfin/mach-bf533/boards/stamp.c
index f3dc2830631c..3954baa00c64 100644
--- a/arch/blackfin/mach-bf533/boards/stamp.c
+++ b/arch/blackfin/mach-bf533/boards/stamp.c
@@ -219,15 +219,6 @@ static struct bfin5xx_spi_chip ad1836_spi_chip_info = {
219}; 219};
220#endif 220#endif
221 221
222#if defined(CONFIG_PBX)
223static struct bfin5xx_spi_chip spi_si3xxx_chip_info = {
224 .ctl_reg = 0x4, /* send zero */
225 .enable_dma = 0,
226 .bits_per_word = 8,
227 .cs_change_per_word = 1,
228};
229#endif
230
231#if defined(CONFIG_SPI_SPIDEV) || defined(CONFIG_SPI_SPIDEV_MODULE) 222#if defined(CONFIG_SPI_SPIDEV) || defined(CONFIG_SPI_SPIDEV_MODULE)
232static struct bfin5xx_spi_chip spidev_chip_info = { 223static struct bfin5xx_spi_chip spidev_chip_info = {
233 .enable_dma = 0, 224 .enable_dma = 0,
@@ -298,25 +289,6 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = {
298 }, 289 },
299#endif 290#endif
300 291
301#if defined(CONFIG_PBX)
302 {
303 .modalias = "fxs-spi",
304 .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */
305 .bus_num = 0,
306 .chip_select = 8 - CONFIG_J11_JUMPER,
307 .controller_data = &spi_si3xxx_chip_info,
308 .mode = SPI_MODE_3,
309 },
310 {
311 .modalias = "fxo-spi",
312 .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */
313 .bus_num = 0,
314 .chip_select = 8 - CONFIG_J19_JUMPER,
315 .controller_data = &spi_si3xxx_chip_info,
316 .mode = SPI_MODE_3,
317 },
318#endif
319
320#if defined(CONFIG_SPI_SPIDEV) || defined(CONFIG_SPI_SPIDEV_MODULE) 292#if defined(CONFIG_SPI_SPIDEV) || defined(CONFIG_SPI_SPIDEV_MODULE)
321 { 293 {
322 .modalias = "spidev", 294 .modalias = "spidev",