]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[AVR32] Implement at32_add_device_cf()
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Mon, 22 Oct 2007 16:32:14 +0000 (18:32 +0200)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Tue, 23 Oct 2007 09:20:05 +0000 (11:20 +0200)
commiteaf5f925a31973e2fdc50c785665b90ff444eceb
tree68cfd362cc740aebe06a857a96b80d5446d4467a
parent2042c1c4e7a5e3b69ff3c3c5db6bf6416abd8b24
[AVR32] Implement at32_add_device_cf()

Implement at32_add_device_cf() which will add a platform_device for
the at32_cf driver (not merged yet). Separate out most of the
at32_add_device_ide() code and use it to implement
at32_add_device_cf() as well.

This changes the API in the following ways:
  * The board code must initialize data->cs to the chipselect ID to
    use before calling any of these functions.
  * The board code must use GPIO_PIN_NONE to indicate unused CF pins.

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