coreboot-kgpe-d16/src/mainboard/google/kahlee
Furquan Shaikh 2749c52080 ec/google/chromeec: Add library function google_chromeec_events_init
mainboard_ec_init implemented by all x86-based mainboards using
chromeec performed similar tasks for initializing and recording ec
events. Instead of duplicating this code across multiple boards,
provide a library function google_chromeec_events_init that can be
called by mainboard with appropriate inputs to perform the required
actions.

This change also adds a new structure google_chromeec_event_info to
allow mainboards to provide information required by the library
function to handle different event masks.

Also, google_chromeec_log_device_events and google_chromeec_log_events
no longer need to be exported.

Change-Id: I1cbc24e3e1a31aed35d8527f90ed16ed15ccaa86
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://review.coreboot.org/21877
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
2017-10-08 19:38:28 +00:00
..
acpi google/kahlee: Fix GPIO ASL 2017-09-27 02:53:54 +00:00
bootblock mainboard/amd: Add required callouts to Stoney BiosCallouts.c 2017-10-02 16:24:53 +00:00
acpi_tables.c soc/amd/stoneyridge: Move ACPI MADT table to soc 2017-07-31 17:31:00 +00:00
BiosCallOuts.c mainboard/amd: Add required callouts to Stoney BiosCallouts.c 2017-10-02 16:24:53 +00:00
board_info.txt
boardid.c google/kahlee: Add ChromeOS SMBIOS Board ID 2017-08-04 14:22:55 +00:00
chromeos.c google/kahlee: Fix GPIO ASL 2017-09-27 02:53:54 +00:00
chromeos.fmd kahlee: Add RO_VPD region in FMAP 2017-09-11 01:30:20 +00:00
cmos.layout mb/*/*: Remove rtc nvram configurable baud rate 2017-09-23 11:06:25 +00:00
devicetree.cb google/kahlee: Enable TPM 2017-07-31 17:18:49 +00:00
dsdt.asl google/kahlee: Add EC and GNVS ACPI 2017-07-31 17:30:10 +00:00
ec.c ec/google/chromeec: Add library function google_chromeec_events_init 2017-10-08 19:38:28 +00:00
ec.h google/kahlee: Enable ALS connected to EC 2017-08-22 17:21:33 +00:00
gpio.c stoneyridge: Rename hudson to southbridge 2017-08-14 14:50:51 +00:00
irq_tables.c AGESA binaryPI: Clean up amdfamXX.h include 2017-09-19 18:38:58 +00:00
Kconfig google/kahlee: Add ChromeOS SMBIOS Board ID 2017-08-04 14:22:55 +00:00
Kconfig.name
mainboard.c google/kahlee: Add mainboard GPIOs to ACPI 2017-07-31 17:34:48 +00:00
Makefile.inc google/kahlee: Add ChromeOS SMBIOS Board ID 2017-08-04 14:22:55 +00:00
mptable.c AGESA binaryPI: Clean up amdfamXX.h include 2017-09-19 18:38:58 +00:00
OemCustomize.c binaryPI boards: Fix indirect AGESA.h include 2017-09-26 09:58:29 +00:00
romstage.c