coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <assert.h>
#include <amdblocks/ioapic.h>
#include <device/pci.h>
#include <soc/iomap.h>
#include <soc/pci_devs.h>
#include <soc/platform_descriptors.h>
#include <soc/soc_util.h>
#include <fsp/api.h>
#include "chip.h"
Go to the source code of this file.
Functions | |
static void | fsps_update_emmc_config (FSP_S_CONFIG *scfg, const struct soc_amd_picasso_config *cfg) |
static void | fill_dxio_descriptors (FSP_S_CONFIG *scfg, const fsp_dxio_descriptor *descs, size_t num) |
static void | fill_ddi_descriptors (FSP_S_CONFIG *scfg, const fsp_ddi_descriptor *descs, size_t num) |
static void | fsp_fill_pcie_ddi_descriptors (FSP_S_CONFIG *scfg) |
static void | fsp_usb_oem_customization (FSP_S_CONFIG *scfg, const struct soc_amd_picasso_config *cfg) |
static void | fsp_assign_ioapic_upds (FSP_S_CONFIG *scfg) |
static void | fsp_edp_tuning_upds (FSP_S_CONFIG *scfg, const struct soc_amd_picasso_config *cfg) |
static void | fsp_assign_vbios_upds (FSP_S_CONFIG *scfg) |
void | platform_fsp_silicon_init_params_cb (FSPS_UPD *supd) |
|
static |
Definition at line 80 of file fsp_s_params.c.
References ASSERT_MSG, and memcpy().
Referenced by fsp_fill_pcie_ddi_descriptors().
|
static |
Definition at line 67 of file fsp_s_params.c.
References ASSERT_MSG, and memcpy().
Referenced by fsp_fill_pcie_ddi_descriptors().
|
static |
Definition at line 150 of file fsp_s_params.c.
References FCH_IOAPIC_ID, and GNB_IOAPIC_ID.
Referenced by platform_fsp_silicon_init_params_cb().
|
static |
Definition at line 180 of file fsp_s_params.c.
References CONFIG, and PCI_VGA_RAM_IMAGE_START.
Referenced by platform_fsp_silicon_init_params_cb().
|
static |
Definition at line 157 of file fsp_s_params.c.
References soc_amd_picasso_config::boostadj, soc_amd_picasso_config::deemph_6db4, soc_amd_picasso_config::dp_vs_pemph_level, soc_amd_picasso_config::edp_phy_override, soc_amd_picasso_config::edp_physel, soc_amd_picasso_config::edp_pwr_adjust_enable, soc_amd_picasso_config::edp_tuningset, ENABLE_EDP_TUNINGSET, soc_amd_picasso_config::margin_deemph, soc_amd_picasso_config::min_allowed_bl_level, soc_amd_picasso_config::pwrdown_bloff_to_varybloff, soc_amd_picasso_config::pwrdown_de_to_digoff, soc_amd_picasso_config::pwrdown_varybloff_to_de, soc_amd_picasso_config::pwroff_delay, soc_amd_picasso_config::pwron_de_to_varybl, soc_amd_picasso_config::pwron_digon_to_de, and soc_amd_picasso_config::pwron_varybl_to_blon.
Referenced by platform_fsp_silicon_init_params_cb().
|
static |
Definition at line 93 of file fsp_s_params.c.
References fill_ddi_descriptors(), fill_dxio_descriptors(), mainboard_get_dxio_ddi_descriptors(), and NULL.
Referenced by platform_fsp_silicon_init_params_cb().
|
static |
Definition at line 106 of file fsp_s_params.c.
References ASSERT, get_silicon_type(), soc_amd_picasso_config::has_usb2_phy_tune_params, memcpy(), SILICON_RV2, soc_amd_picasso_config::usb3_phy_override, soc_amd_picasso_config::usb3_phy_tune_params, soc_amd_picasso_config::usb3_port_force_gen1, usb3_force_gen1::usb3_port_force_gen1_en, soc_amd_picasso_config::usb3_rx_vref_ctrl, soc_amd_picasso_config::usb3_rx_vref_ctrl_en, soc_amd_picasso_config::usb_2_port_tune_params, soc_amd_picasso_config::usb_3_rx_vref_ctrl_en_x, soc_amd_picasso_config::usb_3_rx_vref_ctrl_x, soc_amd_picasso_config::usb_3_tx_vboost_lvl, soc_amd_picasso_config::usb_3_tx_vboost_lvl_en, soc_amd_picasso_config::usb_3_tx_vboost_lvl_en_x, soc_amd_picasso_config::usb_3_tx_vboost_lvl_x, USB_PORT_COUNT, and soc_amd_picasso_config::usb_port_overcurrent_pin.
Referenced by platform_fsp_silicon_init_params_cb().
|
static |
Definition at line 13 of file fsp_s_params.c.
References soc_amd_picasso_config::ddr50_driver_strength, soc_amd_picasso_config::emmc_config, EMMC_DDR_104, EMMC_HS200, EMMC_HS300, EMMC_HS400, EMMC_SDR_26, EMMC_SDR_52, soc_amd_picasso_config::init_khz_preset, SD_DISABLE, SD_HIGH_SPEED, SD_LOW_SPEED, SD_UHS_I_DDR_50, SD_UHS_I_SDR_104, SD_UHS_I_SDR_50, soc_amd_picasso_config::sdr104_hs400_driver_strength, soc_amd_picasso_config::sdr50_driver_strength, soc_amd_picasso_config::timing, and val.
Referenced by platform_fsp_silicon_init_params_cb().
void platform_fsp_silicon_init_params_cb | ( | FSPS_UPD * | supd | ) |
Definition at line 185 of file fsp_s_params.c.
References config_of_soc, fsp_assign_ioapic_upds(), fsp_assign_vbios_upds(), fsp_edp_tuning_upds(), fsp_fill_pcie_ddi_descriptors(), FSP_S_CONFIG, fsp_usb_oem_customization(), and fsps_update_emmc_config().