mb/iei: Get rid of device_t

Use of device_t has been abandoned in ramstage.

Change-Id: I2e05cfeeae0f1b3a43eab7ee8059dc13cf474022
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26089
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
This commit is contained in:
Elyes HAOUAS 2018-05-04 20:45:22 +02:00 committed by Martin Roth
parent 49c30ba017
commit dadfb34c41
3 changed files with 3 additions and 3 deletions

View File

@ -57,7 +57,7 @@ static u32 get_bus_conf_done = 0;
void get_bus_conf(void)
{
u32 apicid_base;
device_t dev;
struct device *dev;
int i;
if (get_bus_conf_done == 1)

View File

@ -49,7 +49,7 @@ u8 is_dev3_present(void)
* enable the dedicated function in kino board.
* This function called early than rs780_enable.
*************************************************/
static void mainboard_enable(device_t dev)
static void mainboard_enable(struct device *dev)
{
printk(BIOS_INFO, "Mainboard Kino Enable. dev=0x%p\n", dev);

View File

@ -46,7 +46,7 @@ static void *smp_write_config_table(void *v)
/* I/O APICs: APIC ID Version State Address */
{
device_t dev;
struct device *dev;
u32 dword;
u8 byte;