coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
early_init.c
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-or-later */
2
3
#include <
bootblock_common.h
>
4
#include <
southbridge/intel/i82801gx/i82801gx.h
>
5
#include <
northbridge/intel/pineview/pineview.h
>
6
#include <
superio/ite/common/ite.h
>
7
#include <
superio/ite/it8721f/it8721f.h
>
8
9
#define SERIAL_DEV PNP_DEV(0x2e, IT8721F_SP1)
10
11
void
bootblock_mainboard_early_init
(
void
)
12
{
13
ite_enable_serial
(
SERIAL_DEV
, CONFIG_TTYS0_BASE);
14
}
15
16
void
get_mb_spd_addrmap
(
u8
*spd_addrmap)
17
{
18
spd_addrmap[0] = 0x50;
19
spd_addrmap[1] = 0x51;
20
}
bootblock_common.h
i82801gx.h
it8721f.h
ite_enable_serial
void ite_enable_serial(pnp_devfn_t dev, u16 iobase)
Definition:
early_serial.c:61
ite.h
bootblock_mainboard_early_init
void bootblock_mainboard_early_init(void)
Definition:
early_init.c:11
get_mb_spd_addrmap
void get_mb_spd_addrmap(u8 *spd_addrmap)
Definition:
early_init.c:16
SERIAL_DEV
#define SERIAL_DEV
Definition:
early_init.c:9
pineview.h
u8
uint8_t u8
Definition:
stdint.h:45
src
mainboard
foxconn
d41s
early_init.c
Generated by
1.9.1