aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/siemens/sitemp_g1p1
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-04 21:58:51 +0200
committerMartin Roth <martinroth@google.com>2018-05-08 14:23:27 +0000
commit47503cd688f6e5f092fccd4be9293ff84dd6ae4b (patch)
treef759631d89c1e22f7b2bc8fb3b2fec3cc95a8ab2 /src/mainboard/siemens/sitemp_g1p1
parent66ea1654f208b398d17ce9e5ad35f3088d13b6e9 (diff)
mb/siemens: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: If67ea25a9e1363dde8aefe62b92ee7a61f0458b0 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26097 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com>
Diffstat (limited to 'src/mainboard/siemens/sitemp_g1p1')
-rw-r--r--src/mainboard/siemens/sitemp_g1p1/acpi_tables.c4
-rw-r--r--src/mainboard/siemens/sitemp_g1p1/get_bus_conf.c2
-rw-r--r--src/mainboard/siemens/sitemp_g1p1/mptable.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/siemens/sitemp_g1p1/acpi_tables.c b/src/mainboard/siemens/sitemp_g1p1/acpi_tables.c
index 0787d7ae7f..0ced54b457 100644
--- a/src/mainboard/siemens/sitemp_g1p1/acpi_tables.c
+++ b/src/mainboard/siemens/sitemp_g1p1/acpi_tables.c
@@ -44,7 +44,7 @@ typedef struct {
static void acpi_write_gvars(global_vars_t *gvars)
{
- device_t dev;
+ struct device *dev;
struct resource *res;
memset((void *)gvars, 0, GLOBAL_VARS_SIZE);
@@ -86,7 +86,7 @@ unsigned long acpi_fill_madt(unsigned long current)
return current;
}
-void mainboard_inject_dsdt(device_t device)
+void mainboard_inject_dsdt(struct device *device)
{
global_vars_t *gnvs = cbmem_add (CBMEM_ID_ACPI_GNVS, GLOBAL_VARS_SIZE);
diff --git a/src/mainboard/siemens/sitemp_g1p1/get_bus_conf.c b/src/mainboard/siemens/sitemp_g1p1/get_bus_conf.c
index dc6833a05f..b1b7270802 100644
--- a/src/mainboard/siemens/sitemp_g1p1/get_bus_conf.c
+++ b/src/mainboard/siemens/sitemp_g1p1/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/siemens/sitemp_g1p1/mptable.c b/src/mainboard/siemens/sitemp_g1p1/mptable.c
index 832a79e984..3515d304fb 100644
--- a/src/mainboard/siemens/sitemp_g1p1/mptable.c
+++ b/src/mainboard/siemens/sitemp_g1p1/mptable.c
@@ -45,7 +45,7 @@ static void *smp_write_config_table(void *v)
mptable_write_buses(mc, NULL, &isa_bus);
/* I/O APICs: APIC ID Version State Address */
{
- device_t dev;
+ struct device *dev;
dev = dev_find_slot(bus_sb600[0], PCI_DEVFN(sbdn_sb600 + 0x14, 0));
if (dev) {