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

Go to the source code of this file.

Functions

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_qualcomm_qcs405_ops
 

Function Documentation

◆ enable_soc_dev()

static void enable_soc_dev ( struct device dev)
static

Definition at line 25 of file soc.c.

References device::ops, and soc_ops.

◆ soc_init()

static void soc_init ( struct device dev)
static

Definition at line 15 of file soc.c.

◆ soc_read_resources()

static void soc_read_resources ( struct device dev)
static

Definition at line 8 of file soc.c.

References _dram, GiB, KiB, ram_resource, REGION_SIZE, and reserved_ram_resource.

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:8
static void soc_init(struct device *dev)
Definition: soc.c:15

Definition at line 15 of file soc.c.

Referenced by enable_soc_dev().

◆ soc_qualcomm_qcs405_ops

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

Definition at line 25 of file soc.c.