[AVR32] Use per-controller spi_board_info structures
commit41d8ca452f523b9245704c7dd8ef290fa7b78e6b
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Fri, 16 Feb 2007 12:56:11 +0000 (16 13:56 +0100)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Fri, 16 Feb 2007 13:01:40 +0000 (16 14:01 +0100)
tree41d84a6d1a1f20e7e74893eb76bf9a2c4de5c709
parent23cebe2287474720c2eb0673581056cfb285a69f
[AVR32] Use per-controller spi_board_info structures

Set up one spi_board_info array per controller and pass this to
at32_add_device_spi so that it can set up any GPIO pins for chip
selects based on this information.

Extracted from a patch by David Brownell and adapted slightly.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
arch/avr32/boards/atstk1000/atstk1002.c
arch/avr32/mach-at32ap/at32ap7000.c
include/asm-avr32/arch-at32ap/board.h