Files
u-boot/board
Santhosh Kumar K 71b87b5062 board: ti: Pull redundant DDR functions to a common location and Fixup DDR size when ECC is enabled
As there are few redundant functions in board/ti/*/evm.c files, pull
them to a common location of access to reuse and include the common file
to access the functions.

Call k3-ddrss driver through fixup_ddr_driver_for_ecc() to fixup the
device tree and resize the available amount of DDR, if ECC is enabled.
Otherwise, fixup the device tree using the regular
fdt_fixup_memory_banks().

Also call dram_init_banksize() after every call to
fixup_ddr_driver_for_ecc() is made so that gd->bd is populated
correctly.

Ensure that fixup_ddr_driver_for_ecc() is agnostic to the number of DDR
controllers present.

Signed-off-by: Santhosh Kumar K <s-k6@ti.com>
Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
Reviewed-by: Wadim Egorov <w.egorov@phytec.de>
(cherry picked from commit bc07851897)
2025-12-21 15:11:24 -07:00
..
2024-10-03 09:29:23 -06:00
2025-05-01 05:56:48 -06:00
2025-10-18 09:39:54 +01:00
2025-12-19 22:37:16 -07:00
2025-06-28 07:53:25 -06:00
2024-10-14 17:58:28 -06:00
2024-07-22 10:51:47 -06:00
2024-09-12 17:35:37 +02:00
2025-05-01 05:56:48 -06:00
2024-12-05 13:58:19 -07:00
2025-05-01 05:56:48 -06:00
2025-05-01 05:56:48 -06:00