[U-Boot] [PATCH v3 6/7] enable chain of trust for PowerPC platforms

york sun york.sun at nxp.com
Wed Jan 27 18:03:00 CET 2016


On 01/22/2016 03:10 AM, Aneesh Bansal wrote:
> Chain of Trust is enabled for PowerPC platforms for Secure Boot.
> CONFIG_BOARD_LATE_INIT is defined.
> In board_late_init(), fsl_setenv_chain_of_trust() is called which
> will perform the following:
> - If boot mode is non-secure, return (No Change)
> - If boot mode is secure, set the following environmet variables:
>    bootdelay = 0 (To disable Boot Prompt)
>    bootcmd = CONFIG_CHAIN_BOOT_CMD (Validate and execute Boot script)
> 
> Signed-off-by: Aneesh Bansal <aneesh.bansal at nxp.com>
> ---
> Changes in v3:
> Protect the inclusion of file fsl_validate.h with macro CONFIG_CHAIN_OF_TRUST
> 
> Changes in v2:
> None (Changed the Sign-Off with New E-Mail ID)
> 
>  arch/powerpc/cpu/mpc85xx/cpu_init.c        | 14 ++++++++++++++
>  arch/powerpc/include/asm/fsl_secure_boot.h |  7 +++++++
>  2 files changed, 21 insertions(+)
> 

Prefix subject with "secure_boot:".
Applied to u-boot-fsl-qoriq master. Awaiting upstream.

Thanks.

York



More information about the U-Boot mailing list