]> 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>
Sun, 26 Mar 2017 18:46:51 +0000 (15:46 -0300)
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 7e9757a4806fe9e3915979eddfd1b78776af1672..d34122e2a0126ca71ee9145e0656469a2830fabb 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 " \