From: Martin Schwan Date: Thu, 10 Apr 2025 08:41:22 +0000 (+0200) Subject: board: phycore-imx93: env: Add common RAUC boot logic X-Git-Tag: v2025.07-rc1~79^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba71e4ef4d3d3edc05c29e14f0ed84ecce4bb051;p=pandora-u-boot.git board: phycore-imx93: env: Add common RAUC boot logic Add a common RAUC boot logic environment and make use of it in the i.MX93 environment. The RAUC boot logic is deactivated by default and can be activated by setting "doraucboot" to "1". Signed-off-by: Martin Schwan Reviewed-by: Leonard Anderweit Signed-off-by: Primoz Fiser --- diff --git a/board/phytec/phycore_imx93/phycore_imx93.env b/board/phytec/phycore_imx93/phycore_imx93.env index 3a36597cae8..3b2f30118e7 100644 --- a/board/phytec/phycore_imx93/phycore_imx93.env +++ b/board/phytec/phycore_imx93/phycore_imx93.env @@ -1,10 +1,14 @@ /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ +#include #include bootcmd= mmc dev ${mmcdev}; if mmc rescan; then + if test ${doraucboot} = 1; then + run raucinit; + fi; if run loadimage; then run mmcboot; else