[U-Boot] [PATCH v3 1/6] x86: baytrail: Add fsp-header verification for secure boot FSP

Simon Glass
2017-11-20T15:40:17Z

On 16 November 2017 at 18:13, Anatolij Gustschin <agust@denx.de> wrote:
> From: Markus Valentin <mv@denx.de>
>
> Introduce a new Kconfig variable for secure boot on Bay Trail based
> platforms. If this variable is set, the build process tries to use
> fsp-sb.bin instead of fsp.bin (-sb is the secure boot enabled FSP).
>
> Also check the two FSP headers against each other and print if secure
> boot is enabled or not.
>
> Signed-off-by: Markus Valentin <mv@denx.de>
> Signed-off-by: Anatolij Gustschin <agust@denx.de>
> ---
> Changes in v3:
> - move BAYTRAIL_SECURE_BOOT to arch/x86/cpu/baytrail/Kconfig
> - Kconfig help text improvements
> - fix crownbay build breakage
>
> Changes in v2:
> - use if (IS_ENABLED(CONFIG_*)) instead of #ifdef
> - s/SB/Secure Boot/
> - minor Kconfig help cleanup
>
> arch/x86/Kconfig | 3 ++-
> arch/x86/cpu/baytrail/Kconfig | 10 ++++++++++
> arch/x86/include/asm/fsp/fsp_support.h | 2 ++
> arch/x86/lib/fsp/fsp_support.c | 24 ++++++++++++++++++++++++
> 4 files changed, 38 insertions(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg@chromium.org>