![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <stdint.h>
#include <stddef.h>
#include <device/pci_ops.h>
#include <console/uart.h>
#include <device/pci.h>
#include <device/pci_def.h>
Go to the source code of this file.
Functions | |
int | pci_early_device_probe (u8 bus, u8 dev, u32 mmio_base) |
static int | oxpcie_uart_active (void) |
uintptr_t | uart_platform_base (unsigned int idx) |
void | oxford_remap (u32 new_base) |
unsigned int | uart_platform_refclk (void) |
Variables | |
static unsigned int | oxpcie_present |
static DEVTREE_CONST u32 | uart0_base = CONFIG_EARLY_PCI_MMIO_BASE + 0x1000 |
Definition at line 65 of file oxpcie_early.c.
References uart0_base.
|
static |
Definition at line 53 of file oxpcie_early.c.
References oxpcie_present.
Referenced by uart_platform_base().
Definition at line 13 of file oxpcie_early.c.
References oxpcie_present, PCI_BASE_ADDRESS_0, PCI_COMMAND, PCI_COMMAND_MEMORY, PCI_DEV, pci_s_read_config16(), pci_s_read_config32(), pci_s_write_config16(), pci_s_write_config32(), and PCI_VENDOR_ID.
Definition at line 58 of file oxpcie_early.c.
References oxpcie_uart_active(), and uart0_base.
Referenced by platform_fsp_memory_init_params_cb(), and uart_fill_lb().
Definition at line 72 of file oxpcie_early.c.
Referenced by dt_platform_fixup(), platform_fsp_memory_init_params_cb(), uart_fill_lb(), and uart_init().
|
static |
Definition at line 10 of file oxpcie_early.c.
Referenced by oxpcie_uart_active(), and pci_early_device_probe().
|
static |
Definition at line 11 of file oxpcie_early.c.
Referenced by oxford_remap(), and uart_platform_base().