summaryrefslogtreecommitdiff
path: root/board/ti/am64x/evm.c
diff options
context:
space:
mode:
authorSanthosh Kumar K <s-k6@ti.com>2024-02-21 13:07:07 +0530
committerFrancesco Dolcini <francesco.dolcini@toradex.com>2024-03-21 14:26:33 +0000
commitc8f34655fdabcc8252cb24fb5f11704403981038 (patch)
tree4d1ca2fafa5c4a6fcd890d3357aacd261926c4ea /board/ti/am64x/evm.c
parentb700c8bd92fca1d72104b7e5f94b42fd4879457d (diff)
board: ti: am6*x: evm: Fix up incorrect RAM size for AM62A and AM62P
The fixup_memory_node() does no change in AM64, AM62A and AM62P when ECC is not enabled. Instead, it causes an issue of fixing up the RAM size as 2GB instead of 4GB and 8GB for AM62A and AM62P because the fix up is done by the R5 SPL and R5 being a 32-bit processor, the gd->bd->bi_dram[bank].start and gd->bd->bi_dram[bank].size values are restricted to 32-bits. So, remove the fixup_memory_node() from spl_perform_fixups() in AM64, AM62A and AM62P's evm files. Fixes: 410888e38c7e ("board: ti: Pull redundant DDR functions to a common location and Fixup DDR size when ECC is enabled") Signed-off-by: Santhosh Kumar K <s-k6@ti.com> Reviewed-by: Neha Malcom Francis <n-francis@ti.com>
Diffstat (limited to 'board/ti/am64x/evm.c')
-rw-r--r--board/ti/am64x/evm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/board/ti/am64x/evm.c b/board/ti/am64x/evm.c
index e990ba0d43..89b7c7524a 100644
--- a/board/ti/am64x/evm.c
+++ b/board/ti/am64x/evm.c
@@ -105,8 +105,6 @@ void spl_perform_fixups(struct spl_image_info *spl_image)
{
if (IS_ENABLED(CONFIG_K3_INLINE_ECC))
fixup_ddr_driver_for_ecc(spl_image);
- else
- fixup_memory_node(spl_image);
#if CONFIG_IS_ENABLED(USB_STORAGE)
fixup_usb_boot(spl_image->fdt_addr);