diff options
author | Wisley Chen <wisley.chen@quantatw.com> | 2021-01-15 13:48:38 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-01-25 09:11:57 +0000 |
commit | 5e6e5c11c7841d5a1df8e7a33466df1a8a2a6314 (patch) | |
tree | 6b4c0222825641759968347977efcd9774f92459 /src/mainboard/google/dedede/variants/drawcia/Makefile.inc | |
parent | 8130959d011023077738bd9d6b6b65ab0d7f5233 (diff) |
mb/google/dedede/var/drawcia: Add support to handle pen detection
For board version 6 afterward, it will have external pull-up for
GPP_C12, and remove internal pull-up.
BUG=b:177618684
TEST=emerge-dedede coreboot, check evtest if SW_PEN_INSERTED event
(value:1/0) when insert/eject pen, and eject pen to wake system from s0ix
Signed-off-by: Wisley Chen <wisley.chen@quantatw.com>
Change-Id: I503873afb48384168dcd8a822c7246655898356e
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49469
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Reviewed-by: Henry Sun <henrysun@google.com>
Diffstat (limited to 'src/mainboard/google/dedede/variants/drawcia/Makefile.inc')
-rw-r--r-- | src/mainboard/google/dedede/variants/drawcia/Makefile.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/google/dedede/variants/drawcia/Makefile.inc b/src/mainboard/google/dedede/variants/drawcia/Makefile.inc index 24c75d1d9a..04eb9a4877 100644 --- a/src/mainboard/google/dedede/variants/drawcia/Makefile.inc +++ b/src/mainboard/google/dedede/variants/drawcia/Makefile.inc @@ -1,3 +1,4 @@ ## SPDX-License-Identifier: GPL-2.0-or-later +ramstage-y += gpio.c ramstage-$(CONFIG_FW_CONFIG) += variant.c |