14 #include <soc/iomap.h>
16 #include <soc/pci_devs.h>
17 #include <soc/ramstage.h>
35 case 0:
return "HS01";
36 case 1:
return "HS02";
37 case 2:
return "HS03";
38 case 3:
return "HS04";
44 case 4:
return "SS01";
45 case 5:
return "SS02";
46 case 6:
return "SS03";
47 case 7:
return "SS04";
113 #if CONFIG(HAVE_ACPI_TABLES)
122 #if CONFIG(HAVE_ACPI_TABLES)
150 BL_HSIO_INFORMATION *hsio_config;
154 supported_hsio_lanes =
155 (
uint16_t)fiamux_hob_data->FiaMuxConfig.SkuNumLanesAllowed;
160 die(
"HSIO Configuration is invalid, please correct it!");
163 if (!(&hsio_config->FiaConfig)) {
164 die(
"Requested FIA MUX Configuration is invalid,"
165 " please correct it!");
169 silupd->FspsConfig.PcdBifurcationPcie0 = hsio_config->PcieBifCtr[0];
170 silupd->FspsConfig.PcdBifurcationPcie1 = hsio_config->PcieBifCtr[1];
172 silupd->FspsConfig.PcdFiaMuxConfigRequestPtr =
179 size_t microcode_len;
181 microcode_file =
cbfs_map(
"cpu_microcode_blob.bin", µcode_len);
183 if ((microcode_file !=
NULL) && (microcode_len != 0)) {
185 silupd->FspsConfig.PcdCpuMicrocodePatchBase =
187 silupd->FspsConfig.PcdCpuMicrocodePatchSize =
static void * cbfs_map(const char *name, size_t *size_out)
void __noreturn die(const char *fmt,...)
void generate_cpu_entries(const struct device *device)
BOOT_STATE_INIT_ENTRY(BS_PAYLOAD_LOAD, BS_ON_EXIT, wilco_ec_post_complete, NULL)
BL_FIA_MUX_CONFIG_HOB * get_fiamux_hob_data(void)
int get_fiamux_hsio_info(uint16_t num_of_lanes, size_t num_of_entry, BL_HSIO_INFORMATION **config)
void fsp_silicon_init(void)
void block_gpio_enable(struct device *dev)
void soc_save_dimm_info(void)
static void noop_read_resources(struct device *dev)
Standard device operations function pointers shims.
static void noop_set_resources(struct device *dev)
static void mp_cpu_bus_init(struct device *dev)
size_t mainboard_get_hsio_config(BL_HSIO_INFORMATION **p_hsio_config)
@ DEVICE_PATH_CPU_CLUSTER
void pci_dev_set_subsystem(struct device *dev, unsigned int vendor, unsigned int device)
void pci_domain_read_resources(struct device *dev)
void pci_domain_set_resources(struct device *dev)
void pci_domain_scan_bus(struct device *dev)
Scan a PCI domain.
struct device_operations cpu_bus_ops
const char * soc_acpi_name(const struct device *dev)
void platform_fsp_silicon_init_params_cb(FSPS_UPD *silupd)
__weak void mainboard_silicon_init_params(FSP_S_CONFIG *silconfig)
struct pci_operations soc_pci_ops
void soc_silicon_init_params(SILICON_INIT_UPD *params)
static void soc_final(void *data)
static struct device_operations pci_domain_ops
static void soc_enable_dev(struct device *dev)
static void soc_init(void *data)
static void spi_flash_init_cb(void *unused)
struct chip_operations soc_intel_denverton_ns_ops
void(* read_resources)(struct device *dev)
enum device_path_type type
struct device_operations * ops