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 <soc/nvidia/tegra/dc.h>
#include <soc/display.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_read_resources (struct device *dev)
 
static void soc_init (struct device *dev)
 
static void enable_tegra124_dev (struct device *dev)
 

Variables

static struct device_operations soc_ops
 
struct chip_operations soc_nvidia_tegra124_ops
 

Function Documentation

◆ enable_tegra124_dev()

static void enable_tegra124_dev ( struct device dev)
static

Definition at line 49 of file soc.c.

References device::ops, and soc_ops.

◆ soc_init()

static void soc_init ( struct device dev)
static

Definition at line 34 of file soc.c.

References BIOS_INFO, display_init_required(), display_startup(), 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 17 of file soc.c.

References _dram, fb_base_mb(), FB_SIZE_MB, KiB, MiB, mmio_resource, ram_resource, sdram_max_addressable_mb(), and sdram_size_mb().

Here is the call graph for this function:

Variable Documentation

◆ soc_nvidia_tegra124_ops

struct chip_operations soc_nvidia_tegra124_ops
Initial value:
= {
.enable_dev = enable_tegra124_dev,
}
static void enable_tegra124_dev(struct device *dev)
Definition: soc.c:49

Definition at line 49 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:17
static void soc_init(struct device *dev)
Definition: soc.c:34

Definition at line 34 of file soc.c.

Referenced by enable_tegra124_dev().