Blackfin arch: Fix bug - Run "reboot" hangs bf518-ezbrd
[linux-2.6.git] / arch / blackfin / mach-bf537 / boards / stamp.c
index d812e25..447d6d4 100644 (file)
@@ -1307,7 +1307,7 @@ void native_machine_restart(char *cmd)
 {
        /* workaround reboot hang when booting from SPI */
        if ((bfin_read_SYSCR() & 0x7) == 0x3)
-               bfin_gpio_reset_spi0_ssel1();
+               bfin_reset_boot_spi_cs(P_DEFAULT_BOOT_SPI_CS);
 }
 
 /*