mainboard/gigabyte/*: transition away from device_t
Replace the use of the old device_t definition inside mainboard/gigabyte/*. Change-Id: Ied62d6234a4f6ea5f851e98a098b2c8f4e3db144 Signed-off-by: Antonello Dettori <dev@dettori.io> Reviewed-on: https://review.coreboot.org/16439 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
837618bf20
commit
ef8021cc1b
|
@ -33,7 +33,7 @@
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
#include <cpu/x86/msr.h>
|
#include <cpu/x86/msr.h>
|
||||||
|
|
||||||
static void it8728f_b75md3h_disable_reboot(device_t dev)
|
static void it8728f_b75md3h_disable_reboot(pnp_devfn_t dev)
|
||||||
{
|
{
|
||||||
/* GPIO SIO settings */
|
/* GPIO SIO settings */
|
||||||
ite_reg_write(dev, 0xEF, 0x7E); // magic
|
ite_reg_write(dev, 0xEF, 0x7E); // magic
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
#include <cpu/x86/msr.h>
|
#include <cpu/x86/msr.h>
|
||||||
|
|
||||||
static void it8728f_b75md3v_disable_reboot(device_t dev)
|
static void it8728f_b75md3v_disable_reboot(pnp_devfn_t dev)
|
||||||
{
|
{
|
||||||
/* GPIO SIO settings */
|
/* GPIO SIO settings */
|
||||||
ite_reg_write(dev, 0xEF, 0x7E); // magic
|
ite_reg_write(dev, 0xEF, 0x7E); // magic
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
|
|
||||||
static void mb_gpio_init(void)
|
static void mb_gpio_init(void)
|
||||||
{
|
{
|
||||||
device_t dev;
|
pci_devfn_t dev;
|
||||||
|
|
||||||
/* Southbridge GPIOs. */
|
/* Southbridge GPIOs. */
|
||||||
dev = PCI_DEV(0x0, 0x1f, 0x0);
|
dev = PCI_DEV(0x0, 0x1f, 0x0);
|
||||||
|
|
Loading…
Reference in New Issue