coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
ramstage.c File Reference
#include <arch/lib_helpers.h>
#include <arch/stages.h>
#include <cbmem.h>
#include <console/console.h>
#include <device/mmio.h>
#include <soc/addressmap.h>
#include <soc/clock.h>
#include <soc/mmu_operations.h>
#include <soc/mtc.h>
Include dependency graph for ramstage.c:

Go to the source code of this file.

Macros

#define ERR_RESP_EN_SLAVE1   (0x1 << 24)
 
#define ERR_RESP_EN_SLAVE2   (0x1 << 25)
 
#define WRAP_TO_INCR_SLAVE0   (0x1 << 27)
 
#define WRAP_TO_INCR_SLAVE1   (0x1 << 28)
 
#define WRAP_TO_INCR_SLAVE2   (0x1 << 29)
 

Functions

static void arm64_arch_timer_init (void)
 
static void mselect_enable_wrap (void)
 
void ramstage_entry (void)
 

Macro Definition Documentation

◆ ERR_RESP_EN_SLAVE1

#define ERR_RESP_EN_SLAVE1   (0x1 << 24)

◆ ERR_RESP_EN_SLAVE2

#define ERR_RESP_EN_SLAVE2   (0x1 << 25)

◆ WRAP_TO_INCR_SLAVE0

#define WRAP_TO_INCR_SLAVE0   (0x1 << 27)

◆ WRAP_TO_INCR_SLAVE1

#define WRAP_TO_INCR_SLAVE1   (0x1 << 28)

◆ WRAP_TO_INCR_SLAVE2

#define WRAP_TO_INCR_SLAVE2   (0x1 << 29)

Function Documentation

◆ arm64_arch_timer_init()

static void arm64_arch_timer_init ( void  )
static

Definition at line 13 of file ramstage.c.

References clock_get_osc_khz().

Referenced by ramstage_entry().

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

◆ mselect_enable_wrap()

static void mselect_enable_wrap ( void  )
static

Definition at line 20 of file ramstage.c.

References ERR_RESP_EN_SLAVE1, ERR_RESP_EN_SLAVE2, read32(), TEGRA_MSELECT_CONFIG, WRAP_TO_INCR_SLAVE0, WRAP_TO_INCR_SLAVE1, WRAP_TO_INCR_SLAVE2, and write32().

Referenced by ramstage_entry().

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

◆ ramstage_entry()