summaryrefslogtreecommitdiff
path: root/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_usb.c
diff options
context:
space:
mode:
authorWadim Egorov <w.egorov@phytec.de>2025-01-15 10:41:29 +0100
committerTom Rini <trini@konsulko.com>2025-01-23 12:11:50 -0600
commit86f3c1cc4750e9de0ee1f44c03219b919f49365a (patch)
tree2656e6e4bfd66d4478420361f2869a2de24f3218 /arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_usb.c
parent8352727e331d16c790d0e0105f58bdfd27b227b6 (diff)
board: phytec: phycore-am62x: Add DDR size fixups if ECC is enabled
With commit 22ce56a3ebdb ("ram: k3-ddrss: Add k3_ddrss_ddr_bank_base_size_calc() to solve 'calculations restricted to 32 bits' issue") we need to provide the detected RAM size in the device tree node prio to K3 DDRSS driver probe. This is done by calling fdt_fixup_memory_banks() in do_board_detect(). After probing, call into k3-ddrss driver to fixup device tree and resize the available amount of DDR if ECC is enabled. A third fixup is required from A53 SPL to take the fixup as done from R5 SPL and apply it to DT passed to A53 U-boot, which in turn passes this to the OS. Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_usb.c')
0 files changed, 0 insertions, 0 deletions