]> git.dujemihanovic.xyz Git - u-boot.git/commit
smegw01: Fix inverted CONFIG_SYS_BOOT_LOCKED logic
authorEduard Strehlau <eduard@lionizers.com>
Mon, 25 Sep 2023 16:32:59 +0000 (13:32 -0300)
committerTom Rini <trini@konsulko.com>
Thu, 28 Sep 2023 20:31:43 +0000 (16:31 -0400)
commitfa5bde37606356400483cf0c9454cb2eea66264e
tree4d055d1ca4a03192306bf1d1b9f426d930bdbc9c
parent7ebbce535c774806b3db0bedd2ba3cfb95c07658
smegw01: Fix inverted CONFIG_SYS_BOOT_LOCKED logic

CONFIG_SYS_BOOT_LOCKED means that a restricted boot environment will
be used. In this case, hab_auth_img_or_fail should be called to prevent
U-Boot to continue running when the fitImage authentication fails.

Fix the logic accordingly.

Additionally, select CONFIG_SYS_BOOT_LOCKED by default.

Signed-off-by: Eduard Strehlau <eduard@lionizers.com>
Signed-off-by: Fabio Estevam <festevam@denx.de>
board/storopack/smegw01/smegw01.env
configs/smegw01_defconfig