board: ti: am62x: Account for DDR size fixups if ECC is enabled
authorGeorgi Vlaev <g-vlaev@ti.com>
Tue, 14 Jun 2022 14:45:33 +0000 (17:45 +0300)
committerTom Rini <trini@konsulko.com>
Wed, 6 Jul 2022 18:30:08 +0000 (14:30 -0400)
commit4c092bb306b0443a7386fef8d7c20cf3aa52f54c
treed4216186a430bb8c83ac82810368fbea52a6618e
parent249e9f3d1966e55a2f3cf56e5b9700990bd72cef
board: ti: am62x: Account for DDR size fixups if ECC is enabled

Call into k3-ddrss driver to fixup device tree and resize
the available amount of DDR if ECC is enabled.

A second 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: Georgi Vlaev <g-vlaev@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
board/ti/am62x/evm.c