reboot.h 446 B

123456789101112131415161718192021
  1. /*
  2. * reboot.h - shutdown/reboot header
  3. *
  4. * Copyright 2004-2008 Analog Devices Inc.
  5. *
  6. * Licensed under the GPL-2 or later.
  7. */
  8. #ifndef __ASM_REBOOT_H__
  9. #define __ASM_REBOOT_H__
  10. /* optional board specific hooks */
  11. extern void native_machine_restart(char *cmd);
  12. extern void native_machine_halt(void);
  13. extern void native_machine_power_off(void);
  14. /* common reboot workarounds */
  15. extern void bfin_reset_boot_spi_cs(unsigned short pin);
  16. #endif