mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-03 03:13:21 +09:00
![Simon Glass](/assets/img/avatar_default.png)
This converts the following to Kconfig: CONFIG_CMD_HASH Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> [trini: Rework slightly, enable on some boards again] Signed-off-by: Tom Rini <trini@konsulko.com>
20 lines
531 B
Plaintext
20 lines
531 B
Plaintext
config CHAIN_OF_TRUST
|
|
depends on !FIT_SIGNATURE && SECURE_BOOT
|
|
imply CMD_BLOB
|
|
imply CMD_HASH if ARM
|
|
select FSL_CAAM
|
|
select SPL_BOARD_INIT if (ARM && SPL)
|
|
select SHA_HW_ACCEL
|
|
select SHA_PROG_HW_ACCEL
|
|
bool
|
|
default y
|
|
|
|
config CMD_ESBC_VALIDATE
|
|
bool "Enable the 'esbc_validate' and 'esbc_halt' commands"
|
|
default y if CHAIN_OF_TRUST
|
|
help
|
|
This option enables two commands used for secure booting:
|
|
|
|
esbc_validate - validate signature using RSA verification
|
|
esbc_halt - put the core in spin loop (Secure Boot Only)
|