[coreboot-gerrit] New patch to review for coreboot: mainboard/via/epia-m700: transition away from device_t

Antonello Dettori (dev@dettori.io) gerrit at coreboot.org
Tue Nov 8 20:00:32 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/17311

-gerrit

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

    mainboard/via/epia-m700: transition away from device_t
    
    Replace the use of the old device_t definition inside
    mainboard/via/epia-m700.
    
    Change-Id: I7a16a9f396d50279cf2bd13de72bd78e8f53f7d8
    Signed-off-by: Antonello Dettori <dev at dettori.io>
---
 src/mainboard/via/epia-m700/romstage.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/mainboard/via/epia-m700/romstage.c b/src/mainboard/via/epia-m700/romstage.c
index 83af426..1c10115 100644
--- a/src/mainboard/via/epia-m700/romstage.c
+++ b/src/mainboard/via/epia-m700/romstage.c
@@ -50,7 +50,7 @@
  */
 static int acpi_is_wakeup_early_via_vx800(void)
 {
-	device_t dev;
+	pci_devfn_t dev;
 	u16 tmp, result;
 
 	printk(BIOS_DEBUG, "In acpi_is_wakeup_early_via_vx800\n");
@@ -76,7 +76,7 @@ static int acpi_is_wakeup_early_via_vx800(void)
 /* All content of this function came from the cx700 port of coreboot. */
 static void enable_mainboard_devices(void)
 {
-	device_t dev;
+	pci_devfn_t dev;
 #if 0
 	/*
 	 * Add and close this switch, since some line cause error, some
@@ -370,7 +370,7 @@ void main(unsigned long bist)
 {
 	u16 boot_mode;
 	u8 rambits, Data8, Data;
-	device_t device;
+	pci_devfn_t device;
 	/* device_t dev; */
 
 	/*



More information about the coreboot-gerrit mailing list