]> code.ossystems Code Review - meta-freescale.git/commitdiff
atf_git: add support for chosing boot device automatically
authorJens Rehsack <sno@netbsd.org>
Tue, 26 May 2020 16:38:46 +0000 (18:38 +0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 26 May 2020 18:18:26 +0000 (15:18 -0300)
QorIQ platforms have to choose the boot device in rcw. Solid-Run created
an RCW snippet which is able to detect the boot device by checking all
and use first available.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
recipes-bsp/atf/atf_git.bb

index 7b8e4c9f4745c73d4cc4129a1f6980722d8ef58e..2b673964d9acbf338a0b13c196fa24ecb9d7592b 100644 (file)
@@ -133,6 +133,9 @@ do_compile() {
                 rcwimg="RR_FFSSPPPH_1133_5559/rcw_1600_qspiboot_sben.bin"
             fi
             ;;
+        auto)
+            rcwimg="${RCWAUTO}${rcwtemp}.bin"
+            ;;
         sd)
             rcwimg="${RCWSD}${rcwtemp}.bin"
             ;;