![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <stddef.h>
#include <boardid.h>
#include <ec/google/chromeec/ec.h>
#include <FspmUpd.h>
#include <soc/amd/picasso/chip.h>
#include <soc/platform_descriptors.h>
Go to the source code of this file.
const fsp_ddi_descriptor* baseboard_get_ddi_descriptors | ( | size_t * | num | ) |
Definition at line 67 of file fsps_baseboard_dalboz.c.
References ARRAY_SIZE, dali_ddi_descriptors, NULL, pco_ddi_descriptors, and soc_is_reduced_io_sku().
Referenced by variant_get_dxio_ddi_descriptors().
const fsp_dxio_descriptor* baseboard_get_dxio_descriptors | ( | size_t * | num | ) |
Definition at line 61 of file fsps_baseboard_dalboz.c.
References ARRAY_SIZE, dali_dxio_descriptors, dxio_descriptors, pco_dxio_descriptors, and soc_is_reduced_io_sku().
Referenced by variant_get_dxio_ddi_descriptors().
int boot_is_factory_unprovisioned | ( | void | ) |
Definition at line 14 of file sku_id.c.
References CROS_SKU_UNPROVISIONED, and sku_id().
Referenced by variant_devtree_update(), and variant_get_dxio_ddi_descriptors().
void finalize_gpios | ( | int | slp_typ | ) |
Definition at line 280 of file gpio_baseboard_dalboz.c.
References ACPI_S3, fpmcu_needs_delay(), GPIO_11, GPIO_32, gpio_set(), mdelay(), and variant_has_fingerprint().
Referenced by mainboard_final().
Definition at line 194 of file helpers.c.
References google_chromeec_cbi_get_board_version().
Referenced by finalize_gpios().
Definition at line 63 of file ramstage_common.c.
References update_dmic_gpio(), and update_hp_int_odl().
Referenced by mainboard_devtree_update().
const struct soc_amd_gpio* variant_base_gpio_table | ( | size_t * | size | ) |
Definition at line 93 of file ramstage_common.c.
References baseboard_trembyle_remove_bluetooth_reset_gpio(), CONFIG, and variant_uses_v3_schematics().
Referenced by mainboard_devtree_update().
const struct soc_amd_gpio* variant_bootblock_gpio_table | ( | size_t * | size, |
int | slp_typ | ||
) |
Definition at line 284 of file gpio_baseboard_dalboz.c.
Definition at line 86 of file mainboard.c.
const struct soc_amd_gpio* variant_early_gpio_table | ( | size_t * | size | ) |
const struct soc_amd_gpio* variant_espi_gpio_table | ( | size_t * | size | ) |
Definition at line 348 of file gpio.c.
References ARRAY_SIZE, and espi_gpio_table.
Referenced by bootblock_mainboard_early_init(), mb_set_up_early_espi(), and verstage_mainboard_espi_init().
int variant_get_daughterboard_id | ( | void | ) |
Definition at line 181 of file helpers.c.
References extract_field(), FW_CONFIG_DB_INDEX_SHIFT, and FW_CONFIG_MASK_DB_INDEX.
Referenced by variant_get_dxio_ddi_descriptors().
void variant_get_dxio_ddi_descriptors | ( | const fsp_dxio_descriptor ** | dxio_descs, |
size_t * | dxio_num, | ||
const fsp_ddi_descriptor ** | ddi_descs, | ||
size_t * | ddi_num | ||
) |
Definition at line 7 of file fsps_baseboard_dalboz.c.
References ARRAY_SIZE, baseboard_get_ddi_descriptors(), baseboard_get_dxio_descriptors(), boot_is_factory_unprovisioned(), DALBOZ_DB_HDMI, hdmi_ddi_descriptors, non_hdmi_ddi_descriptors, and variant_get_daughterboard_id().
Referenced by mainboard_get_dxio_ddi_descriptors().
int variant_gets_mb_type_config | ( | void | ) |
Definition at line 98 of file helpers.c.
References extract_field(), FW_CONFIG_MASK_MB_TYPE, and FW_CONFIG_SHIFT_MB_TYPE.
Referenced by variant_updm_update().
int variant_gets_sar_config | ( | void | ) |
Definition at line 93 of file helpers.c.
References extract_field(), FW_CONFIG_MASK_SAR, and FW_CONFIG_SHIFT_SAR.
Referenced by get_wifi_sar_cbfs_filename().
Definition at line 165 of file helpers.c.
References CONFIG, and google_chromeec_cbi_get_board_version().
Referenced by wifi_power_reset_configure_v3().
int variant_has_emmc | ( | void | ) |
Definition at line 103 of file helpers.c.
References extract_field(), FW_CONFIG_MASK_EMMC, and FW_CONFIG_SHIFT_EMMC.
Referenced by variant_devtree_update().
Definition at line 186 of file helpers.c.
References CONFIG.
Referenced by finalize_gpios().
int variant_has_nvme | ( | void | ) |
Definition at line 108 of file helpers.c.
References extract_field(), FW_CONFIG_MASK_NVME, and FW_CONFIG_SHIFT_NVME.
int variant_has_wwan | ( | void | ) |
Definition at line 113 of file helpers.c.
References extract_field(), FW_CONFIG_MASK_WWAN, and FW_CONFIG_SHIFT_WWAN.
Referenced by variant_devtree_update().
int variant_is_convertible | ( | void | ) |
Definition at line 118 of file helpers.c.
References extract_field(), FW_CONFIG_LID_ANGLE_TABLET_MODE_SHIFT, and FW_CONFIG_MASK_LID_ANGLE_TABLET_MODE.
Referenced by variant_devtree_update().
const struct soc_amd_gpio* variant_override_gpio_table | ( | size_t * | size | ) |
Definition at line 252 of file gpio_baseboard_dalboz.c.
References ARRAY_SIZE, GPIO_115, GPIO_116, GPIO_132, GPIO_142, GPIO_27, GPIO_40, GPIO_92, gpio_configure_pads(), gpio_set(), PAD_GPO, PAD_NF, pcie_gpio_table, PULL_NONE, variant_uses_v3_schematics(), wifi_power_reset_configure_pre_v3(), and wifi_power_reset_configure_v3().
Referenced by bootblock_mainboard_early_init().
const struct soc_amd_gpio* variant_sleep_gpio_table | ( | size_t * | size, |
int | slp_typ | ||
) |
Definition at line 101 of file ramstage_common.c.
References acpi_gpio::active_low, device::chip_ops, config_of(), dev_bus_each_child(), DEV_PTR, DEVTREE_CONST, drivers_i2c_generic_ops, drivers_i2c_hid_ops, drivers_i2c_generic_config::enable_gpio, drivers_i2c_hid_config::generic, GPIO_140, device::link_list, NULL, acpi_gpio::pin_count, acpi_gpio::pins, drivers_i2c_generic_config::reset_gpio, and variant_uses_v3_6_schematics().
Referenced by mainboard_devtree_update().
const struct soc_amd_gpio* variant_tpm_gpio_table | ( | size_t * | size | ) |
Definition at line 354 of file gpio.c.
References ARRAY_SIZE, bid1_tpm_gpio_table, bid2_tpm_gpio_table, board_id(), and tpm_gpio_table.
Referenced by bootblock_mainboard_early_init(), and verstage_mainboard_tpm_init().
void variant_updm_update | ( | FSP_M_CONFIG * | mcfg | ) |
Definition at line 6 of file romstage.c.
References BIOS_INFO, printk, and variant_gets_mb_type_config().
Referenced by mainboard_updm_update().
Definition at line 160 of file helpers.c.
References variant_uses_v3_6_schematics().
Referenced by update_hp_int_odl().
Definition at line 140 of file helpers.c.
References CONFIG, and google_chromeec_cbi_get_board_version().
Referenced by variant_touchscreen_update(), and variant_uses_codec_gpi().
Definition at line 124 of file helpers.c.
References CONFIG, and google_chromeec_cbi_get_board_version().
Referenced by update_dmic_gpio(), variant_bluetooth_update(), and variant_pcie_gpio_configure().