coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <amdblocks/aoac.h>
#include <amdblocks/gpio.h>
#include <amdblocks/uart.h>
#include <commonlib/helpers.h>
#include <console/console.h>
#include <device/device.h>
#include <device/mmio.h>
#include <soc/aoac_defs.h>
#include <soc/gpio.h>
#include <soc/southbridge.h>
#include <soc/uart.h>
#include <types.h>
Go to the source code of this file.
Functions | |
uintptr_t | get_uart_base (unsigned int idx) |
void | clear_uart_legacy_config (void) |
void | set_uart_config (unsigned int idx) |
static const char * | uart_acpi_name (const struct device *dev) |
static void | uart_enable (struct device *dev) |
static void | uart_read_resources (struct device *dev) |
Variables | |
struct { | |
uintptr_t base | |
struct soc_amd_gpio mux [2] | |
} | uart_info [] |
struct device_operations | sabrina_uart_mmio_ops |
Definition at line 50 of file uart.c.
References FCH_LEGACY_UART_DECODE, and write16().
Referenced by fch_pre_init().
Definition at line 42 of file uart.c.
References ARRAY_SIZE, and uart_info.
Definition at line 55 of file uart.c.
References ARRAY_SIZE, gpio_configure_pads(), and uart_info.
Referenced by fch_pre_init().
|
static |
Definition at line 63 of file uart.c.
References mmio_path::addr, APU_UART0_BASE, APU_UART1_BASE, device_path::mmio, NULL, and device::path.
Definition at line 82 of file uart.c.
References mmio_path::addr, APU_UART0_BASE, APU_UART1_BASE, BIOS_ERR, dev_id, dev_path(), device::enabled, FCH_AOAC_DEV_UART0, FCH_AOAC_DEV_UART1, FCH_AOAC_DEV_UART2, FCH_AOAC_DEV_UART3, FCH_AOAC_DEV_UART4, device_path::mmio, device::path, power_off_aoac_device(), power_on_aoac_device(), printk, and wait_for_aoac_enabled().
struct soc_amd_gpio mux[2] |
struct device_operations sabrina_uart_mmio_ops |
Definition at line 115 of file uart.c.
Referenced by set_mmio_dev_ops().
const { ... } uart_info[] |
Referenced by get_uart_base(), and set_uart_config().