|
@@ -282,7 +282,7 @@ void reset_cpu(ulong addr)
|
|
|
/* sun5i sometimes gets stuck without this */
|
|
|
writel(WDT_MODE_RESET_EN | WDT_MODE_EN, &wdog->mode);
|
|
|
}
|
|
|
-#elif defined(CONFIG_SUNXI_GEN_SUN6I)
|
|
|
+#elif defined(CONFIG_SUNXI_GEN_SUN6I) || defined(CONFIG_MACH_SUN50I_H6)
|
|
|
static const struct sunxi_wdog *wdog =
|
|
|
((struct sunxi_timer_reg *)SUNXI_TIMER_BASE)->wdog;
|
|
|
|