]> git.baikalelectronics.ru Git - uboot.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)
commit59bc4710ebd3fc19f3fece2d5b860c0ee026fa98
tree271182efa0ae7508af84d12e710c89b413bcb41f
parent6644294d825474cb334e4749405fc8c281cac26d
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