![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <device/device.h>
#include <libbdk-hal/bdk-config.h>
#include <libbdk-hal/bdk-twsi.h>
#include <soc/gpio.h>
#include <soc/uart.h>
#include <console/console.h>
#include <soc/clock.h>
#include <soc/timer.h>
#include <soc/cpu.h>
#include <soc/sdram.h>
#include <soc/spi.h>
#include <spi_flash.h>
#include <fmap.h>
Go to the source code of this file.
Functions | |
static void | mainboard_print_info (void) |
static void | mainboard_init (struct device *dev) |
static void | mainboard_enable (struct device *dev) |
Variables | |
const struct bdk_devicetree_key_value | devtree [] |
struct chip_operations | mainboard_ops |
Definition at line 97 of file mainboard.c.
References devtree, device_operations::init, mainboard_init(), mainboard_print_info(), and device::ops.
Definition at line 85 of file mainboard.c.
References NULL, soc_timer_init(), and start_cpu().
Referenced by mainboard_enable().
Definition at line 21 of file mainboard.c.
References BIOS_ERR, BIOS_INFO, boot_device_spi_flash(), cpu_get_num_available_cores(), fmap_locate_area(), gpio_strap_value(), NULL, printk, sdram_size_mb(), spi_flash_is_write_protected(), spi_get_clock(), thunderx_get_core_clock(), thunderx_get_io_clock(), and thunderx_get_ref_clock().
Referenced by mainboard_enable().
|
extern |
Definition at line 1 of file bdk_devicetree.c.
struct chip_operations mainboard_ops |
Definition at line 97 of file mainboard.c.