Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
orangepi-xunlong
GitHub Repository: orangepi-xunlong/orangepi-build
Path: blob/next/external/patch/atf/atf-sunxi64/0001-Fix-reset-issue-on-H6-by-using-R_WDOG.patch
17850 views
1
From 82fa50eadf11f01e6315f5e2c2a29845e2a516b8 Mon Sep 17 00:00:00 2001
2
From: Ondrej Jirman <[email protected]>
3
Date: Mon, 8 Apr 2019 03:49:26 +0200
4
Subject: [PATCH] Fix reset issue on H6 by using R_WDOG
5
6
Inspired by froezuses patch here:
7
8
https://forum.armbian.com/topic/9833-h6-famous-reboot-problem/?page=3
9
10
Signed-off-by: Ondrej Jirman <[email protected]>
11
---
12
plat/allwinner/sun50i_h6/include/sunxi_mmap.h | 3 +++
13
1 file changed, 3 insertions(+)
14
15
diff --git a/plat/allwinner/sun50i_h6/include/sunxi_mmap.h b/plat/allwinner/sun50i_h6/include/sunxi_mmap.h
16
index f36491a8..f01745a4 100644
17
--- a/plat/allwinner/sun50i_h6/include/sunxi_mmap.h
18
+++ b/plat/allwinner/sun50i_h6/include/sunxi_mmap.h
19
@@ -58,4 +58,7 @@
20
#define SUNXI_R_UART_BASE 0x07080000
21
#define SUNXI_R_PIO_BASE 0x07022000
22
23
+#undef SUNXI_WDOG_BASE
24
+#define SUNXI_WDOG_BASE SUNXI_R_WDOG_BASE
25
+
26
#endif /* SUNXI_MMAP_H */
27
--
28
2.21.0
29
30
31