]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/blackfin/mach-bf527/boards/ezkit.c
Blackfin arch: Fix bug - Run "reboot" hangs bf518-ezbrd
[linux-2.6-omap-h63xx.git] / arch / blackfin / mach-bf527 / boards / ezkit.c
index 9454fb7b18c3e4d403f5fb09acbfb38b4f682fa8..60fd9743ebc12be9554c6751653ba4558d90685d 100644 (file)
@@ -1068,7 +1068,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);
 }
 
 void bfin_get_ether_addr(char *addr)