![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <arch/cache.h>
#include <device/mmio.h>
#include <cbfs.h>
#include <console/console.h>
#include <string.h>
#include <timer.h>
#include <soc/iomap.h>
#include <soc/soc_services.h>
#include "mbn_header.h"
Go to the source code of this file.
Macros | |
#define | DDR_VERSION() ((const char *)0x2a03f600) |
#define | MAX_DDR_VERSION_SIZE 48 |
#define | RPM_VERSION() (*((u32 *)(0x00108008))) |
Functions | |
static void * | load_ipq_blob (const char *file_name) |
int | initialize_dram (void) |
void | start_tzbsp (void) |
void | start_rpm (void) |
#define DDR_VERSION | ( | ) | ((const char *)0x2a03f600) |
Definition at line 45 of file blobs_init.c.
#define MAX_DDR_VERSION_SIZE 48 |
Definition at line 46 of file blobs_init.c.
#define RPM_VERSION | ( | ) | (*((u32 *)(0x00108008))) |
Definition at line 88 of file blobs_init.c.
int initialize_dram | ( | void | ) |
Definition at line 48 of file blobs_init.c.
References BIOS_ERR, BIOS_INFO, DDR_VERSION, die(), load_ipq_blob(), MAX_DDR_VERSION_SIZE, and printk.
|
static |
Definition at line 15 of file blobs_init.c.
References cache_sync_instructions(), cbfs_map(), mbn_header::mbn_destination, mbn_header::mbn_total_size, mbn_header::mbn_version, memcpy(), and NULL.
Referenced by initialize_dram(), start_rpm(), and start_tzbsp().
Definition at line 89 of file blobs_init.c.
References BIOS_INFO, die(), load_ipq_blob(), printk, read32(), RPM_FW_MAGIC_NUM, RPM_INT, RPM_INT_ACK, RPM_SIGNAL_COOKIE, RPM_SIGNAL_ENTRY, RPM_VERSION, stopwatch_expired(), stopwatch_init_usecs_expire(), and write32().
Referenced by mainboard_init().
Definition at line 75 of file blobs_init.c.
References BIOS_INFO, die(), load_ipq_blob(), printk, and tz_init_wrapper().