[U-Boot] [PATCH v2 1/2] LS1088A_QSPI: SECURE_BOOT: Images validation

York Sun york.sun at nxp.com
Thu Sep 14 20:25:40 UTC 2017


On 08/25/2017 02:03 AM, Udit Agarwal wrote:
> Validates PPA, MC, DPC, Bootscript, DPL and Kernel images in ESBC phase
> using esbc_validate command. Add images validation in default environment
> under mcinitcmd prior to MC initialization.
> 
> Add header address for PPA to be validated during ESBC phase for LS1088A
> platform based on LAyerscape Chasis 3.
> 
> Moves sec_init prior to ppa_init as for validation of PPA sec must
> be initialised before the PPA is initialised.
> 
> Signed-off-by: Udit Agarwal <udit.agarwal at nxp.com>
> ---

<snip>

> diff --git a/include/configs/ls1088a_common.h b/include/configs/ls1088a_common.h
> index d01095e..4943e19 100644
> --- a/include/configs/ls1088a_common.h
> +++ b/include/configs/ls1088a_common.h
> @@ -128,9 +128,9 @@ unsigned long long get_qixis_addr(void);
>   #if defined(CONFIG_FSL_MC_ENET)
>   #define CONFIG_SYS_LS_MC_DRAM_BLOCK_MIN_SIZE		(512UL * 1024 * 1024)
>   #endif
> -
> -#define CONFIG_FSL_CAAM			/* Enable SEC/CAAM */
> -
> +#if !defined(CONFIG_FSL_CAAM)
> +	#define CONFIG_FSL_CAAM			/* Enable SEC/CAAM */
> +#endif

FSL_CAAM is a Kconfig option. Don't define the macro here.

York


More information about the U-Boot mailing list