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:
Michael Hennerich 2007-10-11 00:29:49 +08:00 • committed by Bryan Wu
commit 2714d9a6d1
2 changed files with 98 additions and 0 deletions

View 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