]> 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>
Mon, 11 Sep 2017 19:37:19 +0000 (16:37 -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 d9237d7b81b03138cc500ca1424c476c54d9de61..c5452308a2930805833ff0af48a9facd3abce1e8 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 " \