u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] board: verdin-imx8mm: add call to ft_common_board_setup
@ 2022-08-29 17:59 Philippe Schenker
  2022-08-29 17:59 ` [PATCH 2/2] board: verdin-imx8mp: " Philippe Schenker
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Philippe Schenker @ 2022-08-29 17:59 UTC (permalink / raw)
  To: u-boot, Marcel Ziswiler; +Cc: Philippe Schenker

From: Philippe Schenker <philippe.schenker@toradex.com>

With this call the following attributes get set to the device-tree
and are then accessible from linux in /proc/device-tree/

serial-number: The serial number that is stored in config-block
toradex,board-rev: The version of the module (e.g. V1.1A)
toradex,product-id: The SKU number of the module running

Fixes: commit 14d5aeff776b ("board: toradex: Add Verdin iMX8M Mini support")
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
---

 board/toradex/verdin-imx8mm/verdin-imx8mm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/toradex/verdin-imx8mm/verdin-imx8mm.c b/board/toradex/verdin-imx8mm/verdin-imx8mm.c
index 7597cd81f945..ffcb04fc31e8 100644
--- a/board/toradex/verdin-imx8mm/verdin-imx8mm.c
+++ b/board/toradex/verdin-imx8mm/verdin-imx8mm.c
@@ -128,6 +128,6 @@ int board_phys_sdram_size(phys_size_t *size)
 #if defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP)
 int ft_board_setup(void *blob, struct bd_info *bd)
 {
-	return 0;
+	return ft_common_board_setup(blob, bd);
 }
 #endif
-- 
2.37.2


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

* [PATCH 2/2] board: verdin-imx8mp: add call to ft_common_board_setup
  2022-08-29 17:59 [PATCH 1/2] board: verdin-imx8mm: add call to ft_common_board_setup Philippe Schenker
@ 2022-08-29 17:59 ` Philippe Schenker
  2022-09-23 14:09   ` Marcel Ziswiler
  2022-10-21 11:41   ` sbabic
  2022-09-23 14:08 ` [PATCH 1/2] board: verdin-imx8mm: " Marcel Ziswiler
  2022-10-21 11:43 ` sbabic
  2 siblings, 2 replies; 6+ messages in thread
From: Philippe Schenker @ 2022-08-29 17:59 UTC (permalink / raw)
  To: u-boot, Marcel Ziswiler; +Cc: Philippe Schenker

From: Philippe Schenker <philippe.schenker@toradex.com>

With this call the following attributes get set to the device-tree
and are then accessible from linux in /proc/device-tree/

serial-number: The serial number that is stored in config-block
toradex,board-rev: The version of the module (e.g. V1.1A)
toradex,product-id: The SKU number of the module runnin

Fixes: commit 2bc2f817cea7 ("board: toradex: add verdin imx8m plus support")
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>

---

 board/toradex/verdin-imx8mp/verdin-imx8mp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/toradex/verdin-imx8mp/verdin-imx8mp.c b/board/toradex/verdin-imx8mp/verdin-imx8mp.c
index e3c1a1201daa..086de96cf2c7 100644
--- a/board/toradex/verdin-imx8mp/verdin-imx8mp.c
+++ b/board/toradex/verdin-imx8mp/verdin-imx8mp.c
@@ -124,6 +124,6 @@ int board_late_init(void)
 #if IS_ENABLED(CONFIG_OF_LIBFDT) && IS_ENABLED(CONFIG_OF_BOARD_SETUP)
 int ft_board_setup(void *blob, struct bd_info *bd)
 {
-	return 0;
+	return ft_common_board_setup(blob, bd);
 }
 #endif
-- 
2.37.2


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

* Re: [PATCH 1/2] board: verdin-imx8mm: add call to ft_common_board_setup
  2022-08-29 17:59 [PATCH 1/2] board: verdin-imx8mm: add call to ft_common_board_setup Philippe Schenker
  2022-08-29 17:59 ` [PATCH 2/2] board: verdin-imx8mp: " Philippe Schenker
@ 2022-09-23 14:08 ` Marcel Ziswiler
  2022-10-21 11:43 ` sbabic
  2 siblings, 0 replies; 6+ messages in thread
From: Marcel Ziswiler @ 2022-09-23 14:08 UTC (permalink / raw)
  To: dev, u-boot; +Cc: Philippe Schenker, sbabic

On Mon, 2022-08-29 at 19:59 +0200, Philippe Schenker wrote:
> From: Philippe Schenker <philippe.schenker@toradex.com>
> 
> With this call the following attributes get set to the device-tree
> and are then accessible from linux in /proc/device-tree/
> 
> serial-number: The serial number that is stored in config-block
> toradex,board-rev: The version of the module (e.g. V1.1A)
> toradex,product-id: The SKU number of the module running
> 
> Fixes: commit 14d5aeff776b ("board: toradex: Add Verdin iMX8M Mini support")
> Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>

Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>

> ---
> 
>  board/toradex/verdin-imx8mm/verdin-imx8mm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/board/toradex/verdin-imx8mm/verdin-imx8mm.c b/board/toradex/verdin-imx8mm/verdin-imx8mm.c
> index 7597cd81f945..ffcb04fc31e8 100644
> --- a/board/toradex/verdin-imx8mm/verdin-imx8mm.c
> +++ b/board/toradex/verdin-imx8mm/verdin-imx8mm.c
> @@ -128,6 +128,6 @@ int board_phys_sdram_size(phys_size_t *size)
>  #if defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP)
>  int ft_board_setup(void *blob, struct bd_info *bd)
>  {
> -       return 0;
> +       return ft_common_board_setup(blob, bd);
>  }
>  #endif

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

* Re: [PATCH 2/2] board: verdin-imx8mp: add call to ft_common_board_setup
  2022-08-29 17:59 ` [PATCH 2/2] board: verdin-imx8mp: " Philippe Schenker
@ 2022-09-23 14:09   ` Marcel Ziswiler
  2022-10-21 11:41   ` sbabic
  1 sibling, 0 replies; 6+ messages in thread
From: Marcel Ziswiler @ 2022-09-23 14:09 UTC (permalink / raw)
  To: dev, u-boot; +Cc: Philippe Schenker, sbabic

On Mon, 2022-08-29 at 19:59 +0200, Philippe Schenker wrote:
> From: Philippe Schenker <philippe.schenker@toradex.com>
> 
> With this call the following attributes get set to the device-tree
> and are then accessible from linux in /proc/device-tree/
> 
> serial-number: The serial number that is stored in config-block
> toradex,board-rev: The version of the module (e.g. V1.1A)
> toradex,product-id: The SKU number of the module runnin
> 
> Fixes: commit 2bc2f817cea7 ("board: toradex: add verdin imx8m plus support")
> Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>

Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>

> ---
> 
>  board/toradex/verdin-imx8mp/verdin-imx8mp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/board/toradex/verdin-imx8mp/verdin-imx8mp.c b/board/toradex/verdin-imx8mp/verdin-imx8mp.c
> index e3c1a1201daa..086de96cf2c7 100644
> --- a/board/toradex/verdin-imx8mp/verdin-imx8mp.c
> +++ b/board/toradex/verdin-imx8mp/verdin-imx8mp.c
> @@ -124,6 +124,6 @@ int board_late_init(void)
>  #if IS_ENABLED(CONFIG_OF_LIBFDT) && IS_ENABLED(CONFIG_OF_BOARD_SETUP)
>  int ft_board_setup(void *blob, struct bd_info *bd)
>  {
> -       return 0;
> +       return ft_common_board_setup(blob, bd);
>  }
>  #endif

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

* [PATCH 2/2] board: verdin-imx8mp: add call to ft_common_board_setup
  2022-08-29 17:59 ` [PATCH 2/2] board: verdin-imx8mp: " Philippe Schenker
  2022-09-23 14:09   ` Marcel Ziswiler
@ 2022-10-21 11:41   ` sbabic
  1 sibling, 0 replies; 6+ messages in thread
From: sbabic @ 2022-10-21 11:41 UTC (permalink / raw)
  To: Philippe Schenker, u-boot

> From: Philippe Schenker <philippe.schenker@toradex.com>
> With this call the following attributes get set to the device-tree
> and are then accessible from linux in /proc/device-tree/
> serial-number: The serial number that is stored in config-block
> toradex,board-rev: The version of the module (e.g. V1.1A)
> toradex,product-id: The SKU number of the module runnin
> Fixes: commit 2bc2f817cea7 ("board: toradex: add verdin imx8m plus support")
> Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de
=====================================================================

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

* [PATCH 1/2] board: verdin-imx8mm: add call to ft_common_board_setup
  2022-08-29 17:59 [PATCH 1/2] board: verdin-imx8mm: add call to ft_common_board_setup Philippe Schenker
  2022-08-29 17:59 ` [PATCH 2/2] board: verdin-imx8mp: " Philippe Schenker
  2022-09-23 14:08 ` [PATCH 1/2] board: verdin-imx8mm: " Marcel Ziswiler
@ 2022-10-21 11:43 ` sbabic
  2 siblings, 0 replies; 6+ messages in thread
From: sbabic @ 2022-10-21 11:43 UTC (permalink / raw)
  To: Philippe Schenker, u-boot

> From: Philippe Schenker <philippe.schenker@toradex.com>
> With this call the following attributes get set to the device-tree
> and are then accessible from linux in /proc/device-tree/
> serial-number: The serial number that is stored in config-block
> toradex,board-rev: The version of the module (e.g. V1.1A)
> toradex,product-id: The SKU number of the module running
> Fixes: commit 14d5aeff776b ("board: toradex: Add Verdin iMX8M Mini support")
> Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de
=====================================================================

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

end of thread, other threads:[~2022-10-21 11:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-29 17:59 [PATCH 1/2] board: verdin-imx8mm: add call to ft_common_board_setup Philippe Schenker
2022-08-29 17:59 ` [PATCH 2/2] board: verdin-imx8mp: " Philippe Schenker
2022-09-23 14:09   ` Marcel Ziswiler
2022-10-21 11:41   ` sbabic
2022-09-23 14:08 ` [PATCH 1/2] board: verdin-imx8mm: " Marcel Ziswiler
2022-10-21 11:43 ` sbabic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).