board/freescale: Fix wrong config for u-boot.img
authorJoris Offouga <offougajoris@gmail.com>
Wed, 10 Jul 2019 05:17:02 +0000 (07:17 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Wed, 10 Jul 2019 20:18:46 +0000 (22:18 +0200)
Signed-off-by: Joris Offouga <offougajoris@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
board/freescale/common/imx/post-image.sh

index ab51dc2098828361ee339bbc7a2d805720986c84..19d8fffb63e50b8fc283a3f9279c985b9a8adfb4 100755 (executable)
@@ -68,7 +68,7 @@ uboot_image()
                echo "u-boot.imx"
        elif grep -Eq "^BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y$" ${BR2_CONFIG}; then
            echo "u-boot-dtb.img"
-       elif grep -Eq "^BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y$" ${BR2_CONFIG}; then
+       elif grep -Eq "^BR2_TARGET_UBOOT_FORMAT_IMG=y$" ${BR2_CONFIG}; then
            echo "u-boot.img"
        fi
 }