]> code.ossystems Code Review - bsp/u-boot.git/commitdiff
wandboard: Set fdt based on board_rev and board_name
authorFabio Berton <fabio.berton@ossystems.com.br>
Mon, 17 Oct 2016 19:16:34 +0000 (17:16 -0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 21 Oct 2016 17:40:29 +0000 (15:40 -0200)
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@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
include/configs/wandboard.h

index 999ee6de97a24ecc0cddd7f77d370f27584007a0..7401baeb4c356275797e252fa4eab1c22882b968 100644 (file)
                "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 " \