]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: verdin-imx8mp: add call to ft_common_board_setup
authorPhilippe Schenker <philippe.schenker@toradex.com>
Mon, 29 Aug 2022 17:59:53 +0000 (19:59 +0200)
committerStefano Babic <sbabic@denx.de>
Thu, 20 Oct 2022 15:35:51 +0000 (17:35 +0200)
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

index 783e2bd0d2521c4abe40749c34afa227e95a97a4..06f665b92c1d68eed6b34a7d2082e508ceee7dc6 100644 (file)
@@ -121,6 +121,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