[U-Boot] [PATCH 1/4] wandboard: Set fdt based on board_rev and board_name

Stefano Babic sbabic at denx.de
Tue Jul 11 10:57:00 UTC 2017


Hi Otavio, Fabio,

On 10/07/2017 22:04, Otavio Salvador wrote:
> From: Fabio Berton <fabio.berton at ossystems.com.br>
> 
> New kernel linux-wandboard version 4.1.15_1.1.0_ga changed device tree
> name adding board revision on file name. The new names are:
> 
>  - imx6dl-wandboard-revb1
>  - imx6dl-wandboard-revc1
>  - imx6q-wandboard-revb1
>  - imx6q-wandboard-revc1
> 
> This fixes the Wandboard C1 revision device tree files.
> 
> Signed-off-by: Fabio Berton <fabio.berton at ossystems.com.br>
> Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
> ---
> 
>  include/configs/wandboard.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/configs/wandboard.h b/include/configs/wandboard.h
> index 2a6c6fbb70..4291be4068 100644
> --- a/include/configs/wandboard.h
> +++ b/include/configs/wandboard.h
> @@ -105,9 +105,9 @@
>  		"fi\0" \
>  	"findfdt="\
>  		"if test $board_name = C1 && test $board_rev = MX6Q ; then " \
> -			"setenv fdtfile imx6q-wandboard.dtb; fi; " \
> +			"setenv fdtfile imx6q-wandboard-revc1.dtb; fi; " \
>  		"if test $board_name = C1 && test $board_rev = MX6DL ; then " \
> -			"setenv fdtfile imx6dl-wandboard.dtb; fi; " \
> +			"setenv fdtfile imx6dl-wandboard-revc1.dtb; fi; " \
>  		"if test $board_name = B1 && test $board_rev = MX6Q ; then " \
>  			"setenv fdtfile imx6q-wandboard-revb1.dtb; fi; " \
>  		"if test $board_name = B1 && test $board_rev = MX6DL ; then " \
> 

Fine with me - I will push the series to -next.

Best regards,
Stefano

-- 
=====================================================================
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: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list