coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
mainboard.c
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #include <device/device.h>
6 #include "dock.h"
7 
8 static void fill_ssdt(const struct device *device)
9 {
10  drivers_lenovo_serial_ports_ssdt_generate("\\_SB.PCI0.LPCB", 0);
11 }
12 
13 static void mainboard_enable(struct device *dev)
14 {
18 
19  dev->ops->acpi_fill_ssdt = fill_ssdt;
20 }
21 
24 };
struct chip_operations mainboard_ops
Definition: mainboard.c:19
void install_intel_vga_int15_handler(int active_lfp_, int pfit_, int display_, int panel_type_)
Definition: int15.c:101
@ GMA_INT15_BOOT_DISPLAY_DEFAULT
Definition: int15.h:6
@ GMA_INT15_ACTIVE_LFP_INT_LVDS
Definition: int15.h:25
@ GMA_INT15_PANEL_FIT_CENTERING
Definition: int15.h:18
void drivers_lenovo_serial_ports_ssdt_generate(const char *scope, int have_dock_serial)
Definition: wacom.c:74
static void fill_ssdt(const struct device *device)
Definition: mainboard.c:8
static void mainboard_enable(struct device *dev)
Definition: mainboard.c:13
void(* enable_dev)(struct device *dev)
Definition: device.h:24
Definition: device.h:107
struct device_operations * ops
Definition: device.h:143