lib: rsa: consider CONFIG_SPL_RSA
PATCH 1/1 lib: rsa: consider CONFIG_SPL_RSA
CONFIG_SPL_RSA is meant to control if lib/rsa/* is used for SPL. Adjust lib/Makefile to consider this setting.
This was correctly setup with commit 51c14cd128f4 ("verified-boot: Minimal support for booting U-Boot proper from SPL") and got lost with commit 089df18bfe9d ("lib: move hash CONFIG options to Kconfig").
---
There currently is no CONFIG_TPL_RSA. I guess it is save to leave the TPL case unchanged.
--- lib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/Makefile +1 -1
@@ -58,7 +58,7 @@ obj-$(CONFIG_TPM_V1) += tpm-v1.o obj-$(CONFIG_TPM_V2) += tpm-v2.o endif -obj-$(CONFIG_RSA) += rsa/ +obj-$(CONFIG_$(SPL_)RSA) += rsa/ obj-$(CONFIG_SHA1) += sha1.o obj-$(CONFIG_SHA256) += sha256.o
--
2.24.1
PATCH 1/1 lib: rsa: consider CONFIG_SPL_RSA
Quoted 9 lines · Heinrich Schuchardt
CONFIG_SPL_RSAis meant to control iflib/rsa/*is used for SPL. Adjust lib/Makefile to consider this setting.This was correctly setup with commit
51c14cd128f4("verified-boot: Minimal support for booting U-Boot proper from SPL") and got lost with commit089df18bfe9d("lib: move hash CONFIG options toKconfig").Fixes 089df18bfe9d ("lib: move hash CONFIG options to Kconfig")Signed-off-by Heinrich Schuchardt <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200125/f24be2d9/attachment.sig>