stm32mp1: add authentication support for stm32image
authorLionel Debieve <lionel.debieve@st.com>
Tue, 3 Sep 2019 10:22:23 +0000 (12:22 +0200)
committerLionel Debieve <lionel.debieve@st.com>
Mon, 23 Sep 2019 09:48:07 +0000 (09:48 +0000)
commit4bdb1a7a6a1325343b0f0c375b43e9b874e31fca
treeaf4502cef222e473172193ee4889cb227538c89d
parentf700423c1f2426ca3c5ccb9ee4e765743424b074
stm32mp1: add authentication support for stm32image

This commit adds authentication binary support for STM32MP1.
It prints the bootrom authentication result if signed
image is used and authenticates the next loaded STM32 images.
It also enables the dynamic translation table support
(PLAT_XLAT_TABLES_DYNAMIC) to use bootrom services.

Signed-off-by: Lionel Debieve <lionel.debieve@st.com>
Change-Id: Iba706519e0dc6b6fae1f3dd498383351f0f75f51
drivers/st/io/io_stm32image.c
fdts/stm32mp157c-security.dtsi
plat/st/common/include/stm32mp_auth.h [new file with mode: 0644]
plat/st/common/stm32mp_auth.c [new file with mode: 0644]
plat/st/stm32mp1/bl2_plat_setup.c
plat/st/stm32mp1/include/boot_api.h
plat/st/stm32mp1/platform.mk
plat/st/stm32mp1/stm32mp1_def.h