Skip to contentSkip to conversation

board: verdin-imx8mm: add call to ft_common_board_setup

PATCH In review Philippe Schenker 3 participants 6 messages Aug 29, 2022 – Oct 21, 2022 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 board: verdin-imx8mm: add call to ft_common_board_setup

From: Philippe Schenker <[email protected]>

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")

---

 board/toradex/verdin-imx8mm/verdin-imx8mm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/toradex/verdin-imx8mm/verdin-imx8mm.c +1 -1
index 7597cd81f945..ffcb04fc31e8 100644
@@ -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
Signature · 1 line
2.37.2
#1 lore raw

PATCH 2/2 board: verdin-imx8mp: add call to ft_common_board_setup

From: Philippe Schenker <[email protected]>

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")

---

 board/toradex/verdin-imx8mp/verdin-imx8mp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/toradex/verdin-imx8mp/verdin-imx8mp.c +1 -1
index e3c1a1201daa..086de96cf2c7 100644
@@ -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
Signature · 1 line
2.37.2
Acked-by on v1 2/2
#2 lore raw

Re: [PATCH 2/2] board: verdin-imx8mp: add call to ft_common_board_setup

Quoted 11 lines · Philippe Schenker

From: Philippe Schenker <[email protected]>

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")
Quoted 17 lines

---

 board/toradex/verdin-imx8mp/verdin-imx8mp.c | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
board/toradex/verdin-imx8mp/verdin-imx8mp.c +1 -1
index e3c1a1201daa..086de96cf2c7 100644
@@ -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
#3 lore raw

PATCH 2/2 board: verdin-imx8mp: add call to ft_common_board_setup

In reply to Philippe Schenker
Quoted 9 lines

From: Philippe Schenker <[email protected]> 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")

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
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: [email protected]
=====================================================================
Acked-by on v1 1/2
#4 lore raw
In reply to Philippe Schenker
Quoted 11 lines · Philippe Schenker

From: Philippe Schenker <[email protected]>

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")
Quoted 17 lines

---

 board/toradex/verdin-imx8mm/verdin-imx8mm.c | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
board/toradex/verdin-imx8mm/verdin-imx8mm.c +1 -1
index 7597cd81f945..ffcb04fc31e8 100644
@@ -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
#5 lore raw

PATCH 1/2 board: verdin-imx8mm: add call to ft_common_board_setup

In reply to Philippe Schenker
Quoted 9 lines

From: Philippe Schenker <[email protected]> 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")

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
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: [email protected]
=====================================================================