From: Haavard Skinnemoen Date: Fri, 1 Aug 2008 15:06:01 +0000 (+0200) Subject: avr32: Reduce DataFlash bus speed to 8 MHz on ATNGW100 X-Git-Tag: v2.6.27-rc3~63^2~1 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fe9497e77acbca5205d48a620c80e5de1ab47b4;p=linux-2.6 avr32: Reduce DataFlash bus speed to 8 MHz on ATNGW100 Doing this in combination with "atmel_spi: fix hang due to missed interrupt" appears to eliminate the overruns I'm seeing when using JFFS2-on-DataFlash as /usr filesystem on the ATNGW100. Signed-off-by: Haavard Skinnemoen --- diff --git a/arch/avr32/boards/atngw100/setup.c b/arch/avr32/boards/atngw100/setup.c index 670c87b2db..b8286f1ce8 100644 --- a/arch/avr32/boards/atngw100/setup.c +++ b/arch/avr32/boards/atngw100/setup.c @@ -47,7 +47,7 @@ static struct eth_platform_data __initdata eth_data[2]; static struct spi_board_info spi0_board_info[] __initdata = { { .modalias = "mtd_dataflash", - .max_speed_hz = 10000000, + .max_speed_hz = 8000000, .chip_select = 0, }, };