commit | 3d13b805d9a5b2644506f924244685733dd2097a | [log] [tgz] |
---|---|---|
author | Andrew Davies <awdavies@google.com> | Thu Sep 10 18:42:57 2015 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Sep 10 18:42:57 2015 +0000 |
tree | c45c40f58eb93eec643d2bd16b2dfeb126392c3f | |
parent | 19398d8c268ca844a83cef2d7f6504c4ce58e440 [diff] | |
parent | fb5427d5895333c749ff7297361c638174e9624a [diff] |
Merge "WindCharger: Flush data cache to memory before system restart."
diff --git a/arch/mips/ath79/setup.c b/arch/mips/ath79/setup.c index 3c40b13..a990e85 100644 --- a/arch/mips/ath79/setup.c +++ b/arch/mips/ath79/setup.c
@@ -39,6 +39,7 @@ static void ath79_restart(char *command) { + dma_cache_wback_inv(0, ~0); ath79_device_reset_set(AR71XX_RESET_FULL_CHIP); for (;;) if (cpu_wait)