coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
ec_boardid.c File Reference
#include <boardid.h>
#include <ec/google/chromeec/ec.h>
Include dependency graph for ec_boardid.c:

Go to the source code of this file.

Functions

uint32_t board_id (void)
 board_id() - Get the board version More...
 

Function Documentation

◆ board_id()

uint32_t board_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.

References BOARD_ID_INIT, BOARD_ID_UNKNOWN, google_chromeec_get_board_version(), and MAYBE_STATIC_NONZERO.

Referenced by add_cb_fdt_data(), assert_sw_reset(), board_nand_init(), board_silicon_USB2_override(), bootblock_mainboard_init(), configure_audio(), configure_backlight(), configure_display(), configure_ext_buck(), configure_touchscreen(), configure_usb(), configure_usb_hub(), display_pattern(), fit_add_default_compat_strings(), get_ec_is_trusted(), get_panel_description(), get_rec_sw_gpio_pin(), get_spd_index(), get_wp_status_gpio_pin(), is_ps8640_bridge(), mainboard_config_gpios(), mainboard_fill_gnvs(), mainboard_get_hsio_config(), mainboard_get_spd_index(), mainboard_init(), mainboard_memory_init_params(), mainboard_save_dimm_info(), mainboard_spi_fast_speed_override(), memcfg_variant_init(), platform_romstage_main(), pmic_init(), pwm_regulator_configure(), read_edid_from_ps8640(), setup_chromeos_gpios(), setup_tpm(), tis_plat_irq_status(), variant_devtree_update(), variant_early_gpio_table(), variant_get_event_info(), variant_gpio_override_table(), variant_lpddr4_config(), variant_memcfg_config(), variant_memory_params(), variant_memory_sku(), variant_override_gpio_table(), variant_pcie_override_gpio_table(), variant_sd_aux_reset_gpio(), variant_tpm_gpio_table(), and variant_update_typec_init_config().

Here is the call graph for this function:
Here is the caller graph for this function: