coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
fsp_s_params.c File Reference
#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"
Include dependency graph for fsp_s_params.c:

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)
 

Function Documentation

◆ fill_ddi_descriptors()

static void fill_ddi_descriptors ( FSP_S_CONFIG scfg,
const fsp_ddi_descriptor *  descs,
size_t  num 
)
static

Definition at line 80 of file fsp_s_params.c.

References ASSERT_MSG, and memcpy().

Referenced by fsp_fill_pcie_ddi_descriptors().

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

◆ fill_dxio_descriptors()

static void fill_dxio_descriptors ( FSP_S_CONFIG scfg,
const fsp_dxio_descriptor *  descs,
size_t  num 
)
static

Definition at line 67 of file fsp_s_params.c.

References ASSERT_MSG, and memcpy().

Referenced by fsp_fill_pcie_ddi_descriptors().

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

◆ fsp_assign_ioapic_upds()

static void fsp_assign_ioapic_upds ( FSP_S_CONFIG scfg)
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().

Here is the caller graph for this function:

◆ fsp_assign_vbios_upds()

static void fsp_assign_vbios_upds ( FSP_S_CONFIG scfg)
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().

Here is the caller graph for this function:

◆ fsp_edp_tuning_upds()

◆ fsp_fill_pcie_ddi_descriptors()

static void fsp_fill_pcie_ddi_descriptors ( FSP_S_CONFIG scfg)
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().

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

◆ fsp_usb_oem_customization()

◆ fsps_update_emmc_config()

◆ platform_fsp_silicon_init_params_cb()

void platform_fsp_silicon_init_params_cb ( FSPS_UPD *  supd)