[U-Boot] [PATCH 2/4] SECURE_BOOT: Enable chain of trust in SPL framework

york sun york.sun at nxp.com
Tue Jul 19 23:37:57 CEST 2016


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 at nxp.com>
> Signed-off-by: Sumit Garg <sumit.garg at 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


More information about the U-Boot mailing list