summaryrefslogtreecommitdiff
path: root/utility
diff options
context:
space:
mode:
authorYu-Ping Wu <yupingso@chromium.org>2020-06-10 17:25:15 +0800
committerCommit Bot <commit-bot@chromium.org>2020-06-13 08:51:23 +0000
commit7f6c50e7cc531784f29ef4018b34924083fc902c (patch)
tree652a17e45e15ae1bd664ddef75fed36cf54770fa /utility
parent5cd75be8d1e908adbf73edf04c903539864efab0 (diff)
downloadvboot-7f6c50e7cc531784f29ef4018b34924083fc902c.tar.gz
vboot: rename USB to more accurate EXTERNAL
Rename enumerators of the vb2_dev_default_boot_target enum as follows, because the term USB is not quite accurate (we can also boot from an SD card). VB2_DEV_DEFAULT_BOOT_TARGET_DISK --> VB2_DEV_DEFAULT_BOOT_TARGET_INTERNAL VB2_DEV_DEFAULT_BOOT_TARGET_USB --> VB2_DEV_DEFAULT_BOOT_TARGET_EXTERNAL Also perform similar renaming for the following. enum vb2_nv_param: VB2_NV_DEV_BOOT_USB --> VB2_NV_DEV_BOOT_EXTERNAL enum vb2_secdata_fwmp_flags: VB2_SECDATA_FWMP_DEV_ENABLE_USB --> VB2_SECDATA_FWMP_DEV_ENABLE_EXTERNAL constants: VB2_NV_DEV_FLAG_USB --> VB2_NV_DEV_FLAG_EXTERNAL functions: vb2_dev_boot_usb_allowed --> vb2_dev_boot_external_allowed BRANCH=none BUG=none TEST=make runtests Change-Id: Iad16fcf34d76da08c6d8a81e150c7fde927c743b Signed-off-by: Yu-Ping Wu <yupingso@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2237622 Reviewed-by: Joel Kitching <kitching@chromium.org>
Diffstat (limited to 'utility')
-rw-r--r--utility/crossystem.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/utility/crossystem.c b/utility/crossystem.c
index cece7600..8d1d1863 100644
--- a/utility/crossystem.c
+++ b/utility/crossystem.c
@@ -40,7 +40,8 @@ const Param sys_param_list[] = {
{"dev_boot_legacy", CAN_WRITE, "Enable developer mode boot Legacy OSes"},
{"dev_boot_signed_only", CAN_WRITE,
"Enable developer mode boot only from official kernels"},
- {"dev_boot_usb", CAN_WRITE, "Enable developer mode boot from USB/SD"},
+ {"dev_boot_usb", CAN_WRITE,
+ "Enable developer mode boot from external disk (USB/SD)"},
{"dev_default_boot", IS_STRING|CAN_WRITE,
"Default boot from disk, legacy or usb"},
{"dev_enable_udc", CAN_WRITE, "Enable USB Device Controller"},