drivers: caam: skip JR init of CFG_JR_HAB_INDEXOn iMX8M SoC, the HAB requires the JR0 to be set to secure world todecrypt the kernel image when loading the image in U-Boot.Before reaching u-boot
drivers: caam: skip JR init of CFG_JR_HAB_INDEXOn iMX8M SoC, the HAB requires the JR0 to be set to secure world todecrypt the kernel image when loading the image in U-Boot.Before reaching u-boot, OP-TEE and TF-A set the JR0 to the non-securedomain that leads to a HAB failure when trying to decrypt the kernel.To fix the issue, this commit introduces CFG_JR_HAB_INDEX that specifieswhich JR the HAB uses. OPTEE will skip the initialization ofCFG_JR_HAB_INDEX and leave it as secure.It will also disable its usage in the device tree to inform the kernel.Signed-off-by: Clement Faure <clement.faure@nxp.com>Signed-off-by: Franck LENORMAND <franck.lenormand@nxp.com>Signed-off-by: Sahil Malhotra <sahil.malhotra@nxp.com>Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
drivers: caam: add HAL for secure memory driverAdd hardware abstraction layer for CAAM secure memory registers. Themajority of the implementation is common to all i.MX platforms.Only the secure m
drivers: caam: add HAL for secure memory driverAdd hardware abstraction layer for CAAM secure memory registers. Themajority of the implementation is common to all i.MX platforms.Only the secure memory physical address retrieve method is platformspecific.In this commit, this method is implemented for imx8m platforms only.Signed-off-by: Clement Faure <clement.faure@nxp.com>Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
drivers: caam: add manufacturing protection featureThe CAAM features a "manufacturing protection" functionality.It is a authentication process used to authenticate the chip tothe OEM's server. Th
drivers: caam: add manufacturing protection featureThe CAAM features a "manufacturing protection" functionality.It is a authentication process used to authenticate the chip tothe OEM's server. The authentication process can ensure the chip: * is a genuine NXP part * is a correct part type * has been properly fused * is running a authenticated software * runs in secure/trusted mode.Signed-off-by: Cedric Neveux <cedric.neveux@nxp.com>Signed-off-by: Clement Faure <clement.faure@nxp.com>Acked-by: Jens Wiklander <jens.wiklander@linaro.org>Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
driver: implement CAAM driverAdd the NXP CAAM drivers: - Random generator (instantiation and random generation) - HashSigned-off-by: Cedric Neveux <cedric.neveux@nxp.com>Acked-by: Etienne Ca
driver: implement CAAM driverAdd the NXP CAAM drivers: - Random generator (instantiation and random generation) - HashSigned-off-by: Cedric Neveux <cedric.neveux@nxp.com>Acked-by: Etienne Carriere <etienne.carriere@linaro.org>