coreboot/src
Kyösti Mälkki 9e591c409a soc/amd: Refactor some ACPI S3 calls
Do not pass ACPI S3 state as a parameter, by locally
calling acpi_is_wakeup_s3() compiler has better chance
for optimizing HAVE_ACPI_RESUME=n case.

Test for acpi_s3_allowed() is already included in the
implementation of acpi_is_wakeup_s3() and is removed
as redunandant.

For ramstage, acpi_is_wakeup_s3() evaluates to
romstage_handoff_if_resume().

Change-Id: I6c1e00ec3d5be9a47b9d911c73965bc0c2b17624
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49838
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2021-01-26 00:17:38 +00:00
..
acpi ACPI: Clean up GNVS initialisation 2021-01-24 19:57:17 +00:00
arch arm64/armv8: Set ARCH_ARMV8_EXTENSION depend on ARCH_ARM64 2021-01-25 08:55:08 +00:00
commonlib drivers/tpm: Implement full PPI 2020-12-21 02:38:20 +00:00
console lib/trace: Remove TRACE support 2020-12-02 23:35:58 +00:00
cpu cpu/x86/smm: Use common APMC logging 2021-01-25 10:35:23 +00:00
device device/pci_rom.c: Use __func__ 2021-01-24 21:22:34 +00:00
drivers drivers/intel/fsp2_0/header_display.c: Correct component_attribute check 2021-01-25 08:56:13 +00:00
ec ec/google/wilco: Convert to ASL 2.0 syntax 2021-01-24 21:51:39 +00:00
include cpu/x86/smm: Use common APMC logging 2021-01-25 10:35:23 +00:00
lib src/lib/: Remove "this file is part of" line 2021-01-25 09:06:37 +00:00
mainboard soc/amd: Refactor some ACPI S3 calls 2021-01-26 00:17:38 +00:00
northbridge nb/intel/ironlake: Drop constant parameter 2021-01-25 09:09:59 +00:00
security security/tpm/tss/tcg-1.2/tss.c: Use __func__ 2021-01-19 08:58:50 +00:00
soc soc/amd: Refactor some ACPI S3 calls 2021-01-26 00:17:38 +00:00
southbridge sb,soc/intel: Remove no-op APMC for C-state and P-state 2021-01-25 10:37:13 +00:00
superio src/superio: trim and move Makefile.inc, instead use wildcard matches 2020-12-27 14:46:07 +00:00
vendorcode soc/amd/picasso: Add UPDs for support eDP power sequence adjust 2021-01-25 09:10:51 +00:00
Kconfig Kconfig: Show console debug options if loglevel override is set 2020-12-11 15:58:24 +00:00