From: Emanuele Ghidoli Date: Wed, 21 May 2025 07:21:43 +0000 (+0200) Subject: arm: mach-k3: j784s4: Call do_board_detect() before DDR probing X-Git-Tag: v2025.10-rc1~118^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79ae5510a211d788b01cc5cb7f4ad15e9f5f528f;p=pandora-u-boot.git 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 --- 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)) {