diff options
author | Emanuele Ghidoli <emanuele.ghidoli@toradex.com> | 2025-05-21 09:21:43 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-06-12 13:19:59 -0600 |
commit | 79ae5510a211d788b01cc5cb7f4ad15e9f5f528f (patch) | |
tree | 87812b77d598b02e543551c529e50572b64a0168 | |
parent | d142036b4cff0faaf81b8837376c8913bc87423c (diff) |
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 <emanuele.ghidoli@toradex.com>
-rw-r--r-- | arch/arm/mach-k3/j784s4/j784s4_init.c | 4 |
1 files changed, 4 insertions, 0 deletions
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)) { |