1
0
Fork 0

[iot] Enable HAB for imx8m

Enable HAB for imx8m Android Things platform, this will enable
HAB verify for bootloader.img(atf+tee+u-boot) at spl stage.
Disable the HAB verify for bootimg because we will use AVB to
verify it.

Test: Build and boot ok on AIY.

Change-Id: Ia6ee456c7c5fa71afc3740689adf898f411c6c4e
Signed-off-by: Ji Luo <ji.luo@nxp.com>
zero-sugar
Ji Luo 2018-08-23 12:14:41 +08:00 committed by faqiang.zhu
parent 40e0de680b
commit 17a0dd7344
2 changed files with 2 additions and 1 deletions

View File

@ -44,7 +44,7 @@ static int booti_start(cmd_tbl_t *cmdtp, int flag, int argc,
if (ret != 0)
return 1;
#ifdef CONFIG_SECURE_BOOT
#if defined(CONFIG_SECURE_BOOT) && !defined(CONFIG_AVB_SUPPORT)
extern int authenticate_image(
uint32_t ddr_start, uint32_t raw_image_size);
if (authenticate_image(ld, image_size) != 0) {

View File

@ -71,3 +71,4 @@ CONFIG_USB_DWC3_GADGET=y
CONFIG_CMD_UUID=y
CONFIG_LIB_RAND=y
CONFIG_AVB_SUPPORT=y
CONFIG_SECURE_BOOT=y