summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHsuan Ting Chen <roccochen@chromium.org>2022-03-17 19:09:57 +0800
committerCommit Bot <commit-bot@chromium.org>2022-03-18 10:02:24 +0000
commit613f22e8de3f8ef3d87bf8e5de6f277e92e3a631 (patch)
treebccbf1742901c1d74d05c6ff461022dc3eebd4f9
parentecf7b40b087a3c604c849bbf3a599c8daeff2268 (diff)
downloadvboot-613f22e8de3f8ef3d87bf8e5de6f277e92e3a631.tar.gz
2api: Correct the comment of vb2api_disable_developer_mode()
It should be VB2_NV_DISABLE_DEV_REQUEST, not VB2_NV_DIAG_REQUEST. BUG=b:172339016 TEST=none BRANCH=none Change-Id: Id35ea2680dd55d830991cf118f4e9c97f52eb0cb Signed-off-by: Hsuan Ting Chen <roccochen@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3532539 Reviewed-by: Yu-Ping Wu <yupingso@chromium.org>
-rw-r--r--firmware/2lib/include/2api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/2lib/include/2api.h b/firmware/2lib/include/2api.h
index 14301111..3e5ecac3 100644
--- a/firmware/2lib/include/2api.h
+++ b/firmware/2lib/include/2api.h
@@ -1027,7 +1027,7 @@ int vb2api_use_short_dev_screen_delay(struct vb2_context *ctx);
vb2_error_t vb2api_enable_developer_mode(struct vb2_context *ctx);
/**
- * Request to disable developer mode by setting VB2_NV_DIAG_REQUEST.
+ * Request to disable developer mode by setting VB2_NV_DISABLE_DEV_REQUEST.
*
* @param ctx Vboot context
* @return VB2_SUCCESS if success; other errors if the check of