aboutsummaryrefslogtreecommitdiff
path: root/arch/blackfin/kernel/reboot.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin/kernel/reboot.c')
-rw-r--r--arch/blackfin/kernel/reboot.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/reboot.c b/arch/blackfin/kernel/reboot.c
index ae28aac6fec..06501a594dd 100644
--- a/arch/blackfin/kernel/reboot.c
+++ b/arch/blackfin/kernel/reboot.c
@@ -34,9 +34,11 @@ void bfin_reset(void)
while (1) {
/* initiate system soft reset with magic 0x7 */
bfin_write_SWRST(0x7);
+ bfin_read_SWRST();
asm("ssync;");
/* clear system soft reset */
bfin_write_SWRST(0);
+ bfin_read_SWRST();
asm("ssync;");
/* issue core reset */
asm("raise 1");