mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
Blackfin arch: Workaround reboot bug, issue SSYNC at the start of bfin_reset
reboot failes on BF533 http://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=3500 Signed-off-by: Michael Hennerich <[email protected]> Signed-off-by: Bryan Wu <[email protected]>
This commit is contained in:
parent
4b3f058a7a
commit
2714d9a6d1
2 changed files with 98 additions and 0 deletions
20
include/asm-blackfin/reboot.h
Normal file
20
include/asm-blackfin/reboot.h
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
* include/asm-blackfin/reboot.h - shutdown/reboot header
|
||||
*
|
||||
* Copyright 2004-2007 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_gpio_reset_spi0_ssel1(void);
|
||||
|
||||
#endif
|
||||
Loading…
Reference in a new issue