From 7e438af99575365a97f87f59e83e1224571ac5c2 Mon Sep 17 00:00:00 2001 From: Marc Jones Date: Thu, 23 Feb 2017 22:06:01 -0700 Subject: mainboard/amd/gardenia: Remove PMxEE write on S4 resume Delete the write to PM register 0xee. This register is not listed in the current BKDG and S4 is not currently supported on this APU. NDA document #47517 "A55/.../A85X fusion Controller Hub Register Reference Guide" provides some clues on the intent of this write. This register has always been observed to power on with a value of 0x08 so the write has no effect. This should be revisited again when SMI and PSP fully implement the support required for S3. Change-Id: I35e6c5f7ad1de7f51b018543d2f7ce82182f11e4 Signed-off-by: Marc Jones Reviewed-on: https://review.coreboot.org/18494 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/mainboard/amd/gardenia/romstage.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/mainboard/amd/gardenia') diff --git a/src/mainboard/amd/gardenia/romstage.c b/src/mainboard/amd/gardenia/romstage.c index 0136a98344..75674a090a 100644 --- a/src/mainboard/amd/gardenia/romstage.c +++ b/src/mainboard/amd/gardenia/romstage.c @@ -66,11 +66,6 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx) /* TODO: Disable cache is not ok. */ disable_cache_as_ram(); - if (acpi_is_wakeup_s4()) { - outb(0xEE, PM_INDEX); - outb(0x8, PM_DATA); - } - post_code(0x50); copy_and_run(); -- cgit v1.2.3