coreboot/src/ec/google/chromeec
Frans Hendriks 9cb88a70f7 src: Conditionally include TEVT
ACPI method TEVT is reported as unused by iASL (20190509) when ChromeEC support is not
enabled. The message is “Method Argument is never used (Arg0)” on Method (TEVT, 1, NotSerialized),
which indicates the TEVT method is empty.

The solution is to only enable the TEVT code in mainboard or SoC when an EC is used that uses
this event. The TEVT code in the EC is only enabled if the mainboard or SoC code implements TEVT.

The TEVT method will be removed from the ASL code when the EC does not support TEVT.

BUG=N/A
TEST=Tested on facebook monolith.

Change-Id: I8d2e14407ae2338e58797cdc7eb7d0cadf3cc26e
Signed-off-by: Wim Vervoorn <wvervoorn@eltan.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37560
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Frans Hendriks <fhendriks@eltan.com>
2019-12-17 13:10:27 +00:00
..
acpi ec/google/chromeec/acpi: move PS2K under PCI0 2019-12-16 09:42:32 +00:00
chip.h devicetree: Remove duplicate chip_ops declarations 2019-08-20 01:31:44 +00:00
crosec_proto.c src: Use include <delay.h> when appropriate 2019-04-06 16:09:12 +00:00
ec.c ec/google/chromeec: Drop CAR_GLOBAL_MIGRATION support 2019-11-29 09:12:47 +00:00
ec.h include: Make stdbool.h a separate file 2019-11-18 22:47:13 +00:00
ec_boardid.c Split MAYBE_STATIC to _BSS and _NONZERO variants 2019-08-26 20:56:29 +00:00
ec_commands.h ec/google/chromeec: Update ec_commands.h 2019-08-23 20:22:04 +00:00
ec_i2c.c src/ec: Drop __PRE_RAM__ and __SMM__ guards 2019-08-20 13:52:14 +00:00
ec_lpc.c Split MAYBE_STATIC to _BSS and _NONZERO variants 2019-08-26 20:56:29 +00:00
ec_message.h
ec_spi.c ec/google/chromeec: Drop CAR_GLOBAL_MIGRATION support 2019-11-29 09:12:47 +00:00
Kconfig src: Conditionally include TEVT 2019-12-17 13:10:27 +00:00
Makefile.inc 3rdparty/chromeec: Update to latest master 2019-09-16 13:42:10 +00:00
smihandler.c ELOG: Introduce elog_gsmi variants 2019-11-09 10:49:47 +00:00
smm.h
switches.c vboot: remove fastboot support 2019-09-02 05:48:35 +00:00
vboot_storage.c
vstore.c src: Remove unneeded include <console/console.h> 2018-11-16 09:50:29 +00:00