summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWeimin Wu <wuweimin@huaqin.corp-partner.google.com>2024-08-01 17:41:18 +0800
committerFelix Held <felix-coreboot@felixheld.de>2024-08-08 07:58:59 +0000
commitc6173d1fe4d0804d27a36117cc612a523f1fe480 (patch)
tree34248b3ef23f236cda8c6e814b68b099ec3250dc /src
parent1fdeabe507d30b5ff22ffa264dde23c00b69faef (diff)
mb/google/dedede/var/awasuki: Add Fn key scancode
The Fn key on awasuki emits a scancode of 94 (0x5e). BUG=b:355538142 TEST=Flash awasuki, boot to Linux kernel, and verify that KEY_FN is generated when pressed using `evtest`. Change-Id: Ic7aa183bf314fed4901133dc70d848d84fab0784 Signed-off-by: Weimin Wu <wuweimin@huaqin.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83724 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: zhongtian wu <wuzhongtian@huaqin.corp-partner.google.com> Reviewed-by: Eric Lai <ericllai@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/dedede/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/google/dedede/Kconfig b/src/mainboard/google/dedede/Kconfig
index bdd2f4c733..e17b68eef5 100644
--- a/src/mainboard/google/dedede/Kconfig
+++ b/src/mainboard/google/dedede/Kconfig
@@ -1,5 +1,8 @@
## SPDX-License-Identifier: GPL-2.0-only
+config ACPI_FNKEY_GEN_SCANCODE
+ default 94 if BOARD_GOOGLE_AWASUKI
+
config BOARD_GOOGLE_BASEBOARD_DEDEDE
def_bool n
select BOARD_ROMSIZE_KB_16384 if !BOARD_ROMSIZE_KB_32768