coreboot-kgpe-d16/src/mainboard/google/jecht
Martin Roth a50b1f9dd0 intel bd82x6x/lynxpoint systems: Update ACPI thermal zone handler
Currently the throttle event handler method THRM is defined as an
extern on the intel bd82x6x and lynxpoint chipsets, then defined
again in the platform with thermal event handling.  In newer versions
of IASL, this generates an error, as the method is defined in two
places.  Simply removing the extern causes the call to it to fail on
platforms where it isn't actually defined, so add a preprocessor define
where it's implemented, and only call the method on those platforms.

This also requires moving the thermal handler, which now includes
the define to before the gnvs asl file.

TEST=Build before and after, make sure correct code is included.

Change-Id: I7af4a346496c1352ec20bda8acb338b5d277d99b
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/26123
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2018-06-03 14:19:58 +00:00
..
acpi google/jecht: add board-specific USB port info 2017-06-04 21:39:11 +02:00
spd Combine Broadwell Chromeboxes using variant board scheme 2016-12-22 18:37:35 +01:00
variants intel bd82x6x/lynxpoint systems: Update ACPI thermal zone handler 2018-06-03 14:19:58 +00:00
acpi_tables.c Combine Broadwell Chromeboxes using variant board scheme 2016-12-22 18:37:35 +01:00
board_info.txt
chromeos.c chromeos / broadwell / jecht: Make save_chromeos_gpios() jecht-specific 2017-03-28 22:16:24 +02:00
chromeos.fmd google/jecht: Increase RO coreboot size on flash 2016-07-25 18:54:01 +02:00
cmos.layout mb/*/*/cmos.layout: Fix the values for the console level 2018-01-26 17:28:56 +00:00
devicetree.cb Combine Broadwell Chromeboxes using variant board scheme 2016-12-22 18:37:35 +01:00
dsdt.asl intel bd82x6x/lynxpoint systems: Update ACPI thermal zone handler 2018-06-03 14:19:58 +00:00
fadt.c acpi: fix FADT header version for ChromeOS devices 2017-05-01 01:08:18 +02:00
hda_verb.c Combine Broadwell Chromeboxes using variant board scheme 2016-12-22 18:37:35 +01:00
Kconfig vboot: Move remaining features out of vendorcode/google/chromeos 2017-03-28 22:18:13 +02:00
Kconfig.name mainboard/google: Comment variant names in Kconfig 2018-05-04 01:03:49 +00:00
lan.c Combine Broadwell Chromeboxes using variant board scheme 2016-12-22 18:37:35 +01:00
led.c google/jecht: Fix LED for guado/rikku variants 2017-02-04 23:15:12 +01:00
mainboard.c mb/google: Get rid of device_t 2018-05-08 18:31:26 +00:00
Makefile.inc Update files with no newline at the end 2017-07-24 15:08:16 +00:00
onboard.h mb/superio: Rename global control devices as SUPERIO_DEV 2018-05-08 14:18:36 +00:00
romstage.c mb/superio: Rename global control devices as SUPERIO_DEV 2018-05-08 14:18:36 +00:00
smihandler.c Combine Broadwell Chromeboxes using variant board scheme 2016-12-22 18:37:35 +01:00