arm: socfpga: Move Stratix10 and Agilex system manager common code
[oweals/u-boot.git] / drivers / ddr / altera / sdram_s10.c
index 418588b4bbcca01fd4d5d86430d5bf83b2365dc7..89a895ef7e4b1e6785b30a24317b9a8bd46ff77e 100644 (file)
@@ -149,7 +149,7 @@ static int emif_reset(struct altera_sdram_platdata *plat)
 static int poll_hmc_clock_status(void)
 {
        return wait_for_bit_le32((const void *)(socfpga_get_sysmgr_addr() +
-                                SYSMGR_S10_HMC_CLK),
+                                SYSMGR_SOC64_HMC_CLK),
                                 SYSMGR_HMC_CLK_STATUS_MSK, true, 1000, false);
 }