[PATCH] mx6sabresd: Remove unneeded checkboard()

Peng Fan peng.fan at nxp.com
Tue Dec 15 02:46:25 CET 2020


> Subject: [PATCH] mx6sabresd: Remove unneeded checkboard()
> 
> After the conversion to device tree the board information becomes
> redundant:
> 
> Model: Freescale i.MX6 Quad Plus SABRE Smart Device Board
> Board: MX6-SabreSD
> 
> Remove the printing of the board information.
> 
> Signed-off-by: Fabio Estevam <festevam at gmail.com>
> ---
>  board/freescale/mx6sabresd/mx6sabresd.c | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/board/freescale/mx6sabresd/mx6sabresd.c
> b/board/freescale/mx6sabresd/mx6sabresd.c
> index 0d343da519fd..9a176f471182 100644
> --- a/board/freescale/mx6sabresd/mx6sabresd.c
> +++ b/board/freescale/mx6sabresd/mx6sabresd.c
> @@ -575,12 +575,6 @@ int board_late_init(void)
>  	return 0;
>  }
> 
> -int checkboard(void)
> -{
> -	puts("Board: MX6-SabreSD\n");
> -	return 0;
> -}
> -
>  #ifdef CONFIG_SPL_BUILD
>  #include <asm/arch/mx6-ddr.h>
>  #include <spl.h>
> --

Reviewed-by: Peng Fan <peng.fan at nxp.com>


More information about the U-Boot mailing list