blob: ae1e36329bec7c71af865d8790eb2ff3a4e29af0 [file] [log] [blame]
Michael Hennerich2714d9a2007-10-11 00:29:49 +08001/*
Graf Yangc0948d32009-01-07 23:14:39 +08002 * reboot.h - shutdown/reboot header
Michael Hennerich2714d9a2007-10-11 00:29:49 +08003 *
Graf Yangc0948d32009-01-07 23:14:39 +08004 * Copyright 2004-2008 Analog Devices Inc.
Michael Hennerich2714d9a2007-10-11 00:29:49 +08005 *
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 */
13extern void native_machine_restart(char *cmd);
14extern void native_machine_halt(void);
15extern void native_machine_power_off(void);
16
17/* common reboot workarounds */
Sonic Zhangb52dae32009-02-04 16:49:45 +080018extern void bfin_reset_boot_spi_cs(unsigned short pin);
Michael Hennerich2714d9a2007-10-11 00:29:49 +080019
20#endif