security/vboot: Add option for enabling ADB via GBB flag
This patch introduces a new Kconfig option, `CONFIG_GBB_FLAG_ENABLE_ADB`, to allow enabling ADB. This option, when enabled, sets the corresponding GBB flag (0x80000000). This flag can then be utilized by the operating system to enable the ADB. TEST=Able to connect the google/quenbih from host device using ADB cable. Change-Id: I680c1f47045255a5ed49b0bb6c6fb94bc054c278 Signed-off-by: Subrata Banik <subratabanik@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/91719 Reviewed-by: Kapil Porwal <kapilporwal@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
4943cfe4d0
commit
a649c82f7a
2 changed files with 5 additions and 0 deletions
|
|
@ -463,6 +463,10 @@ config GBB_FLAG_FORCE_CSE_SYNC
|
|||
bool "Running tests; enforce CSE sync"
|
||||
default n
|
||||
|
||||
config GBB_FLAG_ENABLE_ADB
|
||||
bool "Enable ADB"
|
||||
default n
|
||||
|
||||
endmenu # GBB
|
||||
|
||||
menu "Vboot Keys"
|
||||
|
|
|
|||
|
|
@ -267,6 +267,7 @@ GBB_FLAGS := $(call int-add, \
|
|||
$(call bool-to-mask,$(CONFIG_GBB_FLAG_DISABLE_FWMP),0x8000) \
|
||||
$(call bool-to-mask,$(CONFIG_GBB_FLAG_ENABLE_UDC),0x10000) \
|
||||
$(call bool-to-mask,$(CONFIG_GBB_FLAG_FORCE_CSE_SYNC),0x20000) \
|
||||
$(call bool-to-mask,$(CONFIG_GBB_FLAG_ENABLE_ADB),0x80000000) \
|
||||
)
|
||||
|
||||
ifneq ($(CONFIG_GBB_BMPFV_FILE),)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue