diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-04 21:50:26 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-05-09 13:16:25 +0000 |
commit | 0a0632590768a6e84f6633e559d02e40e6ee1caf (patch) | |
tree | b0de1b8277d7df3c4486e35b900a577539ab0fc7 /src/mainboard/technexion/tim8690 | |
parent | 477a516ec3e97bd419d41f6b432eff19b722b9f2 (diff) |
mb/technexion: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: I6efd1675b1124b200b5ff16fdef91c10b77b69d1
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26094
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/mainboard/technexion/tim8690')
-rw-r--r-- | src/mainboard/technexion/tim8690/get_bus_conf.c | 2 | ||||
-rw-r--r-- | src/mainboard/technexion/tim8690/mainboard.c | 6 | ||||
-rw-r--r-- | src/mainboard/technexion/tim8690/mptable.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/mainboard/technexion/tim8690/get_bus_conf.c b/src/mainboard/technexion/tim8690/get_bus_conf.c index dc6833a05f..b1b7270802 100644 --- a/src/mainboard/technexion/tim8690/get_bus_conf.c +++ b/src/mainboard/technexion/tim8690/get_bus_conf.c @@ -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) diff --git a/src/mainboard/technexion/tim8690/mainboard.c b/src/mainboard/technexion/tim8690/mainboard.c index 9e1c58d29e..2f2b453994 100644 --- a/src/mainboard/technexion/tim8690/mainboard.c +++ b/src/mainboard/technexion/tim8690/mainboard.c @@ -49,7 +49,7 @@ static void enable_onboard_nic(void) { u8 byte; - device_t sm_dev; + struct device *sm_dev; printk(BIOS_INFO, "enable_onboard_nic.\n"); @@ -75,7 +75,7 @@ static void set_thermal_config(void) { u8 byte; u16 word; - device_t sm_dev; + struct device *sm_dev; /* set ADT 7461 */ ADT7461_write_byte(0x0B, 0x50); /* Local Temperature Hight limit */ @@ -136,7 +136,7 @@ static void set_thermal_config(void) * enable the dedicated function in tim8690 board. * This function called early than rs690_enable. *************************************************/ -static void mainboard_enable(device_t dev) +static void mainboard_enable(struct device *dev) { printk(BIOS_INFO, "Mainboard tim8690 Enable. dev=0x%p\n", dev); diff --git a/src/mainboard/technexion/tim8690/mptable.c b/src/mainboard/technexion/tim8690/mptable.c index 8895163651..9515931627 100644 --- a/src/mainboard/technexion/tim8690/mptable.c +++ b/src/mainboard/technexion/tim8690/mptable.c @@ -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; |