soc/amd/common: Remove redundant ACPI S3 test
Possible allowance to do wakeup is already evaluated early in romstage, so these tests are redundant. Change-Id: I7c7a9ecbfcb82790e477d906a00f9749103b4045 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/27276 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-by: Richard Spiegel <richard.spiegel@silverbackltd.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
@@ -155,7 +155,9 @@ struct chip_operations soc_amd_stoneyridge_ops = {
|
||||
|
||||
static void earliest_ramstage(void *unused)
|
||||
{
|
||||
if (!romstage_handoff_is_resume()) {
|
||||
int s3_resume = acpi_s3_resume_allowed() &&
|
||||
romstage_handoff_is_resume();
|
||||
if (!s3_resume) {
|
||||
post_code(0x46);
|
||||
if (IS_ENABLED(CONFIG_SOC_AMD_PSP_SELECTABLE_SMU_FW))
|
||||
psp_load_named_blob(MBOX_BIOS_CMD_SMU_FW2, "smu_fw2");
|
||||
|
Reference in New Issue
Block a user