aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/cannonlake/cpu.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-27 16:57:24 +0200
committerMartin Roth <martinroth@google.com>2018-06-01 16:26:25 +0000
commit3c8b5d00c3e52d4149ff842f674ce0f68cd86509 (patch)
treecc5fa9484f53de0400aaff6214611d35bb7b54d7 /src/soc/intel/cannonlake/cpu.c
parent040aff27458ff2e41052c14cf4a981641313a3f6 (diff)
soc/intel/cannonlake: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: Iea56a6560bb23d48d19211304e57fc08e1c27fd6 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26584 Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/cannonlake/cpu.c')
-rw-r--r--src/soc/intel/cannonlake/cpu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/intel/cannonlake/cpu.c b/src/soc/intel/cannonlake/cpu.c
index a0797bc9c8..dc413e2df1 100644
--- a/src/soc/intel/cannonlake/cpu.c
+++ b/src/soc/intel/cannonlake/cpu.c
@@ -36,7 +36,7 @@ static void soc_fsp_load(void)
static void configure_isst(void)
{
- device_t dev = SA_DEV_ROOT;
+ struct device *dev = SA_DEV_ROOT;
config_t *conf = dev->chip_info;
msr_t msr;
@@ -62,7 +62,7 @@ static void configure_isst(void)
static void configure_misc(void)
{
- device_t dev = SA_DEV_ROOT;
+ struct device *dev = SA_DEV_ROOT;
config_t *conf = dev->chip_info;
msr_t msr;
@@ -166,7 +166,7 @@ static void configure_c_states(void)
}
/* All CPUs including BSP will run the following function. */
-void soc_core_init(device_t cpu)
+void soc_core_init(struct device *cpu)
{
/* Clear out pending MCEs */
/* TODO(adurbin): This should only be done on a cold boot. Also, some