coreboot/src/mainboard
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
..
adlink
amd AGESA: Disable boards from build 2019-12-15 17:11:47 +00:00
aopen Kconfig: comply to Linux 5.3's Kconfig language rules 2019-11-23 20:09:56 +00:00
apple arch/x86: Make X86 stages select ARCH_X86 2019-12-16 09:41:08 +00:00
asrock mb: Use fixed value in RcompTarget structure 2019-12-16 09:50:55 +00:00
asus arch/x86: Make X86 stages select ARCH_X86 2019-12-16 09:41:08 +00:00
bap AGESA: Disable boards from build 2019-12-15 17:11:47 +00:00
biostar biostar/am1ml: Switch away from ROMCC_BOOTBLOCK 2019-12-16 16:17:36 +00:00
cavium mb/*/*/Kconfig: Drop redundant redeclaration of MAINBOARD_VENDOR 2019-11-28 10:52:27 +00:00
compulab mb/**/hda_verb.c: Clean up formatting 2019-12-12 15:09:51 +00:00
elmex AGESA: Disable boards from build 2019-12-15 17:11:47 +00:00
emulation fmap: Make FMAP_CACHE mandatory if it is configured in 2019-12-11 11:42:26 +00:00
facebook mb: Use fixed value in RcompTarget structure 2019-12-16 09:50:55 +00:00
foxconn arch/x86: Make X86 stages select ARCH_X86 2019-12-16 09:41:08 +00:00
getac mainboard/(i945,ich7): Remove commented RCBA32(0x341c) code 2019-12-10 11:16:07 +00:00
gigabyte arch/x86: Make X86 stages select ARCH_X86 2019-12-16 09:41:08 +00:00
gizmosphere AGESA: Disable boards from build 2019-12-15 17:11:47 +00:00
google src: Conditionally include TEVT 2019-12-17 13:10:27 +00:00
hp AGESA: Disable boards from build 2019-12-15 17:11:47 +00:00
ibase mainboard/(i945,ich7): Remove commented RCBA32(0x341c) code 2019-12-10 11:16:07 +00:00
intel mb: Use fixed value in RcompTarget structure 2019-12-16 09:50:55 +00:00
jetway AGESA: Disable boards from build 2019-12-15 17:11:47 +00:00
kontron mb/*/*/Kconfig: Drop redundant redeclaration of MAINBOARD_VENDOR 2019-11-28 10:52:27 +00:00
lenovo arch/x86: Make X86 stages select ARCH_X86 2019-12-16 09:41:08 +00:00
lippert AGESA: Disable boards from build 2019-12-15 17:11:47 +00:00
msi arch/x86: Make X86 stages select ARCH_X86 2019-12-16 09:41:08 +00:00
opencellular mb/*/*: Drop FSP_BAYTRAIL support 2019-11-21 06:40:11 +00:00
packardbell mb/**/hda_verb.c: Clean up formatting 2019-12-12 15:09:51 +00:00
pcengines pcengines/apu1: Switch away from ROMCC_BOOTBLOCK 2019-12-13 08:58:24 +00:00
portwell mb/{facebook/portwell}: Remove empty onboard.h 2019-12-11 11:44:11 +00:00
purism mb/*/*/Kconfig: Drop redundant redeclaration of MAINBOARD_VENDOR 2019-11-28 10:52:27 +00:00
razer mb: Use fixed value in RcompTarget structure 2019-12-16 09:50:55 +00:00
roda mb/roda/rk886ex: Don't rewrite pnp_{enter,exit}_conf_state function 2019-12-15 10:23:10 +00:00
samsung mb/samsung: remove header guards for SuperIO 2019-11-25 19:02:37 +00:00
sapphire arch/x86: Make X86 stages select ARCH_X86 2019-12-16 09:41:08 +00:00
scaleway mb/*/*/Kconfig: Drop redundant redeclaration of MAINBOARD_VENDOR 2019-11-28 10:52:27 +00:00
siemens Kconfig: comply to Linux 5.3's Kconfig language rules 2019-11-23 20:09:56 +00:00
sifive Change all clrsetbits_leXX() to clrsetbitsXX() 2019-12-04 14:11:17 +00:00
supermicro mb/*/*: Drop AMDFAM10 mainboards 2019-11-20 18:58:43 +00:00
ti mb/*/*/Kconfig: Drop redundant redeclaration of MAINBOARD_VENDOR 2019-11-28 10:52:27 +00:00
up soc/intel/{IA-CPU/SOC}: Move sleepstates.asl into southbridge/intel/common/acpi 2019-11-01 11:50:03 +00:00
Kconfig src/mb/Kconfig: add BOARD_ROMSIZE_KB_5120 2019-12-17 13:06:35 +00:00