Michael Hennerich | 2714d9a | 2007-10-11 00:29:49 +0800 | [diff] [blame] | 1 | /* |
Graf Yang | c0948d3 | 2009-01-07 23:14:39 +0800 | [diff] [blame] | 2 | * reboot.h - shutdown/reboot header |
Michael Hennerich | 2714d9a | 2007-10-11 00:29:49 +0800 | [diff] [blame] | 3 | * |
Graf Yang | c0948d3 | 2009-01-07 23:14:39 +0800 | [diff] [blame] | 4 | * Copyright 2004-2008 Analog Devices Inc. |
Michael Hennerich | 2714d9a | 2007-10-11 00:29:49 +0800 | [diff] [blame] | 5 | * |
| 6 | * Licensed under the GPL-2 or later. |
| 7 | */ |
| 8 | |
| 9 | #ifndef __ASM_REBOOT_H__ |
| 10 | #define __ASM_REBOOT_H__ |
| 11 | |
| 12 | /* optional board specific hooks */ |
| 13 | extern void native_machine_restart(char *cmd); |
| 14 | extern void native_machine_halt(void); |
| 15 | extern void native_machine_power_off(void); |
| 16 | |
| 17 | /* common reboot workarounds */ |
Sonic Zhang | b52dae3 | 2009-02-04 16:49:45 +0800 | [diff] [blame] | 18 | extern void bfin_reset_boot_spi_cs(unsigned short pin); |
Michael Hennerich | 2714d9a | 2007-10-11 00:29:49 +0800 | [diff] [blame] | 19 | |
| 20 | #endif |