diff options
author | George Hung <george.hung@quantatw.com> | 2021-04-28 10:23:13 +0300 |
---|---|---|
committer | George Hung <george.hung@quantatw.com> | 2021-04-29 07:46:36 +0300 |
commit | 8aebc427fcca01cc5722c80519528a31d20e9777 (patch) | |
tree | 81770cea620e111578a192a0fba365618de0c4e7 | |
parent | 7616e873053477f1200110d7f854af336af6c0c7 (diff) | |
download | openbmc-8aebc427fcca01cc5722c80519528a31d20e9777.tar.xz |
meta-quanta: gbs: add gpio-keys configs and fix build warning
- fix comments for kernel build warning
- add gpio-keys configs due to the following commit:
https://gerrit.openbmc-project.xyz/40930
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I3129f96a6d2d45f8d72d7cf4be806126c89f3cc0
-rw-r--r-- | meta-quanta/meta-gbs/recipes-kernel/linux/linux-nuvoton/gbs.cfg | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/meta-quanta/meta-gbs/recipes-kernel/linux/linux-nuvoton/gbs.cfg b/meta-quanta/meta-gbs/recipes-kernel/linux/linux-nuvoton/gbs.cfg index edd009c47..73d52f845 100644 --- a/meta-quanta/meta-gbs/recipes-kernel/linux/linux-nuvoton/gbs.cfg +++ b/meta-quanta/meta-gbs/recipes-kernel/linux/linux-nuvoton/gbs.cfg @@ -29,8 +29,10 @@ CONFIG_NEW_LEDS=y CONFIG_LEDS_CLASS=y CONFIG_LEDS_GPIO=y CONFIG_LEDS_TRIGGERS=y -CONFIG_LEDS_TRIGGER_TIMER=y // Allow userspace to blink LEDs -CONFIG_LEDS_TRIGGER_PANIC=y // Blink BMC fault when kernel panics +# Allow userspace to blink LEDs +CONFIG_LEDS_TRIGGER_TIMER=y +# Blink BMC fault when kernel panics +CONFIG_LEDS_TRIGGER_PANIC=y CONFIG_LEDS_TRIGGER_DEFAULT_ON=y CONFIG_LEDS_TRIGGER_HEARTBEAT=y @@ -108,3 +110,7 @@ CONFIG_MTD_M25P80=y CONFIG_MUX_MMIO=y CONFIG_NPCM7XX_LPC_BPC=y CONFIG_MTD_PARTITIONED_MASTER=y + +# Enable phsophor-gpio-keys feature +CONFIG_INPUT_EVDEV=y +CONFIG_KEYBOARD_GPIO=y |