mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 08:01:08 +00:00
ti_armv7_common: Disable Falcon Mode on HS devices
Authentication of images in Falcon Mode is not supported. Do not enable SPL_OS_BOOT when TI_SECURE_DEVICE is enabled. This prevents attempting to directly load kernel images which will fail, for security reasons, on HS devices, the board is locked if a non-authenticatable image load is attempted, so we disable attempting Falcon Mode. Signed-off-by: Andrew F. Davis <afd@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Lokesh Vutla <lokeshvutla@ti.com>
This commit is contained in:
parent
2f450969de
commit
e95b9b4437
1 changed files with 10 additions and 5 deletions
|
@ -193,16 +193,21 @@
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Our platforms make use of SPL to initalize the hardware (primarily
|
* Our platforms make use of SPL to initalize the hardware (primarily
|
||||||
* memory) enough for full U-Boot to be loaded. We also support Falcon
|
* memory) enough for full U-Boot to be loaded. We make use of the general
|
||||||
* Mode so that the Linux kernel can be booted directly from SPL
|
* SPL framework found under common/spl/. Given our generally common memory
|
||||||
* instead, if desired. We make use of the general SPL framework found
|
* map, we set a number of related defaults and sizes here.
|
||||||
* under common/spl/. Given our generally common memory map, we set a
|
|
||||||
* number of related defaults and sizes here.
|
|
||||||
*/
|
*/
|
||||||
#if !defined(CONFIG_NOR_BOOT) && \
|
#if !defined(CONFIG_NOR_BOOT) && \
|
||||||
!(defined(CONFIG_QSPI_BOOT) && defined(CONFIG_AM43XX))
|
!(defined(CONFIG_QSPI_BOOT) && defined(CONFIG_AM43XX))
|
||||||
#define CONFIG_SPL_FRAMEWORK
|
#define CONFIG_SPL_FRAMEWORK
|
||||||
|
|
||||||
|
/*
|
||||||
|
* We also support Falcon Mode so that the Linux kernel can be booted
|
||||||
|
* directly from SPL. This is not currently available on HS devices.
|
||||||
|
*/
|
||||||
|
#if !defined(CONFIG_TI_SECURE_DEVICE)
|
||||||
#define CONFIG_SPL_OS_BOOT
|
#define CONFIG_SPL_OS_BOOT
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Place the image at the start of the ROM defined image space (per
|
* Place the image at the start of the ROM defined image space (per
|
||||||
|
|
Loading…
Reference in a new issue