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
>
4
#include <
soc/int15.h
>
5
6
// mainboard_enable is executed as first thing after
7
// enumerate_buses().
8
9
static
void
mainboard_enable
(
struct
device
*dev)
10
{
11
/* Install custom int15 handler for VGA OPROM */
12
if
(
CONFIG
(VGA_ROM_RUN))
13
install_baytrail_vga_int15_handler
();
14
}
15
16
struct
chip_operations
mainboard_ops
= {
17
.
enable_dev
=
mainboard_enable
,
18
};
mainboard_ops
struct chip_operations mainboard_ops
Definition:
mainboard.c:19
mainboard_enable
static void mainboard_enable(struct device *dev)
Definition:
mainboard.c:9
CONFIG
@ CONFIG
Definition:
dsi_common.h:201
device.h
int15.h
install_baytrail_vga_int15_handler
void install_baytrail_vga_int15_handler(void)
Definition:
int15.c:92
chip_operations
Definition:
device.h:23
chip_operations::enable_dev
void(* enable_dev)(struct device *dev)
Definition:
device.h:24
device
Definition:
device.h:107
src
mainboard
bostentech
gbyt4
mainboard.c
Generated by
1.9.1