coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <arch/mmio.h>
#include <device/pci.h>
#include <device/pci_def.h>
#include <device/pci_ids.h>
#include <device/pci_ops.h>
#include <types.h>
#include "nc_fpga.h"
Go to the source code of this file.
Functions | |
int | pci_early_device_probe (u8 bus, u8 dev, u32 mmio_base) |
void | nc_fpga_remap (uint32_t new_mmio) |
void | nc_fpga_post (uint8_t value) |
Variables | |
static DEVTREE_CONST uint32_t | fpga_bar = CONFIG_EARLY_PCI_MMIO_BASE |
static bool | nc_fpga_present = false |
Definition at line 41 of file nc_fpga_early.c.
References ENV_BOOTBLOCK, ENV_ROMSTAGE, fpga_bar, NC_FPGA_POST_OFFSET, nc_fpga_present, value, and write32().
Referenced by mainboard_post().
Definition at line 34 of file nc_fpga_early.c.
References fpga_bar.
Definition at line 15 of file nc_fpga_early.c.
References nc_fpga_present, PCI_BASE_ADDRESS_0, PCI_COMMAND, PCI_COMMAND_MEMORY, pci_dev, PCI_DEV, pci_s_read_config16(), pci_s_read_config32(), pci_s_write_config16(), pci_s_write_config32(), PCI_VENDOR_ID, and PCI_VID_SIEMENS.
Referenced by pci_s_early_mmio_window().
|
static |
Definition at line 12 of file nc_fpga_early.c.
Referenced by nc_fpga_post(), and nc_fpga_remap().
Definition at line 13 of file nc_fpga_early.c.
Referenced by nc_fpga_post(), and pci_early_device_probe().