Nick: Boot_Dawg E-mail: none Board: superiotool Contents: git log origin/master commit 9e591c409a3e3264f54a3784b0891a7f27dd52d8 (origin/master, origin/HEAD) Author: Kyösti Mälkki Date: Sat Jan 9 12:37:25 2021 +0200 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/49838 Reviewed-by: Felix Held Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) :