soc/intel/quark: Remove UPD parameters
Remove the UPD parameters to match QuarkFsp code. TEST=Build and run on Galileo Gen2 Change-Id: Ie4639d1f087cc2bc4387aa691eb66b640fe8faf9 Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com> Reviewed-on: https://review.coreboot.org/14451 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
0e55632661
commit
eee0e22976
|
@ -55,29 +55,11 @@ struct chip_operations soc_intel_quark_ops = {
|
|||
.enable_dev = chip_enable_dev,
|
||||
};
|
||||
|
||||
void soc_silicon_init_params(SILICON_INIT_UPD *params)
|
||||
void soc_silicon_init_params(SILICON_INIT_UPD *upd)
|
||||
{
|
||||
struct soc_intel_quark_config *config;
|
||||
device_t dev;
|
||||
|
||||
/* Locate the configuration data from devicetree.cb */
|
||||
dev = dev_find_slot(0, LPC_DEV_FUNC);
|
||||
if (!dev) {
|
||||
printk(BIOS_ERR,
|
||||
"Error! Device (PCI:0:%02x.%01x) not found, "
|
||||
"soc_silicon_init_params!\n", PCI_DEVICE_NUMBER_QNC_LPC,
|
||||
PCI_FUNCTION_NUMBER_QNC_LPC);
|
||||
return;
|
||||
}
|
||||
config = dev->chip_info;
|
||||
|
||||
/* Set the parameters for SiliconInit */
|
||||
// printk(BIOS_DEBUG, "Updating UPD values for SiliconInit\n");
|
||||
}
|
||||
|
||||
void soc_display_silicon_init_params(const SILICON_INIT_UPD *old,
|
||||
SILICON_INIT_UPD *new)
|
||||
{
|
||||
/* Display the parameters for SiliconInit */
|
||||
// printk(BIOS_SPEW, "UPD values for SiliconInit:\n");
|
||||
}
|
||||
|
|
|
@ -81,13 +81,6 @@ void soc_memory_init_params(struct romstage_params *params,
|
|||
}
|
||||
config = dev->chip_info;
|
||||
|
||||
/* Set the parameters for MemoryInit */
|
||||
printk(BIOS_DEBUG, "Updating UPD values for MemoryInit\n");
|
||||
upd->PcdSmmTsegSize = IS_ENABLED(CONFIG_HAVE_SMI_HANDLER) ?
|
||||
config->PcdSmmTsegSize : 0;
|
||||
upd->PcdPlatformDataBaseAddress = (UINT32)pdat_file;
|
||||
upd->PcdPlatformDataMaxLen = (UINT32)pdat_file_len;
|
||||
|
||||
/* Display the ROM shadow data */
|
||||
hexdump((void *)0x000ffff0, 0x10);
|
||||
}
|
||||
|
@ -116,13 +109,4 @@ void soc_after_ram_init(struct romstage_params *params)
|
|||
void soc_display_memory_init_params(const MEMORY_INIT_UPD *old,
|
||||
MEMORY_INIT_UPD *new)
|
||||
{
|
||||
/* Display the parameters for MemoryInit */
|
||||
printk(BIOS_SPEW, "UPD values for MemoryInit:\n");
|
||||
fsp_display_upd_value("PcdSmmTsegSize", 2,
|
||||
old->PcdSmmTsegSize, new->PcdSmmTsegSize);
|
||||
fsp_display_upd_value("PcdPlatformDataBaseAddress", 4,
|
||||
old->PcdPlatformDataBaseAddress,
|
||||
new->PcdPlatformDataBaseAddress);
|
||||
fsp_display_upd_value("PcdPlatformDataMaxLen", 4,
|
||||
old->PcdPlatformDataMaxLen, new->PcdPlatformDataMaxLen);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue