avr32: Reduce DataFlash bus speed to 8 MHz on ATNGW100
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Fri, 1 Aug 2008 15:06:01 +0000 (17:06 +0200)
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Fri, 8 Aug 2008 10:44:41 +0000 (12:44 +0200)
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 <haavard.skinnemoen@atmel.com>
arch/avr32/boards/atngw100/setup.c

index 670c87b2db121b5506901fce7b2c5d94055836f9..b8286f1ce854ada7c5cf4750732da32c0305a46a 100644 (file)
@@ -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,
        },
 };