
-----Original Message----- From: york sun Sent: Wednesday, July 20, 2016 3:08 AM To: Sumit Garg sumit.garg@nxp.com; u-boot@lists.denx.de Cc: Ruchika Gupta ruchika.gupta@nxp.com; Prabhakar Kushwaha prabhakar.kushwaha@nxp.com; trini@konsulko.com; teddy.reed@gmail.com; sjg@chromium.org; dannenberg@ti.com; Aneesh Bansal aneesh.bansal@nxp.com Subject: Re: [PATCH 2/4] SECURE_BOOT: Enable chain of trust in SPL framework
On 06/14/2016 04:36 AM, Sumit Garg wrote:
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
arch/arm/include/asm/fsl_secure_boot.h | 25 +++++++++++++++++++-- board/freescale/common/fsl_chain_of_trust.c | 34 ++++++++++++++++++++++++++++- 2 files changed, 56 insertions(+), 3 deletions(-)
<snip>
diff --git a/board/freescale/common/fsl_chain_of_trust.c b/board/freescale/common/fsl_chain_of_trust.c index 7bf9827..0f5ec35 100644 --- a/board/freescale/common/fsl_chain_of_trust.c +++ b/board/freescale/common/fsl_chain_of_trust.c @@ -10,6 +10,10 @@ #include <fsl_sfp.h> #include <dm/root.h>
+#if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_FRAMEWORK) +#include <spl.h> #endif
#ifdef CONFIG_ADDR_MAP #include <asm/mmu.h> #endif
Sumit,
Does this patch depend on another patch? It doesn't apply cleanly. I wonder if you have something else in your local branch.
York
This series of patches is in continuation to [1], [2] and [3]. Please apply [1], [2] and [3] before applying this patch series.
Regards, Sumit
[1] https://patchwork.ozlabs.org/patch/648297/ [2] https://patchwork.ozlabs.org/patch/648298/ [3] https://patchwork.ozlabs.org/patch/648303/