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