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

Marcel Ziswiler marcel.ziswiler at toradex.com
Fri Sep 23 16:08:36 CEST 2022


On Mon, 2022-08-29 at 19:59 +0200, Philippe Schenker wrote:
> From: Philippe Schenker <philippe.schenker at 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 at toradex.com>

Acked-by: Marcel Ziswiler <marcel.ziswiler at 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


More information about the U-Boot mailing list