From 79ae5510a211d788b01cc5cb7f4ad15e9f5f528f Mon Sep 17 00:00:00 2001 From: Emanuele Ghidoli Date: Wed, 21 May 2025 09:21:43 +0200 Subject: [PATCH] arm: mach-k3: j784s4: Call do_board_detect() before DDR probing Call do_board_detect() hook before the K3 DDRSS driver gets probed. It will allow boards to adjust DDR timings in do_board_detect(). Signed-off-by: Emanuele Ghidoli --- arch/arm/mach-k3/j784s4/j784s4_init.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-k3/j784s4/j784s4_init.c b/arch/arm/mach-k3/j784s4/j784s4_init.c index 787cf6261e4..4e9f823072b 100644 --- a/arch/arm/mach-k3/j784s4/j784s4_init.c +++ b/arch/arm/mach-k3/j784s4/j784s4_init.c @@ -242,6 +242,10 @@ void board_init_f(ulong dummy) int ret; k3_spl_init(); + + /* Perform board detection */ + do_board_detect(); + k3_mem_init(); if (IS_ENABLED(CONFIG_CPU_V7R) && IS_ENABLED(CONFIG_K3_AVS0)) { -- 2.47.2