[coreboot-gerrit] New patch to review for coreboot: mainboard/supermicro/h8qgi: transition away from device_t
Antonello Dettori (dev@dettori.io)
gerrit at coreboot.org
Tue Nov 8 20:00:17 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/17305
-gerrit
commit 04a00740bfe987c1910d50202e5ef95729f24a5b
Author: Antonello Dettori <dev at dettori.io>
Date: Tue Nov 8 18:44:46 2016 +0100
mainboard/supermicro/h8qgi: transition away from device_t
Replace the use of the old device_t definition inside
mainboard/supermicro/h8qgi.
Change-Id: I6cf123272283edbf89e854e4aa1a15a2d566133e
Signed-off-by: Antonello Dettori <dev at dettori.io>
---
src/mainboard/supermicro/h8qgi/BiosCallOuts.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mainboard/supermicro/h8qgi/BiosCallOuts.c b/src/mainboard/supermicro/h8qgi/BiosCallOuts.c
index ac978a1..9a91568 100644
--- a/src/mainboard/supermicro/h8qgi/BiosCallOuts.c
+++ b/src/mainboard/supermicro/h8qgi/BiosCallOuts.c
@@ -38,7 +38,7 @@
static UINT8 select_socket(UINT8 socket_id)
{
- device_t sm_dev = PCI_DEV(0, 0x14, 0); //SMBus
+ pci_devfn_t sm_dev = PCI_DEV(0, 0x14, 0); //SMBus
UINT8 value = 0;
UINT8 gpio56_to_53 = 0;
@@ -61,7 +61,7 @@ static UINT8 select_socket(UINT8 socket_id)
static void restore_socket(UINT8 original_value)
{
- device_t sm_dev = PCI_DEV(0, 0x14, 0); //SMBus
+ pci_devfn_t sm_dev = PCI_DEV(0, 0x14, 0); //SMBus
pci_write_config8(sm_dev, PCI_REG_GPIO_56_to_53_CNTRL, original_value);
}
#endif
More information about the coreboot-gerrit
mailing list