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

Go to the source code of this file.

Functions

static void soc_init (struct device *dev)
 
static void enable_rk3288_dev (struct device *dev)
 

Variables

static struct device_operations soc_ops
 
struct chip_operations soc_rockchip_rk3288_ops
 

Function Documentation

◆ enable_rk3288_dev()

static void enable_rk3288_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 14 of file soc.c.

References _dram, BIOS_INFO, display_init_required(), KiB, MiB, printk, ram_resource, REGION_SIZE, rk_display_init(), 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 = noop_read_resources,
.set_resources = noop_set_resources,
.init = soc_init,
}
static void noop_read_resources(struct device *dev)
Standard device operations function pointers shims.
Definition: device.h:73
static void noop_set_resources(struct device *dev)
Definition: device.h:74
static void soc_init(struct device *dev)
Definition: soc.c:14

Definition at line 14 of file soc.c.

Referenced by enable_rk3288_dev().

◆ soc_rockchip_rk3288_ops

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

Definition at line 30 of file soc.c.