diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-12-05 21:53:09 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-12-16 15:04:49 +0100 |
commit | 8356bda519796432ec6965fe95371a2c9e1305cc (patch) | |
tree | e369f12558329e1f24f5c129fa10282d06fe8a39 /target/device/Atmel/arch-avr32/kernel-patches-2.6.27.6/linux-2.6.27.6-204-avr32-ap700x-fix-det_pin-for-nand-flash.patch | |
parent | 9459f037bf6dd3ee73b6a647cc83b6b98d4c7478 (diff) | |
download | buildroot-novena-8356bda519796432ec6965fe95371a2c9e1305cc.tar.gz buildroot-novena-8356bda519796432ec6965fe95371a2c9e1305cc.zip |
Remove the few remaining unused Atmel-specific bits
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'target/device/Atmel/arch-avr32/kernel-patches-2.6.27.6/linux-2.6.27.6-204-avr32-ap700x-fix-det_pin-for-nand-flash.patch')
-rw-r--r-- | target/device/Atmel/arch-avr32/kernel-patches-2.6.27.6/linux-2.6.27.6-204-avr32-ap700x-fix-det_pin-for-nand-flash.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/target/device/Atmel/arch-avr32/kernel-patches-2.6.27.6/linux-2.6.27.6-204-avr32-ap700x-fix-det_pin-for-nand-flash.patch b/target/device/Atmel/arch-avr32/kernel-patches-2.6.27.6/linux-2.6.27.6-204-avr32-ap700x-fix-det_pin-for-nand-flash.patch deleted file mode 100644 index 2392cbb61..000000000 --- a/target/device/Atmel/arch-avr32/kernel-patches-2.6.27.6/linux-2.6.27.6-204-avr32-ap700x-fix-det_pin-for-nand-flash.patch +++ /dev/null @@ -1,31 +0,0 @@ ---- a/arch/avr32/boards/atstk1000/atstk1002.c -+++ b/arch/avr32/boards/atstk1000/atstk1002.c -@@ -99,6 +99,7 @@ static struct mtd_partition *nand_part_i - static struct atmel_nand_data atstk1006_nand_data __initdata = { - .cle = 21, - .ale = 22, -+ .det_pin = GPIO_PIN_NONE, - .rdy_pin = GPIO_PIN_PB(30), - .enable_pin = GPIO_PIN_PB(29), - .partition_info = nand_part_info, ---- a/arch/avr32/mach-at32ap/at32ap700x.c -+++ b/arch/avr32/mach-at32ap/at32ap700x.c -@@ -1969,13 +1969,14 @@ at32_add_device_nand(unsigned int id, st - goto fail; - - hmatrix_sfr_set_bits(HMATRIX_SLAVE_EBI, HMATRIX_EBI_NAND_ENABLE); -- if (data->enable_pin) -+ -+ if (gpio_is_valid(data->enable_pin)) - at32_select_gpio(data->enable_pin, - AT32_GPIOF_OUTPUT | AT32_GPIOF_HIGH); -- if (data->rdy_pin) -- at32_select_gpio(data->rdy_pin, 0); -- if (data->det_pin) -+ if (gpio_is_valid(data->det_pin)) - at32_select_gpio(data->det_pin, 0); -+ if (gpio_is_valid(data->rdy_pin)) -+ at32_select_gpio(data->rdy_pin, 0); - - platform_device_add(pdev); - return pdev; |