[coreboot-gerrit] New patch to review for coreboot: mainboard/supermicro/h8qme_fam10: transition away from device_t

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

-gerrit

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

    mainboard/supermicro/h8qme_fam10: transition away from device_t
    
    Replace the use of the old device_t definition inside
    mainboard/supermicro/h8qme_fam10.
    
    Change-Id: Ia03c205ce498eadf8a34749a6a21fb2d0b29c840
    Signed-off-by: Antonello Dettori <dev at dettori.io>
---
 src/mainboard/supermicro/h8qme_fam10/romstage.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mainboard/supermicro/h8qme_fam10/romstage.c b/src/mainboard/supermicro/h8qme_fam10/romstage.c
index 16f0d8a..25cf7d7 100644
--- a/src/mainboard/supermicro/h8qme_fam10/romstage.c
+++ b/src/mainboard/supermicro/h8qme_fam10/romstage.c
@@ -113,14 +113,14 @@ static const u8 spd_addr[] = {
 #define GPIO3_DEV PNP_DEV(0x2e, W83627HF_GPIO3)
 
 /* TODO: superio code should really not be in mainboard */
-static void pnp_enter_ext_func_mode(device_t dev)
+static void pnp_enter_ext_func_mode(pnp_devfn_t dev)
 {
 	u16 port = dev >> 8;
 	outb(0x87, port);
 	outb(0x87, port);
 }
 
-static void pnp_exit_ext_func_mode(device_t dev)
+static void pnp_exit_ext_func_mode(pnp_devfn_t dev)
 {
 	u16 port = dev >> 8;
 	outb(0xaa, port);



More information about the coreboot-gerrit mailing list