mb/a785e-i: Get rid of device_t

Use of device_t has been abandoned in ramstage.

Change-Id: I15f160c1e30496461f7100e3bd3a2e2467c64c4a
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26071
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
This commit is contained in:
Elyes HAOUAS 2018-05-04 19:23:16 +02:00 committed by Patrick Georgi
parent 99f0a51de3
commit a07b542fad
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,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)

View File

@ -64,7 +64,7 @@ u8 is_dev3_present(void)
* enable the dedicated function in A785E-I board. * enable the dedicated function in A785E-I 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 A785E-I Enable. dev=0x%p\n", dev); printk(BIOS_INFO, "Mainboard A785E-I Enable. dev=0x%p\n", dev);