* [PATCH] arm: mach-k3: am642: move do_dt_magic() after sysfw loading
@ 2023-03-28 14:13 Christian Gmeiner
2023-04-06 9:38 ` Christian Gmeiner
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Christian Gmeiner @ 2023-03-28 14:13 UTC (permalink / raw)
To: open list; +Cc: bb, afd, Christian Gmeiner
Makes it possible to use e.g mcu_spi0 for custom board detection.
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
---
arch/arm/mach-k3/am642_init.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-k3/am642_init.c b/arch/arm/mach-k3/am642_init.c
index 96f292ea75..2478ac162b 100644
--- a/arch/arm/mach-k3/am642_init.c
+++ b/arch/arm/mach-k3/am642_init.c
@@ -185,8 +185,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
@@ -213,6 +211,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);
--
2.40.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] arm: mach-k3: am642: move do_dt_magic() after sysfw loading
2023-03-28 14:13 [PATCH] arm: mach-k3: am642: move do_dt_magic() after sysfw loading Christian Gmeiner
@ 2023-04-06 9:38 ` Christian Gmeiner
2023-04-06 19:18 ` Bryan Brattlof
2023-04-24 22:11 ` Tom Rini
2 siblings, 0 replies; 4+ messages in thread
From: Christian Gmeiner @ 2023-04-06 9:38 UTC (permalink / raw)
To: open list; +Cc: bb, afd
>
> Makes it possible to use e.g mcu_spi0 for custom board detection.
>
gentle ping
> Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
> ---
> arch/arm/mach-k3/am642_init.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-k3/am642_init.c b/arch/arm/mach-k3/am642_init.c
> index 96f292ea75..2478ac162b 100644
> --- a/arch/arm/mach-k3/am642_init.c
> +++ b/arch/arm/mach-k3/am642_init.c
> @@ -185,8 +185,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
> @@ -213,6 +211,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);
> --
> 2.40.0
>
--
greets
--
Christian Gmeiner, MSc
https://christian-gmeiner.info/privacypolicy
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arm: mach-k3: am642: move do_dt_magic() after sysfw loading
2023-03-28 14:13 [PATCH] arm: mach-k3: am642: move do_dt_magic() after sysfw loading Christian Gmeiner
2023-04-06 9:38 ` Christian Gmeiner
@ 2023-04-06 19:18 ` Bryan Brattlof
2023-04-24 22:11 ` Tom Rini
2 siblings, 0 replies; 4+ messages in thread
From: Bryan Brattlof @ 2023-04-06 19:18 UTC (permalink / raw)
To: Christian Gmeiner; +Cc: open list, afd
Hi Christian!
On March 28, 2023 thus sayeth Christian Gmeiner:
> Makes it possible to use e.g mcu_spi0 for custom board detection.
>
> Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
> ---
> arch/arm/mach-k3/am642_init.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
I had to pick up the patch from Vignesh[0] to test this out, however
this works for me.
Reviewed-by: Bryan Brattlof <bb@ti.com>
~Bryan
[0]https://lore.kernel.org/u-boot/20230406075936.2590125-1-vigneshr@ti.com/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arm: mach-k3: am642: move do_dt_magic() after sysfw loading
2023-03-28 14:13 [PATCH] arm: mach-k3: am642: move do_dt_magic() after sysfw loading Christian Gmeiner
2023-04-06 9:38 ` Christian Gmeiner
2023-04-06 19:18 ` Bryan Brattlof
@ 2023-04-24 22:11 ` Tom Rini
2 siblings, 0 replies; 4+ messages in thread
From: Tom Rini @ 2023-04-24 22:11 UTC (permalink / raw)
To: Christian Gmeiner; +Cc: open list, bb, afd
[-- Attachment #1: Type: text/plain, Size: 301 bytes --]
On Tue, Mar 28, 2023 at 04:13:14PM +0200, Christian Gmeiner wrote:
> 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>
Applied to u-boot/master, thanks!
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-04-24 22:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-28 14:13 [PATCH] arm: mach-k3: am642: move do_dt_magic() after sysfw loading Christian Gmeiner
2023-04-06 9:38 ` Christian Gmeiner
2023-04-06 19:18 ` Bryan Brattlof
2023-04-24 22:11 ` Tom Rini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.