summaryrefslogtreecommitdiffstats
path: root/src/soc/amd/stoneyridge/acpi/globalnvs.asl
diff options
context:
space:
mode:
authorMarshall Dawson <marshalldawson3rd@gmail.com>2018-09-27 08:31:02 -0600
committerMartin Roth <martinroth@google.com>2018-10-01 14:32:17 +0000
commitd61e347bffae29e6db179641652602226711e401 (patch)
tree8781df30c45ff2eeebbc527b1658adc0311f931c /src/soc/amd/stoneyridge/acpi/globalnvs.asl
parentfc458cdc5374a293483455acdd42cdbdd032ae27 (diff)
downloadcoreboot-d61e347bffae29e6db179641652602226711e401.tar.gz
coreboot-d61e347bffae29e6db179641652602226711e401.tar.bz2
coreboot-d61e347bffae29e6db179641652602226711e401.zip
amd/stoneyridge: Add USB settings to gnvs
A later patch will rely on two USB settings from the BIOS. Add these to the global_gnvs_t structure. The first is a data that will be used to locate the xHCI firmware for reloading after a resume. Although the existing calculations will be somewhat simple, keeping this on the coreboot side will help in the event multiple FWs are eventually in the build. The second item is a usable EHCI base address that may be programmed during S3 suspend and resume. At the time the PTS and WAK code runs, the BAR will be clear. BUG=b:77602074 Change-Id: I32205ac8a6908cca4a38dd68a7c7b591e76c06bb Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-on: https://review.coreboot.org/28766 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/soc/amd/stoneyridge/acpi/globalnvs.asl')
-rw-r--r--src/soc/amd/stoneyridge/acpi/globalnvs.asl5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/soc/amd/stoneyridge/acpi/globalnvs.asl b/src/soc/amd/stoneyridge/acpi/globalnvs.asl
index 810c97b9e4e7..03d205f8d34a 100644
--- a/src/soc/amd/stoneyridge/acpi/globalnvs.asl
+++ b/src/soc/amd/stoneyridge/acpi/globalnvs.asl
@@ -66,6 +66,11 @@ Field (GNVS, ByteAcc, NoLock, Preserve)
, 2,
ESPI, 1, // ESPI, 27
, 4,
+ FW00, 16, // 0x38 - xHCI FW ROM addr, boot RAM
+ FW02, 16, // 0x3A - xHCI FW ROM addr, Instruction RAM
+ FW01, 32, // 0x3C - xHCI FW RAM addr, boot RAM
+ FW03, 32, // 0x40 - xHCI FW RAM addr, Instruction RAM
+ EH10, 32, // 0x44 - EHCI BAR
/* ChromeOS stuff (0x100 -> 0xfff, size 0xeff) */
Offset (0x100),
#include <vendorcode/google/chromeos/acpi/gnvs.asl>