coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <cbfs.h>
#include <fmap.h>
#include <types.h>
#include <arch/io.h>
#include <device/pci_ops.h>
#include <console/console.h>
#include <device/device.h>
#include <smbios.h>
#include <soc/pch.h>
#include <variant/onboard.h>
#include <mainboard/google/auron/variant.h>
Go to the source code of this file.
Functions | |
int | variant_smbios_data (struct device *dev, int *handle, unsigned long *current) |
static unsigned int | search (char *p, u8 *a, unsigned int lengthp, unsigned int lengtha) |
static unsigned char | get_hex_digit (u8 *offset) |
static int | get_mac_address (u32 *high_dword, u32 *low_dword, u8 *search_address, u32 search_length) |
static void | program_mac_address (u16 io_base) |
void | lan_init (void) |
Definition at line 47 of file variant.c.
References BIOS_DEBUG, offset, and printk.
Referenced by get_mac_address().
|
static |
Definition at line 66 of file variant.c.
References BIOS_DEBUG, get_hex_digit(), offset, printk, and search().
Referenced by program_mac_address().
Definition at line 155 of file variant.c.
References BUDDY_NIC_DEVICE_ID, BUDDY_NIC_LED_MODE, BUDDY_NIC_VENDOR_ID, dev_find_device(), NULL, outb(), pci_read_config16(), pci_write_config8(), and program_mac_address().
Definition at line 113 of file variant.c.
References BIOS_DEBUG, BIOS_ERR, cbfs_map(), CONFIG, fmap_locate_area_as_rdev(), get_mac_address(), NULL, outb(), outl(), printk, rdev, rdev_mmap_full(), and region_device_sz().
Referenced by lan_init().
Definition at line 32 of file variant.c.
Referenced by get_mac_address().
Definition at line 15 of file variant.c.
References BOARD_TOUCHSCREEN_I2C_ADDR, BOARD_TOUCHSCREEN_I2C_BUS, BOARD_TOUCHSCREEN_IRQ, BOARD_TOUCHSCREEN_NAME, SMBIOS_DEVICE_TYPE_OTHER, and smbios_write_type41().