summaryrefslogtreecommitdiff
path: root/src/northbridge
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-02-09 08:43:01 +0100
committerPatrick Georgi <pgeorgi@google.com>2018-04-30 09:23:28 +0000
commit64d2d106a46036069eba00c75872a499f0678351 (patch)
treef2a52cbff30a289c6d50f1965b53301744b1a73e /src/northbridge
parent6275360d562630bd538fb804bc00525ac31b5f37 (diff)
nb/intel/i440: Get rid of device_t
Use of `device_t` has been abandoned in ramstage. Change-Id: Ibd01659f518b7a2b1aaf334fe5b16cfb936b68b7 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/23672 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/northbridge')
-rw-r--r--src/northbridge/intel/i440bx/northbridge.c6
-rw-r--r--src/northbridge/intel/i440bx/northbridge.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/northbridge/intel/i440bx/northbridge.c b/src/northbridge/intel/i440bx/northbridge.c
index 8e5aa1191f..1245be65fb 100644
--- a/src/northbridge/intel/i440bx/northbridge.c
+++ b/src/northbridge/intel/i440bx/northbridge.c
@@ -12,7 +12,7 @@
#include "northbridge.h"
#include "i440bx.h"
-static void northbridge_init(device_t dev)
+static void northbridge_init(struct device *dev)
{
printk(BIOS_SPEW, "Northbridge Init\n");
}
@@ -32,7 +32,7 @@ static const struct pci_driver northbridge_driver __pci_driver = {
.device = 0x7190,
};
-static void i440bx_domain_set_resources(device_t dev)
+static void i440bx_domain_set_resources(struct device *dev)
{
device_t mc_dev;
uint32_t pci_tolm;
@@ -82,7 +82,7 @@ static struct device_operations pci_domain_ops = {
.ops_pci_bus = pci_bus_default_ops,
};
-static void cpu_bus_init(device_t dev)
+static void cpu_bus_init(struct device *dev)
{
initialize_cpus(dev->link_list);
}
diff --git a/src/northbridge/intel/i440bx/northbridge.h b/src/northbridge/intel/i440bx/northbridge.h
index 5b721b5003..8df5666d4b 100644
--- a/src/northbridge/intel/i440bx/northbridge.h
+++ b/src/northbridge/intel/i440bx/northbridge.h
@@ -17,6 +17,6 @@
#ifndef NORTHBRIDGE_INTEL_440BX_H
#define NORTHBRIDGE_INTEL_440BX_H
-extern unsigned int i440bx_scan_root_bus(device_t root, unsigned int max);
+extern unsigned int i440bx_scan_root_bus(struct device *root, unsigned int max);
#endif /* NORTHBRIDGE_INTEL_440BX_H */