mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM: stm32mp: stm32mp15x-ev1: enable deep probe
@ 2023-11-22 18:13 Ahmad Fatoum
  2023-11-23  7:26 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2023-11-22 18:13 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

The board boots fine with deep probe enabled, so enable it to eliminate
probe deferrals.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 arch/arm/boards/stm32mp15x-ev1/board.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boards/stm32mp15x-ev1/board.c b/arch/arm/boards/stm32mp15x-ev1/board.c
index 51c3bb21e992..fd58e2817b0b 100644
--- a/arch/arm/boards/stm32mp15x-ev1/board.c
+++ b/arch/arm/boards/stm32mp15x-ev1/board.c
@@ -2,6 +2,7 @@
 
 #include <bootsource.h>
 #include <common.h>
+#include <deep-probe.h>
 #include <init.h>
 #include <mach/stm32mp/bbu.h>
 
@@ -30,7 +31,7 @@ static const struct of_device_id ed1_of_match[] = {
 	{ .compatible = "st,stm32mp157c-ed1" },
 	{ /* sentinel */ },
 };
-MODULE_DEVICE_TABLE(of, ed1_of_match);
+BAREBOX_DEEP_PROBE_ENABLE(ed1_of_match);
 
 static struct driver ed1_board_driver = {
 	.name = "board-stm32mp15x-ed1",
-- 
2.39.2




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: stm32mp: stm32mp15x-ev1: enable deep probe
  2023-11-22 18:13 [PATCH] ARM: stm32mp: stm32mp15x-ev1: enable deep probe Ahmad Fatoum
@ 2023-11-23  7:26 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2023-11-23  7:26 UTC (permalink / raw)
  To: Ahmad Fatoum; +Cc: barebox

On Wed, Nov 22, 2023 at 07:13:19PM +0100, Ahmad Fatoum wrote:
> The board boots fine with deep probe enabled, so enable it to eliminate
> probe deferrals.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> ---
>  arch/arm/boards/stm32mp15x-ev1/board.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Applied, thanks

Sascha

> 
> diff --git a/arch/arm/boards/stm32mp15x-ev1/board.c b/arch/arm/boards/stm32mp15x-ev1/board.c
> index 51c3bb21e992..fd58e2817b0b 100644
> --- a/arch/arm/boards/stm32mp15x-ev1/board.c
> +++ b/arch/arm/boards/stm32mp15x-ev1/board.c
> @@ -2,6 +2,7 @@
>  
>  #include <bootsource.h>
>  #include <common.h>
> +#include <deep-probe.h>
>  #include <init.h>
>  #include <mach/stm32mp/bbu.h>
>  
> @@ -30,7 +31,7 @@ static const struct of_device_id ed1_of_match[] = {
>  	{ .compatible = "st,stm32mp157c-ed1" },
>  	{ /* sentinel */ },
>  };
> -MODULE_DEVICE_TABLE(of, ed1_of_match);
> +BAREBOX_DEEP_PROBE_ENABLE(ed1_of_match);
>  
>  static struct driver ed1_board_driver = {
>  	.name = "board-stm32mp15x-ed1",
> -- 
> 2.39.2
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-11-23  7:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-22 18:13 [PATCH] ARM: stm32mp: stm32mp15x-ev1: enable deep probe Ahmad Fatoum
2023-11-23  7:26 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox