aboutsummaryrefslogtreecommitdiff
path: root/board/renesas/salvator-x/salvator-x.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/renesas/salvator-x/salvator-x.c')
-rw-r--r--board/renesas/salvator-x/salvator-x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/renesas/salvator-x/salvator-x.c b/board/renesas/salvator-x/salvator-x.c
index 00256bc1a34..746403a5c52 100644
--- a/board/renesas/salvator-x/salvator-x.c
+++ b/board/renesas/salvator-x/salvator-x.c
@@ -28,7 +28,7 @@
DECLARE_GLOBAL_DATA_PTR;
#define CPGWPCR 0xE6150904
-#define CPGWPR 0xE615090C
+#define CPGWPR 0xE6150900
#define CLK2MHZ(clk) (clk / 1000 / 1000)
void s_init(void)
@@ -40,8 +40,8 @@ void s_init(void)
writel(0xA5A5A500, &rwdt->rwtcsra);
writel(0xA5A5A500, &swdt->swtcsra);
+ writel(0x5A5AFFFF, CPGWPR);
writel(0xA5A50000, CPGWPCR);
- writel(0xFFFFFFFF, CPGWPR);
}
#define GSX_MSTP112 BIT(12) /* 3DG */