diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-27 16:30:36 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-06-01 16:26:09 +0000 |
commit | 040aff27458ff2e41052c14cf4a981641313a3f6 (patch) | |
tree | a29d50b5d00052e59904357e8751e14876db6b8c /src/soc/intel/broadwell/cpu.c | |
parent | 4f41336fd8cb99cb871dcff12c82faf06e6ac967 (diff) | |
download | coreboot-040aff27458ff2e41052c14cf4a981641313a3f6.tar.xz |
soc/intel/broadwell: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: I043f4169ad080f9a449c8780500332c9512b62ff
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26583
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/broadwell/cpu.c')
-rw-r--r-- | src/soc/intel/broadwell/cpu.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/soc/intel/broadwell/cpu.c b/src/soc/intel/broadwell/cpu.c index ecb7247900..ee1fd528cc 100644 --- a/src/soc/intel/broadwell/cpu.c +++ b/src/soc/intel/broadwell/cpu.c @@ -197,7 +197,7 @@ static int pcode_mailbox_write(u32 command, u32 data) static void initialize_vr_config(void) { - device_t dev = SA_DEV_ROOT; + struct device *dev = SA_DEV_ROOT; config_t *conf = dev->chip_info; msr_t msr; @@ -452,7 +452,7 @@ static void configure_c_states(void) static void configure_thermal_target(void) { - device_t dev = SA_DEV_ROOT; + struct device *dev = SA_DEV_ROOT; config_t *conf = dev->chip_info; msr_t msr; @@ -572,7 +572,7 @@ static void configure_mca(void) } /* All CPUs including BSP will run the following function. */ -static void cpu_core_init(device_t cpu) +static void cpu_core_init(struct device *cpu) { /* Clear out pending MCEs */ configure_mca(); @@ -672,7 +672,7 @@ static const struct mp_ops mp_ops = { .post_mp_init = post_mp_init, }; -void broadwell_init_cpus(device_t dev) +void broadwell_init_cpus(struct device *dev) { struct bus *cpu_bus = dev->link_list; |