summaryrefslogtreecommitdiff
path: root/src/mainboard/kontron/kt690
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-04 22:09:07 +0200
committerMartin Roth <martinroth@google.com>2018-05-08 03:03:59 +0000
commitf65f297eff400fec8b95ebdf807bfaed69863086 (patch)
treee444d333423ba03ced6061e417a19fc59c4705cd /src/mainboard/kontron/kt690
parent070b2d97e537e3eca356559d6938dc0fc502cbb3 (diff)
downloadcoreboot-f65f297eff400fec8b95ebdf807bfaed69863086.tar.xz
mb/kontron: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: Iac341f592acd777fe9ba22cfbca19d4cbdb4916e Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26103 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/mainboard/kontron/kt690')
-rw-r--r--src/mainboard/kontron/kt690/get_bus_conf.c2
-rw-r--r--src/mainboard/kontron/kt690/mainboard.c4
-rw-r--r--src/mainboard/kontron/kt690/mptable.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/kontron/kt690/get_bus_conf.c b/src/mainboard/kontron/kt690/get_bus_conf.c
index dc6833a05f..b1b7270802 100644
--- a/src/mainboard/kontron/kt690/get_bus_conf.c
+++ b/src/mainboard/kontron/kt690/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/kontron/kt690/mainboard.c b/src/mainboard/kontron/kt690/mainboard.c
index f01e5217f0..de6c0bb5c9 100644
--- a/src/mainboard/kontron/kt690/mainboard.c
+++ b/src/mainboard/kontron/kt690/mainboard.c
@@ -115,7 +115,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 */
@@ -176,7 +176,7 @@ static void set_thermal_config(void)
* enable the dedicated function in dbm690t 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 KT690 Enable. dev=0x%p\n", dev);
diff --git a/src/mainboard/kontron/kt690/mptable.c b/src/mainboard/kontron/kt690/mptable.c
index 8895163651..9515931627 100644
--- a/src/mainboard/kontron/kt690/mptable.c
+++ b/src/mainboard/kontron/kt690/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;