u-boot-script-boundary: Fix mainline bootscript

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
This commit is contained in:
Fabio Berton 2020-09-29 17:34:58 -03:00 committed by Otavio Salvador
parent ec79fcfa2c
commit 7f47a9f752
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,29 @@
From 5b53f074437dcad298d266171639fd97b22c04fa Mon Sep 17 00:00:00 2001
From: Fabio Berton <fabio.berton@ossystems.com.br>
Date: Tue, 29 Sep 2020 13:11:22 -0300
Subject: [PATCH] boundary: bootscripts: Fix if statement that set fdt_file
Organization: O.S. Systems Software LTDA.
Upstream-Status: Submitted [https://github.com/boundarydevices/u-boot-imx6/pull/12]
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
---
board/boundary/bootscripts/bootscript-mainline.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/boundary/bootscripts/bootscript-mainline.txt b/board/boundary/bootscripts/bootscript-mainline.txt
index a73464a2b9..9b9691bef3 100644
--- a/board/boundary/bootscripts/bootscript-mainline.txt
+++ b/board/boundary/bootscripts/bootscript-mainline.txt
@@ -37,7 +37,7 @@ if itest.s "x" == "x${fdt_file}" ; then
fdt_file=imx51-${board}.dtb;
elif itest.s x53 == "x${cpu2}" ; then
fdt_file=imx53-${board}.dtb;
- if itest.s x6DL == "x${cpu3}" || itest.s x6SO == "x${cpu3}" ; then
+ elif itest.s x6DL == "x${cpu3}" || itest.s x6SO == "x${cpu3}" ; then
fdt_file=imx6dl-${board}.dtb;
elif itest.s x6QP == "x${cpu3}" ; then
fdt_file=imx6qp-${board}.dtb;
--
2.27.0

View File

@ -2,6 +2,8 @@ require recipes-bsp/u-boot/u-boot-boundary-common_${PV}.inc
DEPENDS = "u-boot-mkimage-native"
SRC_URI += "file://boundary-bootscripts-Fix-if-statement-that-set-fdt_f.patch"
inherit deploy
BOOTSCRIPT ??= "${S}/board/boundary/bootscripts/bootscript-yocto.txt"