1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <device/device.h>
4 #include <drivers/intel/gma/int15.h>
5 #include <southbridge/intel/bd82x6x/pch.h>
8 #if CONFIG(GENERATE_SMBIOS_TABLES)
9 static int mainboard_smbios_data(struct device
*dev
, int *handle
,
10 unsigned long *current
)
14 // add IPMI Device Information
15 len
+= smbios_write_type38(
17 SMBIOS_BMC_INTERFACE_KCS
,
20 0xff, // no NV storage
21 0, // IO port interface address
29 static void mainboard_enable(struct device
*dev
)
31 install_intel_vga_int15_handler(GMA_INT15_ACTIVE_LFP_NONE
,
32 GMA_INT15_PANEL_FIT_DEFAULT
,
33 GMA_INT15_BOOT_DISPLAY_DEFAULT
, 0);
34 #if CONFIG(GENERATE_SMBIOS_TABLES)
35 dev
->ops
->get_smbios_data
= mainboard_smbios_data
;
39 struct chip_operations mainboard_ops
= {
40 .enable_dev
= mainboard_enable
,