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:
parent
49c30ba017
commit
dadfb34c41
|
@ -57,7 +57,7 @@ static u32 get_bus_conf_done = 0;
|
||||||
void get_bus_conf(void)
|
void get_bus_conf(void)
|
||||||
{
|
{
|
||||||
u32 apicid_base;
|
u32 apicid_base;
|
||||||
device_t dev;
|
struct device *dev;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
if (get_bus_conf_done == 1)
|
if (get_bus_conf_done == 1)
|
||||||
|
|
|
@ -49,7 +49,7 @@ u8 is_dev3_present(void)
|
||||||
* enable the dedicated function in kino board.
|
* enable the dedicated function in kino board.
|
||||||
* This function called early than rs780_enable.
|
* 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);
|
printk(BIOS_INFO, "Mainboard Kino Enable. dev=0x%p\n", dev);
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@ static void *smp_write_config_table(void *v)
|
||||||
|
|
||||||
/* I/O APICs: APIC ID Version State Address */
|
/* I/O APICs: APIC ID Version State Address */
|
||||||
{
|
{
|
||||||
device_t dev;
|
struct device *dev;
|
||||||
u32 dword;
|
u32 dword;
|
||||||
u8 byte;
|
u8 byte;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue