From: Philippe Schenker Date: Mon, 29 Aug 2022 17:59:52 +0000 (+0200) Subject: board: verdin-imx8mm: add call to ft_common_board_setup X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=03268b2f9e67b21753580a13a10cfb8e1b27fc81;p=u-boot.git board: verdin-imx8mm: add call to ft_common_board_setup 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 Acked-by: Marcel Ziswiler --- diff --git a/board/toradex/verdin-imx8mm/verdin-imx8mm.c b/board/toradex/verdin-imx8mm/verdin-imx8mm.c index bad8833b22..55c02653da 100644 --- a/board/toradex/verdin-imx8mm/verdin-imx8mm.c +++ b/board/toradex/verdin-imx8mm/verdin-imx8mm.c @@ -125,6 +125,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