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>
This commit is contained in:
Elyes HAOUAS
2018-05-27 16:57:24 +02:00
committed by Martin Roth
parent 040aff2745
commit 3c8b5d00c3
6 changed files with 10 additions and 10 deletions

View File

@@ -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