aboutsummaryrefslogtreecommitdiff
path: root/src/vendorcode/amd/cimx/sb900/AcpiLib.c
diff options
context:
space:
mode:
authorMarc Jones <marcj303@gmail.com>2018-08-23 10:33:29 -0600
committerMartin Roth <martinroth@google.com>2018-08-27 15:26:33 +0000
commitf2592f9bcefa3031bf339f45911cb4033a5753b8 (patch)
tree7eb28d8963f39317f5045b0797cfc6337fe71984 /src/vendorcode/amd/cimx/sb900/AcpiLib.c
parent56508967d8b433b2821d54207370332e1f319354 (diff)
vendorcode/amd/cimx/sb*: Rename RSDP header
Rename RSDP to RSDP_HEADER to match other AMD vendorcode and to not pollute the namespace. We will use RSDP in a future patch. Change-Id: I3b66135ae1732b86b5ebfcdc01a850a0d9d3eb50 Signed-off-by: Marc Jones <marcj303@gmail.com> Reviewed-on: https://review.coreboot.org/28294 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/vendorcode/amd/cimx/sb900/AcpiLib.c')
-rw-r--r--src/vendorcode/amd/cimx/sb900/AcpiLib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vendorcode/amd/cimx/sb900/AcpiLib.c b/src/vendorcode/amd/cimx/sb900/AcpiLib.c
index 2b8a38961b..845b34df12 100644
--- a/src/vendorcode/amd/cimx/sb900/AcpiLib.c
+++ b/src/vendorcode/amd/cimx/sb900/AcpiLib.c
@@ -61,7 +61,7 @@ ACPI_LocateTable (
// if ( *RsdPtr == ' DSR' && *(RsdPtr + 1) == ' RTP' ) {
// if ( (*RsdPtr == 0x52534420) && (*(RsdPtr + 1) == 0x50545220) ) {
if ( (*RsdPtr == 0x20445352) && (*(RsdPtr + 1) == 0x20525450) ) {
- Rsdt = (UINT32*) (UINTN) ((RSDP*)RsdPtr)->RsdtAddress;
+ Rsdt = (UINT32*) (UINTN) ((RSDP_HEADER*)RsdPtr)->RsdtAddress;
break;
}
RsdPtr += 4;