summaryrefslogtreecommitdiff
path: root/board/ti/j721s2
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2024-06-06 10:04:00 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2024-06-06 10:04:00 +0200
commit495e1515f803b144f02e1e3d06b9f84cd9181cae (patch)
treec818a0b6d7406a56ea7a0aeaad63610ca9ae108a /board/ti/j721s2
parent63025855578a8319f5ac943cbcdedd71b26754c5 (diff)
parent83660642085462346fbeb410f83bc99448ec7042 (diff)
Merge tag '09.02.00.010' into toradex_ti-u-boot-2023.04
RC Release 09.02.00.010 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'board/ti/j721s2')
-rw-r--r--board/ti/j721s2/evm.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/board/ti/j721s2/evm.c b/board/ti/j721s2/evm.c
index efbd93b9b4..79130443b7 100644
--- a/board/ti/j721s2/evm.c
+++ b/board/ti/j721s2/evm.c
@@ -81,8 +81,12 @@ static void __maybe_unused detect_enable_spinand(void *blob)
void spl_perform_fixups(struct spl_image_info *spl_image)
{
detect_enable_spinand(spl_image->fdt_addr);
- if (IS_ENABLED(CONFIG_K3_INLINE_ECC))
- fixup_ddr_driver_for_ecc(spl_image);
+ if (IS_ENABLED(CONFIG_TARGET_J721S2_R5_EVM)) {
+ if (IS_ENABLED(CONFIG_K3_INLINE_ECC))
+ fixup_ddr_driver_for_ecc(spl_image);
+ } else {
+ fixup_memory_node(spl_image);
+ }
}
#endif