]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx: fix CAAM base for i.MX6UL
authorAnatolij Gustschin <agust@denx.de>
Thu, 11 Jan 2018 14:14:17 +0000 (15:14 +0100)
committerStefano Babic <sbabic@denx.de>
Thu, 29 Mar 2018 15:22:49 +0000 (17:22 +0200)
commit7adafc146fd80d3665df2a37b9e1f84f514084b3
tree271182efa0ae7508af84d12e710c89b413bcb41f
parentfa452192cbebf127234bdd537044e3fc581dccc4
imx: fix CAAM base for i.MX6UL

HW accelerated "hash sha256 ..." command doesn't work on i.MX6UL, we get
"CAAM was not setup properly or it is faulty" error message.

This is due to wrong CAAM base 0x02100000, on i.MX6UL the CAAM base
address is 0x02140000. Fix it.

Note: with this patch applied the "hash sha256" commant still has some
issues on i.MX6UL ("Invalid KEY Command" or other errors). With data
cache off the "hash sha256" command works as expected.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
arch/arm/include/asm/arch-mx6/imx-regs.h