]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
config: am335x_evm: detect BoneGreen using BBG1
authormatwey.kornilov@gmail.com <matwey.kornilov@gmail.com>
Sun, 1 May 2016 16:58:31 +0000 (19:58 +0300)
committerTom Rini <trini@konsulko.com>
Mon, 2 May 2016 22:37:10 +0000 (18:37 -0400)
Since 770e68c0a37fded897d4bdda661614fc81cb33d2
BoneGreen is detected in board_late_init as board_name 'BBG1'

Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com>
include/configs/am335x_evm.h

index cd8923d7a5d28e3f7cb3bcd9667ae07f5e5d314f..16935a105a17f7e4cab327876321555f816f4e4f 100644 (file)
                "if test $board_name = A335BONE; then " \
                        "setenv fdtfile am335x-bone.dtb; fi; " \
                "if test $board_name = A335BNLT; then " \
-                       "if test $board_rev = BBG1; then " \
-                               "setenv fdtfile am335x-bonegreen.dtb; " \
-                       "else " \
-                               "setenv fdtfile am335x-boneblack.dtb; " \
-                       "fi; " \
-               "fi; " \
+                       "setenv fdtfile am335x-boneblack.dtb; fi; " \
+               "if test $board_name = BBG1; then " \
+                       "setenv fdtfile am335x-bonegreen.dtb; fi; " \
                "if test $board_name = A33515BB; then " \
                        "setenv fdtfile am335x-evm.dtb; fi; " \
                "if test $board_name = A335X_SK; then " \