![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <arch/ioapic.h>
#include <console/console.h>
#include <device/device.h>
#include <device/pci.h>
#include <device/pnp.h>
#include <device/pci_ids.h>
#include <device/pci_ops.h>
#include <device/pci_def.h>
#include <pc80/mc146818rtc.h>
#include <pc80/isa-dma.h>
#include <pc80/i8254.h>
#include <pc80/i8259.h>
#include <amdblocks/acpi.h>
#include <amdblocks/acpimmio.h>
#include <amdblocks/espi.h>
#include <amdblocks/ioapic.h>
#include <amdblocks/lpc.h>
#include <soc/iomap.h>
#include <soc/lpc.h>
#include <soc/southbridge.h>
Go to the source code of this file.
Functions | |
static void | setup_serirq (void) |
static void | fch_ioapic_init (void) |
static void | lpc_init (struct device *dev) |
static void | lpc_read_resources (struct device *dev) |
static void | lpc_set_resources (struct device *dev) |
static void | configure_child_lpc_windows (struct device *dev, struct device *child) |
static void | configure_child_espi_windows (struct device *child) |
static void | lpc_enable_children_resources (struct device *dev) |
static void | lpc_enable_resources (struct device *dev) |
Variables | |
static struct device_operations | lpc_ops |
static const unsigned short | pci_device_ids [] |
static const struct pci_driver lpc_driver | __pci_driver |
Definition at line 278 of file lpc.c.
References resource::base, espi_open_io_window(), espi_open_mmio_window(), resource::flags, IORESOURCE_IO, IORESOURCE_MEM, resource::next, device::resource_list, and resource::size.
Referenced by lpc_enable_children_resources().
Definition at line 146 of file lpc.c.
References resource::base, base, BIOS_DEBUG, BIOS_ERR, DECODE_ENABLE_FDC_PORT0, DECODE_ENABLE_KBC_PORT, DECODE_ENABLE_MIDI_PORT0, DECODE_ENABLE_PARALLEL_PORT0, DECODE_ENABLE_PARALLEL_PORT1, DECODE_ENABLE_SERIAL_PORT0, DECODE_ENABLE_SERIAL_PORT1, DECODE_ENABLE_SERIAL_PORT2, DECODE_ENABLE_SERIAL_PORT3, DECODE_ENABLE_SERIAL_PORT4, DECODE_IO_PORT_ENABLE0, DECODE_IO_PORT_ENABLE1, DECODE_IO_PORT_ENABLE2, DECODE_IO_PORT_ENABLE3, DECODE_IO_PORT_ENABLE5, DECODE_IO_PORT_ENABLE6, dev_path(), resource::flags, IORESOURCE_IO, lpc_find_wideio_range(), LPC_IO_OR_MEM_DECODE_ENABLE, LPC_IO_PORT_DECODE_ENABLE, lpc_set_wideio_range(), lpc_wideio_size(), resource::next, pci_read_config32(), pci_write_config32(), printk, resource_end(), device::resource_list, resource::size, and WIDEIO_RANGE_ERROR.
Referenced by lpc_enable_children_resources().
Definition at line 39 of file lpc.c.
References fch_enable_ioapic_decode(), FCH_IOAPIC_ID, setup_ioapic(), and VIO_APIC_VADDR.
Referenced by lpc_init().
Definition at line 290 of file lpc.c.
References bus::children, CONFIG, configure_child_espi_windows(), configure_child_lpc_windows(), DEVICE_PATH_PNP, device::enabled, device::link_list, bus::next, device::path, device::sibling, and device_path::type.
Referenced by lpc_enable_resources().
Definition at line 309 of file lpc.c.
References lpc_enable_children_resources(), and pci_dev_enable_resources().
Definition at line 45 of file lpc.c.
References cmos_check_update_date(), cmos_init(), fch_configure_hpet(), fch_ioapic_init(), isa_dma_init(), LEGACY_DMA_EN, LPC_HOST_CONTROL, LPC_IO_OR_MEM_DECODE_ENABLE, LPC_MISC_CONTROL_BITS, LPC_PCI_CONTROL, LPC_SYNC_TIMEOUT_COUNT_ENABLE, pci_read_config8(), pci_write_config8(), PREFETCH_EN_SPI_FROM_HOST, setup_i8254(), setup_i8259(), setup_serirq(), and T_START_ENH.
Referenced by bootblock_soc_init().
Definition at line 99 of file lpc.c.
References resource::base, compact_resources(), fixed_mem_resource(), resource::flags, FLASH_BASE_ADDR, IO_APIC_ADDR, IOINDEX_SUBTRACTIVE, IORESOURCE_ASSIGNED, IORESOURCE_FIXED, IORESOURCE_IO, IORESOURCE_MEM, IORESOURCE_SUBTRACTIVE, KiB, new_resource(), pci_dev_read_resources(), resource::size, and SPI_BASE_ADDRESS.
Definition at line 131 of file lpc.c.
References resource::base, find_resource(), pci_dev_set_resources(), pci_read_config32(), pci_write_config32(), SPI_BASE_ADDRESS_REGISTER, and SPI_BASE_ALIGNMENT.
Definition at line 25 of file lpc.c.
References CONFIG, PM_SERIRQ_CONF, PM_SERIRQ_ENABLE, PM_SERIRQ_MODE, PM_SERIRQ_NUM_BITS_21, and pm_write8().
Referenced by lpc_init().
|
static |
|
static |
|
static |