blob: 8a5c45649cd7c026af4dc87bd33aa895e9926274 [file] [log] [blame]
Tom Rini88077712017-01-22 19:43:10 -05001config CHAIN_OF_TRUST
2 depends on !FIT_SIGNATURE && SECURE_BOOT
Simon Glassc04b9b32017-04-26 22:27:53 -06003 imply CMD_BLOB
Simon Glass551c3932017-05-17 03:25:25 -06004 imply CMD_HASH if ARM
Tom Rini28522672017-03-01 16:51:58 -05005 select FSL_CAAM
Ley Foon Tan0680f1b2017-05-03 17:13:32 +08006 select SPL_BOARD_INIT if (ARM && SPL)
Tom Rini089df182017-05-15 12:17:49 -04007 select SHA_HW_ACCEL
8 select SHA_PROG_HW_ACCEL
Simon Glass2be29652017-07-23 21:19:39 -06009 select ENV_IS_NOWHERE
Tom Rini88077712017-01-22 19:43:10 -050010 bool
11 default y
Simon Glassea7971f2017-05-17 03:25:16 -060012
13config CMD_ESBC_VALIDATE
14 bool "Enable the 'esbc_validate' and 'esbc_halt' commands"
15 default y if CHAIN_OF_TRUST
16 help
17 This option enables two commands used for secure booting:
18
19 esbc_validate - validate signature using RSA verification
20 esbc_halt - put the core in spin loop (Secure Boot Only)