coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
soc.c File Reference
#include <bootmem.h>
#include <bootmode.h>
#include <console/console.h>
#include <device/device.h>
#include <soc/addressmap.h>
#include <soc/clock.h>
#include <soc/display.h>
#include <soc/sdram.h>
#include <soc/symbols.h>
#include <symbols.h>
Include dependency graph for soc.c:

Go to the source code of this file.

Functions

void bootmem_platform_add_ranges (void)
 
static void soc_read_resources (struct device *dev)
 
static void soc_init (struct device *dev)
 
static void enable_soc_dev (struct device *dev)
 

Variables

static struct device_operations soc_ops
 
struct chip_operations soc_rockchip_rk3399_ops
 

Function Documentation

◆ bootmem_platform_add_ranges()

void bootmem_platform_add_ranges ( void  )

Definition at line 14 of file soc.c.

References BM_MEM_BL31, bootmem_add_range(), and REGION_SIZE.

Here is the call graph for this function:

◆ enable_soc_dev()

static void enable_soc_dev ( struct device dev)
static

Definition at line 43 of file soc.c.

References device::ops, and soc_ops.

◆ soc_init()

static void soc_init ( struct device dev)
static

Definition at line 27 of file soc.c.

References APLL_600_MHZ, BIOS_INFO, CONFIG, CPU_CLUSTER_BIG, display_init_required(), printk, rk_display_init(), and rkclk_configure_cpu().

Here is the call graph for this function:

◆ soc_read_resources()

static void soc_read_resources ( struct device dev)
static

Definition at line 22 of file soc.c.

References _dram, KiB, ram_resource, and sdram_size_mb().

Here is the call graph for this function:

Variable Documentation

◆ soc_ops

struct device_operations soc_ops
static
Initial value:
= {
.read_resources = soc_read_resources,
.init = soc_init,
}
static void soc_read_resources(struct device *dev)
Definition: soc.c:22
static void soc_init(struct device *dev)
Definition: soc.c:27

Definition at line 27 of file soc.c.

Referenced by enable_soc_dev().

◆ soc_rockchip_rk3399_ops

struct chip_operations soc_rockchip_rk3399_ops
Initial value:
= {
.enable_dev = enable_soc_dev,
}
static void enable_soc_dev(struct device *dev)
Definition: soc.c:43

Definition at line 43 of file soc.c.