Kconfig: disable CLI for verified-boot
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I09acae3dda1a886629d0f9901b4c95059cdd8b42
This commit is contained in:
parent
6cf81e2732
commit
e7be2a072c
1
Kconfig
1
Kconfig
|
|
@ -209,6 +209,7 @@ config FIT_SIGNATURE
|
||||||
bool "Enable signature verification of FIT uImages"
|
bool "Enable signature verification of FIT uImages"
|
||||||
depends on DM
|
depends on DM
|
||||||
select RSA
|
select RSA
|
||||||
|
select CONSOLE_DISABLE_CLI
|
||||||
help
|
help
|
||||||
This option enables signature verification of FIT uImages,
|
This option enables signature verification of FIT uImages,
|
||||||
using a hash signed and verified using RSA. If
|
using a hash signed and verified using RSA. If
|
||||||
|
|
|
||||||
|
|
@ -252,8 +252,7 @@ config CONSOLE_RECORD_IN_SIZE
|
||||||
|
|
||||||
config CONSOLE_DISABLE_CLI
|
config CONSOLE_DISABLE_CLI
|
||||||
bool "disable ctrlc"
|
bool "disable ctrlc"
|
||||||
depends on BOOTDELAY = 0
|
default n
|
||||||
default y if AVB_VBMETA_PUBLIC_KEY_VALIDATE || FIT_SIGNATURE
|
|
||||||
help
|
help
|
||||||
This disable CLI interactive in verified-boot.
|
This disable CLI interactive in verified-boot.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ config AVB_LIBAVB_USER
|
||||||
config AVB_VBMETA_PUBLIC_KEY_VALIDATE
|
config AVB_VBMETA_PUBLIC_KEY_VALIDATE
|
||||||
bool "Support vbmeta public key validate"
|
bool "Support vbmeta public key validate"
|
||||||
depends on AVB_LIBAVB_USER
|
depends on AVB_LIBAVB_USER
|
||||||
|
select CONSOLE_DISABLE_CLI
|
||||||
help
|
help
|
||||||
support vbmeta public key validate, system bootflow would be
|
support vbmeta public key validate, system bootflow would be
|
||||||
uninterruptale when it is enabled:
|
uninterruptale when it is enabled:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue