arm: socfpga: Move Stratix10 and Agilex system manager common code
[oweals/u-boot.git] / arch / arm / mach-socfpga / spl_s10.c
index caff0895aca1242c2c4da0dd482d2d8f9fb2b96f..8d96918cb456b5c01bac606cb448368a54460126 100644 (file)
@@ -53,7 +53,7 @@ void board_init_f(ulong dummy)
 #ifdef CONFIG_HW_WATCHDOG
        /* Ensure watchdog is paused when debugging is happening */
        writel(SYSMGR_WDDBG_PAUSE_ALL_CPU,
-              socfpga_get_sysmgr_addr() + SYSMGR_S10_WDDBG);
+              socfpga_get_sysmgr_addr() + SYSMGR_SOC64_WDDBG);
 
        /* Enable watchdog before initializing the HW */
        socfpga_per_reset(SOCFPGA_RESET(L4WD0), 1);