coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
blobs_init.c File Reference
#include <arch/cache.h>
#include <device/mmio.h>
#include <cbfs.h>
#include <console/console.h>
#include <string.h>
#include <program_loading.h>
#include <soc/iomap.h>
#include <soc/soc_services.h>
#include "mbn_header.h"
Include dependency graph for blobs_init.c:

Go to the source code of this file.

Data Structures

struct  cdt_info
 
struct  sys_debug_qsee_info_type_t
 
struct  sbl_rw_ret_info_t
 

Macros

#define DDR_VERSION()   ((const char *)"private build")
 
#define MAX_DDR_VERSION_SIZE   48
 

Functions

static voidload_ipq_blob (const char *file_name)
 
int initialize_dram (void)
 
void start_tzbsp (void)
 

Variables

sbl_rw_ret_info_tsbl_rw_ret_info
 

Macro Definition Documentation

◆ DDR_VERSION

#define DDR_VERSION ( )    ((const char *)"private build")

Definition at line 46 of file blobs_init.c.

◆ MAX_DDR_VERSION_SIZE

#define MAX_DDR_VERSION_SIZE   48

Definition at line 47 of file blobs_init.c.

Function Documentation

◆ initialize_dram()

int initialize_dram ( void  )

◆ load_ipq_blob()

static void* load_ipq_blob ( const char *  file_name)
static

Definition at line 19 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(), and start_tzbsp().

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

◆ start_tzbsp()

void start_tzbsp ( void  )

Definition at line 106 of file blobs_init.c.

References BIOS_INFO, die(), load_ipq_blob(), printk, and tz_init_wrapper().

Referenced by mainboard_init().

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

Variable Documentation

◆ sbl_rw_ret_info

sbl_rw_ret_info_t* sbl_rw_ret_info

Definition at line 59 of file blobs_init.c.

Referenced by initialize_dram().