There is no platform-level implementation for USB port power management in various sleepstates. The mainboards changed here never evaluate the set GNVS variables S3U0, S3U1, S5U0 and S5U1 in ASL or in their SMI handlers. Change-Id: Ia1bc5969804a7346caac4ae93336efd9f0240c87 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/74858 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Frans Hendriks <fhendriks@eltan.com> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Erik van den Bogaert <ebogaert@eltan.com>
23 lines
496 B
C
23 lines
496 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
|
|
#include <acpi/acpi.h>
|
|
#include <acpi/acpi_gnvs.h>
|
|
#include <device/device.h>
|
|
#include <soc/acpi.h>
|
|
#include <soc/nvs.h>
|
|
#include <variant/thermal.h>
|
|
|
|
void mainboard_fill_gnvs(struct global_nvs *gnvs)
|
|
{
|
|
gnvs->tmps = TEMPERATURE_SENSOR_ID;
|
|
gnvs->tcrt = CRITICAL_TEMPERATURE;
|
|
gnvs->tpsv = PASSIVE_TEMPERATURE;
|
|
gnvs->tmax = MAX_TEMPERATURE;
|
|
gnvs->flvl = 1;
|
|
}
|
|
|
|
void mainboard_fill_fadt(acpi_fadt_t *fadt)
|
|
{
|
|
fadt->preferred_pm_profile = PM_MOBILE;
|
|
}
|