]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/blackfin/mach-bf527/boards/ezbrd.c
Blackfin arch: Fix bug - Run "reboot" hangs bf518-ezbrd
[linux-2.6-omap-h63xx.git] / arch / blackfin / mach-bf527 / boards / ezbrd.c
index 0314bd3355eba4a76123c21ad2b51b625c5e324b..521b25363815513ccf6aa4b532da95df9f72f5e7 100644 (file)
@@ -784,7 +784,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)