summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Kitching <kitching@google.com>2018-07-31 15:48:50 +0800
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2018-07-31 09:07:21 +0000
commite87a54e13e5f7a022408db750c007fea880ce01f (patch)
tree2028e6705fa79bf9c8b8c2d8b9bf03c5259063af
parent6646ce5bb20a17b3a763c3220dcc3c7252b07a10 (diff)
downloadvboot-e87a54e13e5f7a022408db750c007fea880ce01f.tar.gz
vboot: move Alt OS hotkey stub from switches to keyboard
vb2ex_get_alt_os_hotkey ended up in keyboard.c instead of switches.c. vboot stubs should reflect this location appropriately. BUG=b:70804764 TEST=make runtests TEST=emerge-eve coreboot Change-Id: I8c75f089cb56f90f4c326ab38abfe16ff751c35d Reviewed-on: https://chromium-review.googlesource.com/1156199 Tested-by: Joel Kitching <kitching@chromium.org> Reviewed-by: Ting Shen <phoenixshen@chromium.org> Commit-Queue: Joel Kitching <kitching@chromium.org> Trybot-Ready: Joel Kitching <kitching@chromium.org>
-rw-r--r--Makefile4
-rw-r--r--firmware/stub/vboot_api_stub_keyboard.c (renamed from firmware/stub/vboot_api_stub_switches.c)2
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index d9f65665..9430a870 100644
--- a/Makefile
+++ b/Makefile
@@ -417,8 +417,8 @@ VBINIT_SRCS += \
VBSLK_SRCS += \
firmware/stub/vboot_api_stub.c \
firmware/stub/vboot_api_stub_disk.c \
- firmware/stub/vboot_api_stub_stream.c \
- firmware/stub/vboot_api_stub_switches.c
+ firmware/stub/vboot_api_stub_keyboard.c \
+ firmware/stub/vboot_api_stub_stream.c
FWLIB2X_SRCS += \
firmware/2lib/2stub.c
diff --git a/firmware/stub/vboot_api_stub_switches.c b/firmware/stub/vboot_api_stub_keyboard.c
index 29ab8e0d..6098dbab 100644
--- a/firmware/stub/vboot_api_stub_switches.c
+++ b/firmware/stub/vboot_api_stub_keyboard.c
@@ -2,7 +2,7 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*
- * Stub implementations of switch APIs.
+ * Stub implementations of keyboard APIs.
*/
#include "vboot_api.h"