aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-k3
diff options
context:
space:
mode:
authorChristian Gmeiner2023-03-28 16:13:14 +0200
committerTom Rini2023-04-24 13:18:49 -0400
commitc0c56f64b301a4cf28b923f14f85a054d1e21ad1 (patch)
tree62d981a576bc65234f7dc90c4e9d3102b85da582 /arch/arm/mach-k3
parent77df85c48537faade5648b314baeff2259787ee8 (diff)
arm: mach-k3: am642: move do_dt_magic() after sysfw loading
Makes it possible to use e.g mcu_spi0 for custom board detection. Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-by: Bryan Brattlof <bb@ti.com>
Diffstat (limited to 'arch/arm/mach-k3')
-rw-r--r--arch/arm/mach-k3/am642_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-k3/am642_init.c b/arch/arm/mach-k3/am642_init.c
index 5d53358cf26..0c295e7fe28 100644
--- a/arch/arm/mach-k3/am642_init.c
+++ b/arch/arm/mach-k3/am642_init.c
@@ -183,8 +183,6 @@ void board_init_f(ulong dummy)
preloader_console_init();
- do_dt_magic();
-
#if defined(CONFIG_K3_LOAD_SYSFW)
/*
* Process pinctrl for serial3 a.k.a. MAIN UART1 module and continue
@@ -211,6 +209,8 @@ void board_init_f(ulong dummy)
/* Output System Firmware version info */
k3_sysfw_print_ver();
+ do_dt_magic();
+
#if defined(CONFIG_ESM_K3)
/* Probe/configure ESM0 */
ret = uclass_get_device_by_name(UCLASS_MISC, "esm@420000", &dev);