cpu/x86/smm/pci_resource_store: Store DEV/VEN ID
[coreboot2.git] / src / mainboard / google / parrot / acpi_tables.c
blob92a555353d9a3845773692a876e99a95e8e343e9
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <acpi/acpi_gnvs.h>
4 #include <device/device.h>
5 #include "ec.h"
7 #include <southbridge/intel/bd82x6x/pch.h>
8 #include <soc/nvs.h>
9 #include "thermal.h"
10 #include "onboard.h"
12 void mainboard_fill_gnvs(struct global_nvs *gnvs)
14 /* EC handles all active thermal and fan control on Parrot. */
15 gnvs->tcrt = CRITICAL_TEMPERATURE;
16 gnvs->tpsv = PASSIVE_TEMPERATURE;
18 // the lid is open by default.
19 gnvs->lids = 1;
21 // set trackpad IRQ
22 if (parrot_rev() < 0x2) { /* DVT vs PVT */
23 gnvs->tpiq = BOARD_TRACKPAD_IRQ_DVT;
24 } else {
25 gnvs->tpiq = BOARD_TRACKPAD_IRQ_PVT;