SECURE_BOOT: Enable chain of trust in SPL framework
authorSumit Garg <sumit.garg@nxp.com>
Tue, 14 Jun 2016 17:52:38 +0000 (13:52 -0400)
committerYork Sun <york.sun@nxp.com>
Tue, 26 Jul 2016 16:01:35 +0000 (09:01 -0700)
commit028ac8c73355ab1340ed7ce179f08cbbae841034
tree1c58ccd17dc09c7b2364c17bcf934e831d653e15
parent7f0a0e4c58e9099016eda6f1f24507c2e6173c8a
SECURE_BOOT: Enable chain of trust in SPL framework

Override jump_to_image_no_args function to include validation of
u-boot image using spl_validate_uboot before jumping to u-boot image.
Also define macros in SPL framework to enable crypto operations.

Reviewed-by: Aneesh Bansal <aneesh.bansal@nxp.com>
Signed-off-by: Sumit Garg <sumit.garg@nxp.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/include/asm/fsl_secure_boot.h
board/freescale/common/fsl_chain_of_trust.c