> -----Original Message----- > From: york sun > Sent: Wednesday, July 20, 2016 3:08 AM > To: Sumit Garg <sumit.g...@nxp.com>; u-boot@lists.denx.de > Cc: Ruchika Gupta <ruchika.gu...@nxp.com>; Prabhakar Kushwaha > <prabhakar.kushw...@nxp.com>; tr...@konsulko.com; > teddy.r...@gmail.com; s...@chromium.org; dannenb...@ti.com; Aneesh > Bansal <aneesh.ban...@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.ban...@nxp.com> > > Signed-off-by: Sumit Garg <sumit.g...@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/ _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot