forked from luck/tmp_suning_uos_patched
b52dae3139
[Mike Frysinger <vapier.adi@gmail.com>: - setup P_DEFAULT_BOOT_SPI_CS for every arch based on the default bootrom behavior and convert all our boards to it - revert previous anomaly change ... bf51x is not affected by anomaly 05000353] Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
21 lines
446 B
C
21 lines
446 B
C
/*
|
|
* reboot.h - shutdown/reboot header
|
|
*
|
|
* Copyright 2004-2008 Analog Devices Inc.
|
|
*
|
|
* Licensed under the GPL-2 or later.
|
|
*/
|
|
|
|
#ifndef __ASM_REBOOT_H__
|
|
#define __ASM_REBOOT_H__
|
|
|
|
/* optional board specific hooks */
|
|
extern void native_machine_restart(char *cmd);
|
|
extern void native_machine_halt(void);
|
|
extern void native_machine_power_off(void);
|
|
|
|
/* common reboot workarounds */
|
|
extern void bfin_reset_boot_spi_cs(unsigned short pin);
|
|
|
|
#endif
|