kontron-sl-mx8mm: Let CONFIG_SPL_FIT_IMAGE_TINY be selected
authorFabio Estevam <festevam@denx.de>
Wed, 24 Aug 2022 01:09:34 +0000 (22:09 -0300)
committerStefano Babic <sbabic@denx.de>
Wed, 21 Sep 2022 14:19:45 +0000 (16:19 +0200)
commit1d8f4c85e3c04f596b0464542221b3507af0014e
tree5b9baa8ff1a36027105a5a73ef584d77a13f7617
parent8b9d90d6349f99cb9d95584e65dc04f080720fbd
kontron-sl-mx8mm: Let CONFIG_SPL_FIT_IMAGE_TINY be selected

When CONFIG_IMX_HAB is selected the 'hab_status' command reports several
error events, indicating that the BootROM failed to authenticate the SPL.

After inspecting the content of the memory location that corresponds to
the DTB load address, the content did not match with the DTB binary,
showing that some kind of memory corruption/overlap occurred.

Letting the CONFIG_SPL_FIT_IMAGE_TINY option to be selected causes the
DTB to be properly placed into RAM and no more overlap occurs.

With this change, the 'hab_status' command returns no more error events,
which indicates that the BootROM succeeded to authenticate the SPL.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de>
configs/kontron-sl-mx8mm_defconfig