northbridge/via/cx700: transition away from device_t
Replace the use of the old device_t definition inside northbridge/via/cx700. Change-Id: I6e25f898ab55ee959f1b3b8aba9616c3ba18986d Signed-off-by: Antonello Dettori <dev@dettori.io> Reviewed-on: https://review.coreboot.org/17315 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
28139522a7
commit
8e930c1036
|
@ -186,7 +186,7 @@ static unsigned int get_spd_data(const struct mem_controller *ctrl, unsigned int
|
||||||
|
|
||||||
static void enable_smbus(void)
|
static void enable_smbus(void)
|
||||||
{
|
{
|
||||||
device_t dev;
|
pci_devfn_t dev;
|
||||||
|
|
||||||
/* The CX700 ISA Bridge (0x1106, 0x8324) is hardcoded to this location,
|
/* The CX700 ISA Bridge (0x1106, 0x8324) is hardcoded to this location,
|
||||||
* no need to probe.
|
* no need to probe.
|
||||||
|
|
|
@ -1228,7 +1228,7 @@ static void sdram_enable(const struct mem_controller *ctrl)
|
||||||
{
|
{
|
||||||
u8 reg8;
|
u8 reg8;
|
||||||
u8 val, i;
|
u8 val, i;
|
||||||
device_t dev;
|
pci_devfn_t dev;
|
||||||
u8 dl, dh;
|
u8 dl, dh;
|
||||||
u32 quot;
|
u32 quot;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue