7 #if CONFIG(VGA_ROM_RUN)
19 #if CONFIG(VGA_ROM_RUN)
114 if (board_version == 0) {
121 gpio_inv =
inl(gpio_inv_addr);
122 outl(gpio_inv | (1 << 11), gpio_inv_addr);
127 unsigned long *current)
171 #if CONFIG(VGA_ROM_RUN)
struct chip_operations mainboard_ops
static void mainboard_interrupt_handlers(int intXX, int(*intXX_func)(void))
int smbios_write_type41(unsigned long *current, int *handle, const char *name, u8 instance, u16 segment, u8 bus, u8 device, u8 function, u8 device_type)
#define printk(level,...)
void outl(u32 val, u16 port)
DEVTREE_CONST struct device * pcidev_on_root(uint8_t dev, uint8_t fn)
int google_chromeec_get_board_version(uint32_t *version)
google_chromeec_get_board_version() - Get the board version
#define BOARD_TRACKPAD_NAME
#define BOARD_TRACKPAD_I2C_ADDR
#define BOARD_TRACKPAD_IRQ
#define BOARD_TOUCHSCREEN_IRQ
#define BOARD_TOUCHSCREEN_I2C_ADDR
#define BOARD_TOUCHSCREEN_NAME
static void mainboard_init(struct device *dev)
static void mainboard_enable(struct device *dev)
static int link_onboard_smbios_data(struct device *dev, int *handle, unsigned long *current)
#define BOARD_LIGHTSENSOR_I2C_ADDR
#define BOARD_LIGHTSENSOR_IRQ
#define BOARD_LIGHTSENSOR_NAME
static __always_inline u16 pci_read_config16(const struct device *dev, u16 reg)
@ SMBIOS_DEVICE_TYPE_OTHER
#define BIOS_DEBUG
BIOS_DEBUG - Verbose output.
static int int15_handler(void)
void(* enable_dev)(struct device *dev)
void(* init)(struct device *dev)
struct device_operations * ops