diff options
author | Joel Kitching <kitching@google.com> | 2019-12-19 13:51:25 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-12-24 14:05:27 +0000 |
commit | d9ddac88c99d8df5b7dde618e43807f3c0dd6080 (patch) | |
tree | 195b4f616f23d92703c7a34d2fb33253dde6a521 /futility/cmd_show.c | |
parent | 1df08718b7c18a0454240f78bdb80359116fc295 (diff) | |
download | vboot-d9ddac88c99d8df5b7dde618e43807f3c0dd6080.tar.gz |
vboot: change USB_BOOT_ON_DEV to use build flag
Instead of calling VbExGetSwitches to essentially retrieve a
compile-time config value from depthcharge, send this config
value to vboot_reference as a build flag.
Add a test based on the value of USB_BOOT_ON_DEV.
BUG=b:124141368, chromium:1035761
TEST=make clean && make runtests
TEST=Add CONFIG_USB_BOOT_ON_DEV to defconfig and flash to device
Switch to dev mode and confirm dev_boot_usb with crossystem
BRANCH=none
Change-Id: I70a2e3fcd8c5cc252ca3d0eed81490a08503d7b3
Cq-Depend: chromium:1975346
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1975450
Reviewed-by: Yu-Ping Wu <yupingso@chromium.org>
Commit-Queue: Joel Kitching <kitching@chromium.org>
Tested-by: Joel Kitching <kitching@chromium.org>
Diffstat (limited to 'futility/cmd_show.c')
0 files changed, 0 insertions, 0 deletions