summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorHimanshu Sahdev <himanshusah@hcl.com>2019-10-21 11:23:20 +0530
committerPatrick Georgi <pgeorgi@google.com>2019-10-24 07:44:34 +0000
commitafd05050335b3fbcf70f7e3899639c2f65557280 (patch)
tree0c2eeb26e303fce409d49eae565f104319987ec0 /src/arch
parentbc36e298f998f8126837b4ea8e2e56566dc078dc (diff)
arch/acpi.h: Use of typedef for acpi_vfct_image_hdr
Use of typedef and modify the usage accordingly. Change-Id: I65581702a60dbd286cb3910c6eeef5f9e1853cf1 Signed-off-by: Himanshu Sahdev <himanshusah@hcl.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36184 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/include/arch/acpi.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/x86/include/arch/acpi.h b/src/arch/x86/include/arch/acpi.h
index 6cd4e9fae8..c3420f80f3 100644
--- a/src/arch/x86/include/arch/acpi.h
+++ b/src/arch/x86/include/arch/acpi.h
@@ -251,7 +251,7 @@ typedef struct acpi_madt {
} __packed acpi_madt_t;
/* VFCT image header */
-struct acpi_vfct_image_hdr {
+typedef struct acpi_vfct_image_hdr {
u32 PCIBus;
u32 PCIDevice;
u32 PCIFunction;
@@ -262,7 +262,7 @@ struct acpi_vfct_image_hdr {
u32 Revision;
u32 ImageLength;
u8 VbiosContent; // dummy - copy VBIOS here
-} __packed;
+} __packed acpi_vfct_image_hdr_t;
/* VFCT (VBIOS Fetch Table) */
struct acpi_vfct {
@@ -271,7 +271,7 @@ struct acpi_vfct {
u32 VBIOSImageOffset;
u32 Lib1ImageOffset;
u32 Reserved[4];
- struct acpi_vfct_image_hdr image_hdr;
+ acpi_vfct_image_hdr_t image_hdr;
} __packed;
typedef struct acpi_ivrs_info {