[PATCH v2 02/10] crypto: aes: allow DM AES in SPL
Simon Glass
sjg at chromium.org
Thu Jul 9 20:36:21 CEST 2026
On 2026-07-03T01:49:45, James Hilliard <james.hilliard1 at gmail.com> wrote:
> crypto: aes: allow DM AES in SPL
>
> The AES uclass Makefile is already keyed by CONFIG_$(PHASE_)DM_AES,
> but there is no SPL_DM_AES symbol to build it for SPL.
>
> Add the SPL variant so SPL code can use UCLASS_AES providers, for
> example when decrypting FIT images before loading U-Boot proper. Select
> SPL_CRYPTO from SPL_DM_AES as well, since drivers/Makefile only descends
> into drivers/crypto/ for SPL when SPL_CRYPTO is enabled.
>
> Signed-off-by: James Hilliard <james.hilliard1 at gmail.com>
>
> drivers/crypto/aes/Kconfig | 8 ++++++++
> 1 file changed, 8 insertions(+)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list