![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <stdint.h>
Go to the source code of this file.
Macros | |
#define | UNDEFINED_STRAPPING_ID (~0) |
#define | BOARD_ID_UNKNOWN ~((uint32_t)0) /* unsigned equivalent to -1 */ |
#define | BOARD_ID_INIT ~((uint32_t)1) /* unsigned equivalent to -2 */ |
Functions | |
uint32_t | board_id (void) |
board_id() - Get the board version More... | |
uint32_t | ram_code (void) |
uint32_t | sku_id (void) |
board_id() - Get the board version
Return: board version on success, BOARD_ID_UNKNOWN on failure/error.
This function is used to get the mainboard version.
Definition at line 6 of file ec_boardid.c.
Definition at line 192 of file coreboot_table.c.
References ARRAY_SIZE, BIOS_DEBUG, BIOS_INFO, BIOS_SPEW, BOARD_ID_INIT, cached_ram_id, CONFIG, get_adc_index(), get_index(), GPIO, gpio_base2_value(), gpio_binary_first_base3_value(), pins, printk, RAM_ID_0, RAM_ID_1, RAM_ID_2, RAM_ID_3, RAM_ID_CHANNEL, RAM_ID_HIGH_CHANNEL, RAM_ID_LOW_CHANNEL, sdram_get_ram_code(), UNDEFINED_STRAPPING_ID, and use_old_pins().
Referenced by add_cb_fdt_data(), get_sdram_config(), and lb_board_config().
Definition at line 193 of file coreboot_table.c.
References ARRAY_SIZE, BIOS_DEBUG, BIOS_WARNING, board_id(), BOARD_ID_INIT, CONFIG, CROS_SKU_UNKNOWN, FLAPJACK_UNDEF_SKU_ID, get_adc_index(), get_sku_index(), google_chromeec_cbi_get_sku_id(), google_chromeec_get_board_sku(), google_chromeec_get_sku_id(), GPIO, gpio_binary_first_base3_value(), gpio_pullup_base2_value(), sku_info::id, lcm_id(), panel_id(), pins, printk, sku, sku_id(), SKU_ID_CHANNEL, SKU_ID_HIGH_CHANNEL, SKU_ID_LOW_CHANNEL, skus, UNDEFINED_STRAPPING_ID, use_old_pins(), VARIANT_SKU_ID, VARIANT_SKU_ID_SIGNED_EC, wfc_id(), and wilco_ec_signed_fw().
Referenced by add_cb_fdt_data(), board_sku_id(), boot_is_factory_unprovisioned(), check_for_eps(), configure_ec(), configure_mipi_panel(), display_init(), eps_sku(), fit_add_default_compat_strings(), get_active_panel(), get_wifi_sar_cbfs_filename(), google_chromeec_get_board_sku(), google_chromeec_smbios_system_sku(), is_lte_sku(), is_ps8640_bridge(), lb_board_config(), mainboard_devtree_update(), mainboard_get_mipi_mode(), mainboard_vbt_filename(), meminit_lpddr4_by_sku(), no_touchscreen_sku(), sku_id(), smbios_system_sku(), variant_board_sku(), variant_devtree_update(), variant_ext_usb_status(), variant_override_gpio_table(), variant_sku_gpio_table(), variant_smi_sleep(), and variant_update_devtree().