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 <
drivers/intel/gma/int15.h
>
5
#include <
southbridge/intel/bd82x6x/pch.h
>
6
#include <
ec/acpi/ec.h
>
7
#include <
pc80/keyboard.h
>
8
9
static
void
mainboard_init
(
struct
device
*dev)
10
{
11
pc_keyboard_init
(
NO_AUX_DEVICE
);
12
}
13
14
static
void
mainboard_enable
(
struct
device
*dev)
15
{
16
dev->
ops
->
init
=
mainboard_init
;
17
18
/* FIXME: fix those values*/
19
install_intel_vga_int15_handler
(
GMA_INT15_ACTIVE_LFP_INT_LVDS
,
20
GMA_INT15_PANEL_FIT_DEFAULT
,
GMA_INT15_BOOT_DISPLAY_DEFAULT
, 0);
21
}
22
23
struct
chip_operations
mainboard_ops
= {
24
.
enable_dev
=
mainboard_enable
,
25
};
mainboard_ops
struct chip_operations mainboard_ops
Definition:
mainboard.c:19
mainboard_init
static void mainboard_init(struct device *dev)
Definition:
mainboard.c:9
mainboard_enable
static void mainboard_enable(struct device *dev)
Definition:
mainboard.c:14
install_intel_vga_int15_handler
void install_intel_vga_int15_handler(int active_lfp_, int pfit_, int display_, int panel_type_)
Definition:
int15.c:101
int15.h
GMA_INT15_BOOT_DISPLAY_DEFAULT
@ GMA_INT15_BOOT_DISPLAY_DEFAULT
Definition:
int15.h:6
GMA_INT15_ACTIVE_LFP_INT_LVDS
@ GMA_INT15_ACTIVE_LFP_INT_LVDS
Definition:
int15.h:25
GMA_INT15_PANEL_FIT_DEFAULT
@ GMA_INT15_PANEL_FIT_DEFAULT
Definition:
int15.h:17
ec.h
device.h
pc_keyboard_init
uint8_t pc_keyboard_init(uint8_t probe_aux)
Definition:
keyboard.c:229
keyboard.h
NO_AUX_DEVICE
#define NO_AUX_DEVICE
Definition:
keyboard.h:6
pch.h
chip_operations
Definition:
device.h:23
chip_operations::enable_dev
void(* enable_dev)(struct device *dev)
Definition:
device.h:24
device_operations::init
void(* init)(struct device *dev)
Definition:
device.h:42
device
Definition:
device.h:107
device::ops
struct device_operations * ops
Definition:
device.h:143
src
mainboard
compulab
intense_pc
mainboard.c
Generated by
1.9.1