summaryrefslogtreecommitdiff
path: root/src/soc/intel/braswell/cpu.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-24 22:29:44 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2018-06-04 02:34:28 +0000
commitb13fac37ebfe9451229be1c3ebefd9c05f8afb49 (patch)
tree16cbafd9959681b20c3735ad41a3080c5a6f41dd /src/soc/intel/braswell/cpu.c
parent15a487a57666a7eb42d33f41e4a235efe67439d8 (diff)
soc/intel/braswell: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: I05a46ab0ae6b4493895c1231fedb59c96efdf793 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26457 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/soc/intel/braswell/cpu.c')
-rw-r--r--src/soc/intel/braswell/cpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/braswell/cpu.c b/src/soc/intel/braswell/cpu.c
index ed7e2faac8..31b1b78142 100644
--- a/src/soc/intel/braswell/cpu.c
+++ b/src/soc/intel/braswell/cpu.c
@@ -45,7 +45,7 @@ static const struct reg_script core_msr_script[] = {
REG_SCRIPT_END
};
-static void soc_core_init(device_t cpu)
+static void soc_core_init(struct device *cpu)
{
printk(BIOS_SPEW, "%s/%s ( %s )\n",
__FILE__, __func__, dev_name(cpu));
@@ -215,7 +215,7 @@ static const struct mp_ops mp_ops = {
.post_mp_init = southcluster_smm_enable_smi,
};
-void soc_init_cpus(device_t dev)
+void soc_init_cpus(struct device *dev)
{
struct bus *cpu_bus = dev->link_list;