summaryrefslogtreecommitdiff
path: root/src/cpu/intel/common
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-03-03 12:49:56 +0100
committerNico Huber <nico.h@gmx.de>2019-03-04 13:16:29 +0000
commit8ee161daab28a8c9bcd19418d968bb95fc47a190 (patch)
treee49f75a3f221d2962fc7ed42badd098b8904debb /src/cpu/intel/common
parent44206e38bf6e3ddd6a628ceab0c2c982ca6660b3 (diff)
downloadcoreboot-8ee161daab28a8c9bcd19418d968bb95fc47a190.tar.xz
arch/x86/acpi: Remove obsolete acpi_gen_regaddr resv field
Since ACPI v2.c, this field is access_size. Currently, coreboot is using ACPI v3,so we can drop '.resv' field. Change-Id: I7b3b930861669bb05cdc8e81f6502476a0568fe0 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/31701 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/cpu/intel/common')
-rw-r--r--src/cpu/intel/common/common_init.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/cpu/intel/common/common_init.c b/src/cpu/intel/common/common_init.c
index 321c56cf3f..a568ea14e5 100644
--- a/src/cpu/intel/common/common_init.c
+++ b/src/cpu/intel/common/common_init.c
@@ -113,9 +113,7 @@ void cpu_init_cppc_config(struct cppc_config *config, u32 version)
.space_id = ACPI_ADDRESS_SPACE_FIXED,
.bit_width = 8,
.bit_offset = 0,
- {
- .access_size = 4
- },
+ .access_size = 4,
.addrl = 0,
.addrh = 0,
};
@@ -123,9 +121,7 @@ void cpu_init_cppc_config(struct cppc_config *config, u32 version)
.space_id = ACPI_ADDRESS_SPACE_MEMORY,
.bit_width = 0,
.bit_offset = 0,
- {
- .resv = 0
- },
+ .access_size = 0,
.addrl = 0,
.addrh = 0,
};