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

Go to the source code of this file.

Functions

static void init_gfx (void)
 
static void mainboard_enable (struct device *dev)
 

Variables

struct chip_operations mainboard_ops
 

Function Documentation

◆ init_gfx()

static void init_gfx ( void  )
static

Definition at line 11 of file mainboard.c.

References fb_add_framebuffer_info(), height, width, and write32().

Referenced by mainboard_enable().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mainboard_enable()

static void mainboard_enable ( struct device dev)
static

Definition at line 32 of file mainboard.c.

References _dram, BIOS_DEBUG, BIOS_EMERG, halt(), init_gfx(), printk, probe_ramsize(), and ram_resource.

Here is the call graph for this function:

Variable Documentation

◆ mainboard_ops

struct chip_operations mainboard_ops
Initial value:
= {
.enable_dev = mainboard_enable,
}
static void mainboard_enable(struct device *dev)
Definition: mainboard.c:32

Definition at line 32 of file mainboard.c.