aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/denverton_ns/cpu.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-27 17:40:58 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2018-06-04 02:36:19 +0000
commit2ec4183c3c93728e5f94e57fe1d10d72843ca7ec (patch)
tree97c0934bc174e1407a61b1f57f6c2388925e6c4a /src/soc/intel/denverton_ns/cpu.c
parent143fb46d47f8450d91820cf8f5ec6d9f524e8e49 (diff)
soc/intel/denverton_ns: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: I15e624b40d11f61a3870a6083be82d062690498d Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26587 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/denverton_ns/cpu.c')
-rw-r--r--src/soc/intel/denverton_ns/cpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/denverton_ns/cpu.c b/src/soc/intel/denverton_ns/cpu.c
index 528d2e5ae6..d486435a5b 100644
--- a/src/soc/intel/denverton_ns/cpu.c
+++ b/src/soc/intel/denverton_ns/cpu.c
@@ -33,7 +33,7 @@
static struct smm_relocation_attrs relo_attrs;
-static void denverton_core_init(device_t cpu)
+static void denverton_core_init(struct device *cpu)
{
msr_t msr;
@@ -246,7 +246,7 @@ static const struct mp_ops mp_ops = {
.post_mp_init = post_mp_init,
};
-void denverton_init_cpus(device_t dev)
+void denverton_init_cpus(struct device *dev)
{
/* Clear for take-off */
if (mp_init_with_smm(dev->link_list, &mp_ops) < 0)