coreboot-kgpe-d16/src/soc/intel/braswell
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 src: Conditionally include TEVT 2019-12-17 13:10:27 +00:00
bootblock intel/braswell: Remove duplicate set_max_freq() prototypes 2019-11-08 07:45:00 +00:00
include/soc soc/intel/bsw/gpio: Factor out GPI macros 2019-12-09 09:43:48 +00:00
romstage soc/intel: Use config_of() 2019-07-18 15:25:35 +00:00
acpi.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
chip.c soc/intel: Use config_of() 2019-07-18 15:25:35 +00:00
chip.h soc/intel/braswell/chip.h: Add IGD_MEMSIZE_xxMB 2019-10-03 14:05:53 +00:00
cpu.c intel/smm: Provide common smm_relocation_params 2019-11-22 06:37:50 +00:00
elog.c src/soc: Remove unused include <device/pci_ops.h> 2019-09-15 20:40:52 +00:00
emmc.c soc/intel: Use config_of() 2019-07-18 15:25:35 +00:00
gfx.c coreboot: Replace all IS_ENABLED(CONFIG_XXX) with CONFIG(XXX) 2019-03-08 08:33:24 +00:00
gpio.c soc/intel: Rename some SMM support functions 2019-08-15 06:55:59 +00:00
gpio_support.c device/mmio.h: Add include file for MMIO ops 2019-03-04 15:57:39 +00:00
iosf.c soc/intel: Use simple PCI config access 2019-03-06 11:38:20 +00:00
Kconfig soc/intel/braswell: Use sb/intel/common/spi.c 2019-11-29 09:38:22 +00:00
lpc_init.c device/mmio.h: Add include file for MMIO ops 2019-03-04 15:57:39 +00:00
lpe.c soc/intel: Use config_of() 2019-07-18 15:25:35 +00:00
lpss.c soc/intel: Use config_of() 2019-07-18 15:25:35 +00:00
Makefile.inc soc/intel/braswell: Use sb/intel/common/spi.c 2019-11-29 09:38:22 +00:00
memmap.c lib/cbmem_top: Add a common cbmem_top implementation 2019-11-01 11:44:51 +00:00
northcluster.c Split MAYBE_STATIC to _BSS and _NONZERO variants 2019-08-26 20:56:29 +00:00
pcie.c soc/intel: Rename some SMM support functions 2019-08-15 06:55:59 +00:00
placeholders.c src: Drop unused include <arch/acpi.h> 2019-03-06 20:03:55 +00:00
pmutil.c arch/x86: Replace some __SMM__ guards 2019-11-09 11:03:03 +00:00
ramstage.c src: Use 'include <string.h>' when appropriate 2019-03-20 20:27:51 +00:00
sata.c src: Use include <delay.h> when appropriate 2019-04-06 16:09:12 +00:00
scc.c
sd.c soc/intel: Use config_of() 2019-07-18 15:25:35 +00:00
smbus.c soc/intel/braswell/smbus.c: Add support for i2c mode block write 2019-06-20 15:41:37 +00:00
smihandler.c soc/intel/braswell: Don't reinitialize SPI after lockdown 2019-11-29 09:38:39 +00:00
smm.c ELOG, soc/intel: Avoid some preprocessor use 2019-11-08 07:51:18 +00:00
southcluster.c printf: Automatically prefix %p with 0x 2019-12-11 11:38:59 +00:00
tsc_freq.c intel/braswell: Remove duplicate set_max_freq() prototypes 2019-11-08 07:45:00 +00:00
xhci.c soc/intel: Use config_of() 2019-07-18 15:25:35 +00:00