coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
bootblock.c File Reference
#include <amdblocks/acpimmio.h>
#include <arch/bootblock.h>
#include <device/pci_ops.h>
Include dependency graph for bootblock.c:

Go to the source code of this file.

Functions

static void enable_rom (void)
 
static void enable_prefetch (void)
 
static void enable_spi_fast_mode (void)
 
static void enable_clocks (void)
 
void bootblock_early_southbridge_init (void)
 

Function Documentation

◆ bootblock_early_southbridge_init()

void bootblock_early_southbridge_init ( void  )

Definition at line 86 of file bootblock.c.

References enable_acpimmio_decode_pm24(), enable_clocks(), enable_prefetch(), enable_rom(), and enable_spi_fast_mode().

Here is the call graph for this function:

◆ enable_clocks()

static void enable_clocks ( void  )
static

Definition at line 68 of file bootblock.c.

References misc_read32(), and misc_write32().

Referenced by bootblock_early_southbridge_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ enable_prefetch()

static void enable_prefetch ( void  )
static

Definition at line 40 of file bootblock.c.

References PCI_DEV, pci_s_read_config32(), and pci_s_write_config32().

Referenced by bootblock_early_southbridge_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ enable_rom()

static void enable_rom ( void  )
static

Definition at line 7 of file bootblock.c.

References PCI_DEV, pci_s_read_config16(), pci_s_read_config32(), pci_s_write_config16(), pci_s_write_config32(), and word.

Referenced by bootblock_early_southbridge_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ enable_spi_fast_mode()

static void enable_spi_fast_mode ( void  )
static

Definition at line 50 of file bootblock.c.

References PCI_DEV, pci_s_read_config32(), pci_s_write_config32(), and spi_base.

Referenced by bootblock_early_southbridge_init().

Here is the call graph for this function:
Here is the caller graph for this function: