mb/avalue: Get rid of device_t

Use of device_t has been abandoned in ramstage.

Change-Id: I7f1276ee593928956913eaeecd62fd3018cc9ae2
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26077
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 20:02:58 +02:00 committed by Patrick Georgi
parent 51c6a610d8
commit 477a516ec3
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 EAX-785E board. * enable the dedicated function in EAX-785E 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 " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n"); printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n");