[coreboot-gerrit] New patch to review for coreboot: northbridge/via/cx700: transition away from device_t

Antonello Dettori (dev@dettori.io) gerrit at coreboot.org
Tue Nov 8 20:00:44 CET 2016


Antonello Dettori (dev at dettori.io) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17315

-gerrit

commit 682a477954f56b89217cfac4ac57a11be3434c6a
Author: Antonello Dettori <dev at dettori.io>
Date:   Tue Nov 8 18:44:46 2016 +0100

    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 at dettori.io>
---
 src/northbridge/via/cx700/early_smbus.c | 2 +-
 src/northbridge/via/cx700/raminit.c     | 2 +-
 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 b501baf..e106f09 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 f8d709c..a75be41 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;
 



More information about the coreboot-gerrit mailing list