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@dettori.io> Reviewed-on: https://review.coreboot.org/17306 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
6fec83a2f9
commit
c8a5aa5c3a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue