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 <mainboard/gpio.h>
5
#include <
superio/aspeed/common/aspeed.h
>
6
#include <
superio/aspeed/ast2400/ast2400.h
>
7
#include <
console/uart.h
>
8
9
static
void
early_config_superio
(
void
)
10
{
11
const
pnp_devfn_t
serial_dev =
PNP_DEV
(0x2e,
AST2400_SUART1
);
12
aspeed_enable_serial
(serial_dev, CONFIG_TTYS0_BASE);
13
}
14
15
void
bootblock_mainboard_early_init
(
void
)
16
{
17
mainboard_configure_early_gpios
();
18
early_config_superio
();
19
}
aspeed.h
aspeed_enable_serial
void aspeed_enable_serial(pnp_devfn_t dev, uint16_t iobase)
Definition:
early_serial.c:45
ast2400.h
AST2400_SUART1
#define AST2400_SUART1
Definition:
ast2400.h:6
bootblock_common.h
uart.h
bootblock_mainboard_early_init
__weak void bootblock_mainboard_early_init(void)
Definition:
bootblock.c:16
early_config_superio
static void early_config_superio(void)
Definition:
bootblock.c:9
mainboard_configure_early_gpios
void mainboard_configure_early_gpios(void)
Definition:
gpio_early.c:19
PNP_DEV
#define PNP_DEV(PORT, FUNC)
Definition:
pnp_type.h:10
pnp_devfn_t
u32 pnp_devfn_t
Definition:
pnp_type.h:8
src
mainboard
supermicro
x11-lga1151-series
bootblock.c
Generated by
1.9.1