summaryrefslogtreecommitdiff
path: root/src/northbridge/via
diff options
context:
space:
mode:
authorAntonello Dettori <dev@dettori.io>2016-11-08 18:44:46 +0100
committerMartin Roth <martinroth@google.com>2016-11-15 18:20:20 +0100
commit8e930c1036a3250404fabc46cb6518e4aefa8fce (patch)
tree2a5cd8327bf8c5c1841c4de562e347b46c20d7be /src/northbridge/via
parent28139522a78a2a9a0bf2bda4a0da807bffe0432b (diff)
downloadcoreboot-8e930c1036a3250404fabc46cb6518e4aefa8fce.tar.xz
northbridge/via/cx700: transition away from device_t
Replace the use of the old device_t definition inside northbridge/via/cx700. Change-Id: I6e25f898ab55ee959f1b3b8aba9616c3ba18986d Signed-off-by: Antonello Dettori <dev@dettori.io> Reviewed-on: https://review.coreboot.org/17315 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/northbridge/via')
-rw-r--r--src/northbridge/via/cx700/early_smbus.c2
-rw-r--r--src/northbridge/via/cx700/raminit.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/northbridge/via/cx700/early_smbus.c b/src/northbridge/via/cx700/early_smbus.c
index b501baf3a3..e106f09d5e 100644
--- a/src/northbridge/via/cx700/early_smbus.c
+++ b/src/northbridge/via/cx700/early_smbus.c
@@ -186,7 +186,7 @@ static unsigned int get_spd_data(const struct mem_controller *ctrl, unsigned int
static void enable_smbus(void)
{
- device_t dev;
+ pci_devfn_t dev;
/* The CX700 ISA Bridge (0x1106, 0x8324) is hardcoded to this location,
* no need to probe.
diff --git a/src/northbridge/via/cx700/raminit.c b/src/northbridge/via/cx700/raminit.c
index f8d709c135..a75be41745 100644
--- a/src/northbridge/via/cx700/raminit.c
+++ b/src/northbridge/via/cx700/raminit.c
@@ -1228,7 +1228,7 @@ static void sdram_enable(const struct mem_controller *ctrl)
{
u8 reg8;
u8 val, i;
- device_t dev;
+ pci_devfn_t dev;
u8 dl, dh;
u32 quot;