coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
bootblock.c
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #include <bootblock_common.h>
5 
6 #define SERIAL_DEV PNP_DEV(0x2e, LPC47M10X2_SP1)
7 
9 {
10  /* Get the serial port configured. */
11  lpc47m10x_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
12 }
__weak void bootblock_mainboard_early_init(void)
Definition: bootblock.c:16
#define SERIAL_DEV
Definition: bootblock.c:6
void lpc47m10x_enable_serial(pnp_devfn_t dev, u16 iobase)
Configure the base I/O port of the specified serial device and enable the serial device.
Definition: early_serial.c:28