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:
committed by
Martin Roth
parent
040aff2745
commit
3c8b5d00c3
@@ -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
|
||||
|
Reference in New Issue
Block a user