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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot