ec/lenovo/h8: Add Kconfig option for Fn-Ctrl swap
commitc6df44b95957014f50be59f622ad6baf20a97a28
authorAngel Pons <th3fanbus@gmail.com>
Mon, 26 Sep 2022 14:26:30 +0000 (26 16:26 +0200)
committerFelix Held <felix-coreboot@felixheld.de>
Tue, 27 Sep 2022 16:19:09 +0000 (27 16:19 +0000)
tree0a96a594d1e15cf347f6be120149aaf5e3a8d653
parentacc91c335b6d0e0b9162966368bdc92a59522064
ec/lenovo/h8: Add Kconfig option for Fn-Ctrl swap

Having to use a runtime configurable option backend like CMOS just to
specify the value of the "fn_ctrl_swap" option is annoying. Introduce
a new Kconfig option to allow specifying the fallback value, which is
only used when the option backend cannot provide a value.

Change-Id: I00bb3cd60c443fc0c8adb82e8e0c436dfc5de24b
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/67836
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
src/ec/lenovo/h8/Kconfig
src/ec/lenovo/h8/h8.c