coreboot/src
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 src/acpi: Add guards on all header files 2017-08-01 23:04:27 +00:00
arch arch/riscv: hls_init: Initialize time{,cmp} with dummy pointers 2017-09-27 16:41:03 +00:00
commonlib commonlib: Consistently spell *romstage* without space 2017-09-27 22:20:25 +00:00
console console: Ignore loglevel in nvram until ramstage 2017-09-25 13:35:29 +00:00
cpu AGESA vendorcode: Add ENABLE_MRC_CACHE option 2017-10-05 13:23:27 +00:00
device device/dram/ddr2.c: fix a hidden syntax error introduced earlier 2017-09-26 15:53:55 +00:00
drivers soc/intel/skylake: use locate_vbt directly instead of calling a wrapper 2017-10-06 17:07:23 +00:00
ec ec/google/chromeec: Add library function google_chromeec_events_init 2017-10-08 19:38:28 +00:00
include cpu/amd/amdfam15: Add misc. SMM definitions 2017-09-27 15:57:16 +00:00
lib Kconfig: Move libhwbase related options into lib/Kconfig 2017-09-28 11:47:07 +00:00
mainboard ec/google/chromeec: Add library function google_chromeec_events_init 2017-10-08 19:38:28 +00:00
northbridge AGESA f16kb: Enable MRC cache equivalent fastboot 2017-10-06 05:35:35 +00:00
soc soc/intel/skylake: use locate_vbt directly instead of calling a wrapper 2017-10-06 17:07:23 +00:00
southbridge smbus: Fix a typo ("Set the device I'm talking too") 2017-09-27 16:38:18 +00:00
superio winbond/w83627hf: Drop early_init.c 2017-09-21 15:40:49 +00:00
vboot chromeec: Remove checks for EC in RO 2017-10-04 20:55:12 +00:00
vendorcode vendor/intel/skykabylake: Update FSP header files to version 2.7.2 2017-10-05 17:45:46 +00:00
Kconfig Kconfig: Move libhwbase related options into lib/Kconfig 2017-09-28 11:47:07 +00:00