coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <stdint.h>
#include <console/console.h>
#include <drivers/vpd/vpd.h>
#include <smbios.h>
#include <soc/ramstage.h>
#include <uuid.h>
#include "gpio.h"
Go to the source code of this file.
Macros | |
#define | VPD_KEY_SERIAL "serial_number" |
#define | VPD_KEY_UUID "UUID" |
#define | VPD_SERIAL_LEN 17 |
Functions | |
void | mainboard_silicon_init_params (FSP_SIL_UPD *params) |
const char * | smbios_system_serial_number (void) |
void | smbios_system_set_uuid (u8 *uuid) |
#define VPD_KEY_SERIAL "serial_number" |
Definition at line 20 of file ramstage.c.
#define VPD_KEY_UUID "UUID" |
Definition at line 21 of file ramstage.c.
#define VPD_SERIAL_LEN 17 |
Definition at line 22 of file ramstage.c.
void mainboard_silicon_init_params | ( | FSP_SIL_UPD * | params | ) |
Definition at line 12 of file ramstage.c.
References ARRAY_SIZE, gpio_configure_pads(), gpio_table, and params.
const char* smbios_system_serial_number | ( | void | ) |
Definition at line 24 of file ramstage.c.
References BIOS_ERR, printk, serial, vpd_gets(), VPD_KEY_SERIAL, VPD_RO, and VPD_SERIAL_LEN.
Definition at line 35 of file ramstage.c.
References BIOS_ERR, memset(), parse_uuid(), printk, UUID_LEN, UUID_STRLEN, vpd_gets(), VPD_KEY_UUID, and VPD_RO.