From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sumit Garg Date: Wed, 20 Jul 2016 04:59:47 +0000 Subject: [U-Boot] [PATCH 2/4] SECURE_BOOT: Enable chain of trust in SPL framework In-Reply-To: References: <1465926760-8730-1-git-send-email-sumit.garg@nxp.com> <1465926760-8730-3-git-send-email-sumit.garg@nxp.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > -----Original Message----- > From: york sun > Sent: Wednesday, July 20, 2016 3:08 AM > To: Sumit Garg ; u-boot at lists.denx.de > Cc: Ruchika Gupta ; Prabhakar Kushwaha > ; trini at konsulko.com; > teddy.reed at gmail.com; sjg at chromium.org; dannenberg at ti.com; Aneesh > Bansal > 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 > > Signed-off-by: Sumit Garg > > --- > > 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(-) > > > > > > 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 > > #include > > > > +#if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_FRAMEWORK) > > +#include #endif > > + > > #ifdef CONFIG_ADDR_MAP > > #include > > #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/