diff options
author | Marek Vasut <marex@denx.de> | 2023-01-12 18:58:42 +0100 |
---|---|---|
committer | Patrice Chotard <patrice.chotard@foss.st.com> | 2023-01-13 13:46:57 +0100 |
commit | 0e86f813f474ea6f46c6055b579eba10930dffd6 (patch) | |
tree | 5a9c5858a0c4a456327fd5a2ad049ade5e7b2d36 | |
parent | 6eea541514461b073be89919bca2e322a2fd1bc8 (diff) | |
download | u-boot-0e86f813f474ea6f46c6055b579eba10930dffd6.zip u-boot-0e86f813f474ea6f46c6055b579eba10930dffd6.tar.gz u-boot-0e86f813f474ea6f46c6055b579eba10930dffd6.tar.bz2 |
ARM: stm32: Make ECDSA authentication available to U-Boot
With U-Boot having access to ROM API call table, it is possible to use
the ROM API call it authenticate e.g. signed kernel fitImages using the
BootROM ECDSA support. Make this available by pulling the ECDSA BootROM
call support from SPL-only guard.
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Signed-off-by: Marek Vasut <marex@denx.de>
-rw-r--r-- | arch/arm/mach-stm32mp/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-stm32mp/Makefile b/arch/arm/mach-stm32mp/Makefile index 1db9057..a19b279 100644 --- a/arch/arm/mach-stm32mp/Makefile +++ b/arch/arm/mach-stm32mp/Makefile @@ -11,10 +11,10 @@ obj-y += bsec.o obj-$(CONFIG_STM32MP13x) += stm32mp13x.o obj-$(CONFIG_STM32MP15x) += stm32mp15x.o +obj-$(CONFIG_STM32_ECDSA_VERIFY) += ecdsa_romapi.o ifdef CONFIG_SPL_BUILD obj-y += spl.o obj-y += tzc400.o -obj-$(CONFIG_STM32_ECDSA_VERIFY) += ecdsa_romapi.o else obj-y += cmd_stm32prog/ obj-$(CONFIG_CMD_STM32KEY) += cmd_stm32key.o |