summaryrefslogtreecommitdiff
path: root/recipes/linux/linux-2.6.18/ngw100-change-spi-clock-on-dataflash.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/linux/linux-2.6.18/ngw100-change-spi-clock-on-dataflash.patch')
-rw-r--r--recipes/linux/linux-2.6.18/ngw100-change-spi-clock-on-dataflash.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/linux/linux-2.6.18/ngw100-change-spi-clock-on-dataflash.patch b/recipes/linux/linux-2.6.18/ngw100-change-spi-clock-on-dataflash.patch
new file mode 100644
index 0000000000..af1228faa7
--- /dev/null
+++ b/recipes/linux/linux-2.6.18/ngw100-change-spi-clock-on-dataflash.patch
@@ -0,0 +1,13 @@
+Index: linux-2.6.18/arch/avr32/boards/atngw/setup.c
+===================================================================
+--- linux-2.6.18.orig/arch/avr32/boards/atngw/setup.c 2006-12-19 14:15:02.000000000 +0100
++++ linux-2.6.18/arch/avr32/boards/atngw/setup.c 2006-12-19 14:15:11.000000000 +0100
+@@ -29,7 +29,7 @@
+ {
+ .modalias = "mtd_dataflash",
+ .controller_data = (void *)GPIO_PIN_PA(3),
+- .max_speed_hz = 66000000,
++ .max_speed_hz = 10000000,
+ .bus_num = 0,
+ .chip_select = 0,
+ },