summaryrefslogtreecommitdiff
path: root/drivers/ddr/imx/imx8m/ddrphy_utils.c
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2022-05-06 11:05:14 +0200
committerStefan Roese <sr@denx.de>2022-05-16 11:31:34 +0200
commit5bb2c550b11eb087437740b2a0d1fe780be5aec3 (patch)
treedaa5d2eb1e8cd948b25a23f073386013a5a07b3a /drivers/ddr/imx/imx8m/ddrphy_utils.c
parent948da7773e340fe76d4d1b9c635d724bf8661d30 (diff)
arm: mvebu: Move internal registers in arch_very_early_init() function
Moving of internal registers from INTREG_BASE_ADDR_REG to SOC_REGS_PHY_BASE needs to be done very early, prior calling any function which may touch internal registers, like debug_uart_init(). So do it earlier in arch_very_early_init() instead of arch_cpu_init(). Movement is done in proper U-Boot, not in SPL. SPL may return to bootrom and bootrom requires internal registers at (old) expected location. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/ddr/imx/imx8m/ddrphy_utils.c')
0 files changed, 0 insertions, 0 deletions