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
>
4
#include <
superio/smsc/smscsuperio/smscsuperio.h
>
5
6
#define SERIAL_DEV PNP_DEV(0x4e, SMSCSUPERIO_SP1)
7
8
void
bootblock_mainboard_early_init
(
void
)
9
{
10
smscsuperio_enable_serial
(
SERIAL_DEV
, CONFIG_TTYS0_BASE);
11
}
bootblock_common.h
bootblock_mainboard_early_init
__weak void bootblock_mainboard_early_init(void)
Definition:
bootblock.c:16
SERIAL_DEV
#define SERIAL_DEV
Definition:
bootblock.c:6
smscsuperio_enable_serial
void smscsuperio_enable_serial(pnp_devfn_t dev, u16 iobase)
Enable the specified serial port.
Definition:
early_serial.c:33
smscsuperio.h
src
mainboard
lippert
frontrunner-af
variants
frontrunner-af
bootblock.c
Generated by
1.9.1