[U-Boot] [PATCH] autoboot: fix bug using with CAAM and AUTOBOOT_ENCRYPTION

Tom Rini trini at konsulko.com
Thu Aug 8 03:16:00 UTC 2019


On Mon, Jul 29, 2019 at 07:23:19AM +0200, Heiko Schocher wrote:

> if  CONFIG_AUTOBOOT_KEYED, CONFIG_AUTOBOOT_ENCRYPTION and
> CONFIG_AUTOBOOT_STOP_STR_SHA256 are enabled in conjunction
> with CONFIG_SHA_HW_ACCEL and CONFIG_FSL_CAAM, we get the
> Error when pressing a key while waiting for bootdelay:
> 
> Error: Address arguments are not aligned
> CAAM was not setup properly or it is faulty
> 
> Reason is, that used variables are not cache aligned,
> so malloc this variables cache aligned.
> 
> Probably this is also a bugfix for other hw accelerators
> than CAAM.
> 
> Signed-off-by: Heiko Schocher <hs at denx.de>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190807/acfd98d7/attachment.sig>


More information about the U-Boot mailing list