![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <types.h>
#include <cbfs.h>
#include <device/device.h>
#include <device/pci_ops.h>
#include <console/console.h>
#include <drivers/intel/gma/int15.h>
#include <fmap.h>
#include <arch/io.h>
#include "onboard.h"
#include "ec.h"
#include <southbridge/intel/bd82x6x/pch.h>
#include <smbios.h>
#include <ec/quanta/ene_kb3940q/ec.h>
Go to the source code of this file.
Functions | |
static unsigned int | search (char *p, char *a, unsigned int lengthp, unsigned int lengtha) |
static unsigned char | get_hex_digit (char *offset) |
static int | get_mac_address (u32 *high_dword, u32 *low_dword, u32 search_address, u32 search_length) |
static void | program_mac_address (u16 io_base, u32 search_address, u32 search_length) |
static void | program_keyboard_type (u32 search_address, u32 search_length) |
static void | mainboard_init (struct device *dev) |
static int | butterfly_onboard_smbios_data (struct device *dev, int *handle, unsigned long *current) |
static void | mainboard_enable (struct device *dev) |
Variables | |
struct chip_operations | mainboard_ops |
|
static |
Definition at line 234 of file mainboard.c.
References BOARD_TRACKPAD_I2C_ADDR, BOARD_TRACKPAD_IRQ, BOARD_TRACKPAD_NAME, SMBIOS_DEVICE_TYPE_OTHER, and smbios_write_type41().
Referenced by mainboard_enable().
|
static |
Definition at line 32 of file mainboard.c.
References BIOS_DEBUG, offset, and printk.
Referenced by get_mac_address().
|
static |
Definition at line 51 of file mainboard.c.
References BIOS_DEBUG, get_hex_digit(), offset, printk, and search().
Referenced by program_mac_address().
Definition at line 255 of file mainboard.c.
References butterfly_onboard_smbios_data(), GMA_INT15_ACTIVE_LFP_INT_LVDS, GMA_INT15_BOOT_DISPLAY_DEFAULT, GMA_INT15_PANEL_FIT_DEFAULT, device_operations::init, install_intel_vga_int15_handler(), mainboard_init(), and device::ops.
Definition at line 162 of file mainboard.c.
References butterfly_ec_init(), BUTTERFLY_NIC_DEVICE_ID, BUTTERFLY_NIC_LED_MODE, BUTTERFLY_NIC_VENDOR_ID, cbfs_map(), CONFIG, dev_find_device(), fmap_locate_area_as_rdev(), NULL, outb(), pci_read_config16(), pci_write_config8(), program_keyboard_type(), program_mac_address(), rdev, rdev_mmap_full(), and region_device_sz().
Referenced by mainboard_enable().
Definition at line 122 of file mainboard.c.
References BIOS_DEBUG, EC_KBD_EN, EC_KBD_JP, EC_KBID_REG, ec_mem_write(), offset, printk, and search().
Referenced by mainboard_init().
Definition at line 99 of file mainboard.c.
References BIOS_DEBUG, get_mac_address(), outb(), outl(), and printk.
Referenced by mainboard_init().
|
static |
Definition at line 17 of file mainboard.c.
Referenced by get_mac_address(), and program_keyboard_type().
struct chip_operations mainboard_ops |
Definition at line 255 of file mainboard.c.