]> code.ossystems Code Review - bsp/u-boot.git/commitdiff
wandboard: Drop revision specific DeviceTree support
authorOtavio Salvador <otavio@ossystems.com.br>
Tue, 14 Jul 2015 22:03:00 +0000 (19:03 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 5 Oct 2015 12:26:41 +0000 (09:26 -0300)
The 3.10.53 and 3.14.28 Wandboard kernels handles the revision in a
single DeviceTree file so the boot script needs to respect that.

This should be reworked in the Wandboard kernel to make it to use the
same schema adppted by the Linux mainline and allow an easy change
between them, however, this need be coordinated before we can do this
in the FSL Community fork as well.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
include/configs/wandboard.h

index 7a40365c056445ac99b8a2f0db415aa6b0731394..953ebd96f7ccead7f277325495aff7a6cee05d1a 100644 (file)
                        "bootz; " \
                "fi;\0" \
        "findfdt="\
-               "if test $board_name = C1 && test $board_rev = MX6Q ; then " \
+               "if test $board_rev = MX6Q ; then " \
                        "setenv fdtfile imx6q-wandboard.dtb; fi; " \
-               "if test $board_name = C1 && test $board_rev = MX6DL ; then " \
+               "if test $board_rev = MX6DL ; then " \
                        "setenv fdtfile imx6dl-wandboard.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 " \
-                       "setenv fdtfile imx6dl-wandboard-revb1.dtb; fi; " \
                "if test $fdtfile = undefined; then " \
                        "echo WARNING: Could not determine dtb to use; fi; \0" \