coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <assert.h>
#include <bootstate.h>
#include <cbfs.h>
#include <console/console.h>
#include <device/device.h>
#include <ec/google/chromeec/ec.h>
#include <fw_config.h>
#include <inttypes.h>
#include <lib.h>
#include <stdbool.h>
#include <stdint.h>
#include <drivers/vpd/vpd.h>
Go to the source code of this file.
Functions | |
uint64_t | fw_config_get (void) |
fw_config_get() - Provide firmware configuration value. More... | |
bool | fw_config_probe (const struct fw_config *match) |
bool | fw_config_is_provisioned (void) |
bool | fw_config_probe_dev (const struct device *dev, const struct fw_config **matching_probe) |
fw_config_get() - Provide firmware configuration value.
Return 64bit firmware configuration value determined for the system.
Definition at line 16 of file fw_config.c.
References BIOS_INFO, BIOS_WARNING, cbfs_load(), CONFIG, google_chromeec_cbi_get_fw_config(), printk, PRIx64, UNDEFINED_FW_CONFIG, vpd_get_int(), and VPD_RW_THEN_RO.
Referenced by fw_config_is_provisioned(), and fw_config_probe().
Definition at line 83 of file fw_config.c.
References fw_config_get(), and UNDEFINED_FW_CONFIG.
Referenced by fw_config_handle(), and fw_config_probe().
Definition at line 62 of file fw_config.c.
References BIOS_INFO, fw_config::field_name, fw_config_get(), fw_config_is_provisioned(), fw_config::mask, fw_config::option_name, printk, PRIx64, and fw_config::value.
Referenced by audio_codec_update(), devtree_update_audio_codec(), ext_vr_update(), fw_config_handle(), fw_config_probe_dev(), get_wifi_sar_cbfs_filename(), mainboard_vbt_filename(), typec_orientation_fixup(), variant_update_descriptor(), and variant_update_soc_chip_config().
Definition at line 88 of file fw_config.c.
References fw_config_probe(), fw_config::mask, NULL, and device::probe_list.
Referenced by is_dev_enabled().