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>
8 
9 #define SERIAL_DEV PNP_DEV(0x2e, IT8721F_SP1)
10 
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 }
void ite_enable_serial(pnp_devfn_t dev, u16 iobase)
Definition: early_serial.c:61
void bootblock_mainboard_early_init(void)
Definition: early_init.c:11
void get_mb_spd_addrmap(u8 *spd_addrmap)
Definition: early_init.c:16
#define SERIAL_DEV
Definition: early_init.c:9
uint8_t u8
Definition: stdint.h:45