coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
soc.c File Reference
#include <device/device.h>
#include <soc/emi.h>
#include <soc/md_ctrl.h>
#include <soc/mmu_operations.h>
#include <soc/rtc.h>
#include <soc/sspm.h>
#include <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_mediatek_mt8183_ops
 

Function Documentation

◆ enable_soc_dev()

static void enable_soc_dev ( struct device dev)
static

Definition at line 30 of file soc.c.

References device::ops, and soc_ops.

◆ soc_init()

static void soc_init ( struct device dev)
static

Definition at line 16 of file soc.c.

References mt6358_dcxo_disable_unused(), mtk_md_early_init(), mtk_mmu_disable_l2c_sram(), and sspm_init().

Here is the call graph for this function:

◆ soc_read_resources()

static void soc_read_resources ( struct device dev)
static

Definition at line 11 of file soc.c.

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

Here is the call graph for this function:

Variable Documentation

◆ soc_mediatek_mt8183_ops

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

Definition at line 30 of file soc.c.

◆ soc_ops

struct device_operations soc_ops
static
Initial value:
= {
.read_resources = soc_read_resources,
.set_resources = noop_set_resources,
.init = soc_init,
}
static void noop_set_resources(struct device *dev)
Definition: device.h:74
static void soc_read_resources(struct device *dev)
Definition: soc.c:11
static void soc_init(struct device *dev)
Definition: soc.c:16

Definition at line 16 of file soc.c.

Referenced by enable_soc_dev().