mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
add 'reboot' fix patch for H6
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
From 82fa50eadf11f01e6315f5e2c2a29845e2a516b8 Mon Sep 17 00:00:00 2001
|
||||
From: Ondrej Jirman <megous@megous.com>
|
||||
Date: Mon, 8 Apr 2019 03:49:26 +0200
|
||||
Subject: [PATCH] Fix reset issue on H6 by using R_WDOG
|
||||
|
||||
Inspired by froezuses patch here:
|
||||
|
||||
https://forum.armbian.com/topic/9833-h6-famous-reboot-problem/?page=3
|
||||
|
||||
Signed-off-by: Ondrej Jirman <megous@megous.com>
|
||||
---
|
||||
plat/allwinner/sun50i_h6/include/sunxi_mmap.h | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/plat/allwinner/sun50i_h6/include/sunxi_mmap.h b/plat/allwinner/sun50i_h6/include/sunxi_mmap.h
|
||||
index f36491a8..f01745a4 100644
|
||||
--- a/plat/allwinner/sun50i_h6/include/sunxi_mmap.h
|
||||
+++ b/plat/allwinner/sun50i_h6/include/sunxi_mmap.h
|
||||
@@ -58,4 +58,7 @@
|
||||
#define SUNXI_R_UART_BASE 0x07080000
|
||||
#define SUNXI_R_PIO_BASE 0x07022000
|
||||
|
||||
+#undef SUNXI_WDOG_BASE
|
||||
+#define SUNXI_WDOG_BASE SUNXI_R_WDOG_BASE
|
||||
+
|
||||
#endif /* SUNXI_MMAP_H */
|
||||
--
|
||||
2.21.0
|
||||
|
||||
Reference in New Issue
Block a user