coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
uart.c
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#include <
commonlib/helpers.h
>
4
#include <soc/pci_devs.h>
5
6
const
unsigned
int
uart_devices
[] = {
7
PCH_DEVFN_UART0
,
8
PCH_DEVFN_UART1
,
9
PCH_DEVFN_UART2
,
10
};
11
12
const
int
uart_devices_size
=
ARRAY_SIZE
(
uart_devices
);
ARRAY_SIZE
#define ARRAY_SIZE(a)
Definition:
helpers.h:12
helpers.h
PCH_DEVFN_UART0
#define PCH_DEVFN_UART0
Definition:
pci_devs.h:204
PCH_DEVFN_UART1
#define PCH_DEVFN_UART1
Definition:
pci_devs.h:205
PCH_DEVFN_UART2
#define PCH_DEVFN_UART2
Definition:
pci_devs.h:164
uart_devices_size
const int uart_devices_size
Definition:
uart.c:18
uart_devices
const unsigned int uart_devices[]
Definition:
uart.c:12
src
soc
intel
jasperlake
uart.c
Generated by
1.9.1