mb/technexion: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: I6efd1675b1124b200b5ff16fdef91c10b77b69d1 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26094 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
This commit is contained in:
parent
477a516ec3
commit
0a06325907
|
@ -57,7 +57,7 @@ static u32 get_bus_conf_done = 0;
|
|||
void get_bus_conf(void)
|
||||
{
|
||||
u32 apicid_base;
|
||||
device_t dev;
|
||||
struct device *dev;
|
||||
int i;
|
||||
|
||||
if (get_bus_conf_done == 1)
|
||||
|
|
|
@ -113,7 +113,7 @@ static void set_thermal_config(void)
|
|||
{
|
||||
u8 byte;
|
||||
u16 word;
|
||||
device_t sm_dev;
|
||||
struct device *sm_dev;
|
||||
|
||||
/* set ADT 7461 */
|
||||
ADT7461_write_byte(0x0B, 0x50); /* Local Temperature Hight limit */
|
||||
|
@ -218,7 +218,7 @@ static void lcd_panel_id(rs690_vbios_regs *vbios_regs, u8 num_id)
|
|||
* enable the dedicated function in tim5690 board.
|
||||
* This function called early than rs690_enable.
|
||||
*************************************************/
|
||||
static void mainboard_enable(device_t dev)
|
||||
static void mainboard_enable(struct device *dev)
|
||||
{
|
||||
u16 gpio_base = IT8712F_SIMPLE_IO_BASE;
|
||||
#if IS_ENABLED(CONFIG_VGA_ROM_RUN)
|
||||
|
|
|
@ -46,7 +46,7 @@ static void *smp_write_config_table(void *v)
|
|||
|
||||
/* I/O APICs: APIC ID Version State Address */
|
||||
{
|
||||
device_t dev;
|
||||
struct device *dev;
|
||||
u32 dword;
|
||||
u8 byte;
|
||||
|
||||
|
|
|
@ -135,7 +135,7 @@ void technexion_post_code(uint8_t udata8)
|
|||
pci_devfn_t dev = 0;
|
||||
dev = pci_locate_device(PCI_ID(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_SB600_SM), 0);
|
||||
#else
|
||||
device_t dev = 0;
|
||||
struct device *dev = NULL;
|
||||
dev = dev_find_device(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_SB600_SM, 0);
|
||||
#endif
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ static u32 get_bus_conf_done = 0;
|
|||
void get_bus_conf(void)
|
||||
{
|
||||
u32 apicid_base;
|
||||
device_t dev;
|
||||
struct device *dev;
|
||||
int i;
|
||||
|
||||
if (get_bus_conf_done == 1)
|
||||
|
|
|
@ -49,7 +49,7 @@ static void enable_onboard_nic(void)
|
|||
{
|
||||
|
||||
u8 byte;
|
||||
device_t sm_dev;
|
||||
struct device *sm_dev;
|
||||
|
||||
printk(BIOS_INFO, "enable_onboard_nic.\n");
|
||||
|
||||
|
@ -75,7 +75,7 @@ static void set_thermal_config(void)
|
|||
{
|
||||
u8 byte;
|
||||
u16 word;
|
||||
device_t sm_dev;
|
||||
struct device *sm_dev;
|
||||
|
||||
/* set ADT 7461 */
|
||||
ADT7461_write_byte(0x0B, 0x50); /* Local Temperature Hight limit */
|
||||
|
@ -136,7 +136,7 @@ static void set_thermal_config(void)
|
|||
* enable the dedicated function in tim8690 board.
|
||||
* This function called early than rs690_enable.
|
||||
*************************************************/
|
||||
static void mainboard_enable(device_t dev)
|
||||
static void mainboard_enable(struct device *dev)
|
||||
{
|
||||
printk(BIOS_INFO, "Mainboard tim8690 Enable. dev=0x%p\n", dev);
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ static void *smp_write_config_table(void *v)
|
|||
|
||||
/* I/O APICs: APIC ID Version State Address */
|
||||
{
|
||||
device_t dev;
|
||||
struct device *dev;
|
||||
u32 dword;
|
||||
u8 byte;
|
||||
|
||||
|
|
Loading…
Reference in New Issue