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

Go to the source code of this file.

Macros

#define RESERVED_SIZE_KB   (0x01500000 / KiB)
 

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_ipq806x_ops
 

Macro Definition Documentation

◆ RESERVED_SIZE_KB

#define RESERVED_SIZE_KB   (0x01500000 / KiB)

Definition at line 8 of file soc.c.

Function Documentation

◆ enable_soc_dev()

static void enable_soc_dev ( struct device dev)
static

Definition at line 34 of file soc.c.

References device::ops, and soc_ops.

◆ soc_init()

static void soc_init ( struct device dev)
static

Definition at line 18 of file soc.c.

References BIOS_INFO, ipq806x_uart_init(), and printk.

Here is the call graph for this function:

◆ soc_read_resources()

static void soc_read_resources ( struct device dev)
static

Definition at line 10 of file soc.c.

References _dram, KiB, ram_resource, reserved_ram_resource, and RESERVED_SIZE_KB.

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

Definition at line 18 of file soc.c.

Referenced by enable_soc_dev().

◆ soc_qualcomm_ipq806x_ops

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

Definition at line 34 of file soc.c.