aboutsummaryrefslogtreecommitdiff
path: root/drivers/ddr/marvell/a38x/ddr3_training_centralization.c
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2022-02-16 11:18:44 +0100
committerStefan Roese <sr@denx.de>2022-02-17 14:17:07 +0100
commit65375d026a59a79ff2cabf6b4ee26752b8e3b5e3 (patch)
tree2d6fe08fc8ce58d4755d15914f07607c573277c2 /drivers/ddr/marvell/a38x/ddr3_training_centralization.c
parent2fb7426cf027a9efcd05975b6f4b2968a4d54834 (diff)
arm: mvebu: a37xx: Map CCI-400 and AP BootROM address space
In function build_mem_map() prepare also mapping for CCI-400 and BootROM windows. BootROM window is 1 MB long and by default starts at address 0xfff00000. A53 AP BootROM is 16 kB long and repeats in this BootROM window 64 times. RVBAR_EL3 register is set to value 0xffff0000, so by default A53 AP BootROM is accessed via range 0xffff0000-0xffff3fff. CCI-400 window when new TF-A version is used, starts at address 0xfe000000 and when old TF-A version is used, starts at address 0xd8000000. Physical addresses are read directly from mvebu registers, so if TF-A remaps it in future (again) then it would not cause any issue for U-Boot. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/ddr/marvell/a38x/ddr3_training_centralization.c')
0 files changed, 0 insertions, 0 deletions