diff options
author | Divya Sasidharan <divya.s.sasidharan@intel.com> | 2015-10-28 15:02:35 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-01-28 20:39:21 +0100 |
commit | 89a6685edea6b583f4a9da5bd53f818428c1cadf (patch) | |
tree | b833084febd3519a983cca447b9955f3eef098df /src/soc | |
parent | b0eb594b34f17ccb357c768f38d0716679e93e7f (diff) | |
download | coreboot-89a6685edea6b583f4a9da5bd53f818428c1cadf.tar.xz |
soc/braswell: Disable SD card detect simulation in FSP
CQ-DEPEND=CL:13038
Debounce for SD card detect takes a long time and thus affects boot time.
Disabling SD card detect simulation in FSP through UPD
Original-Reviewed-on: https://chromium-review.googlesource.com/311850
Original-Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Original-Tested-by: Hannah Williams <hannah.williams@intel.com>
Change-Id: Iab0794ec058460df94f6bbed5c9b0911e57e3a71
Signed-off-by: Divya Sasidharan <divya.s.sasidharan@intel.com>
Reviewed-on: https://review.coreboot.org/12742
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/intel/braswell/chip.c | 3 | ||||
-rw-r--r-- | src/soc/intel/braswell/chip.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/intel/braswell/chip.c b/src/soc/intel/braswell/chip.c index 6cf3e8a2a6..f177a30eb0 100644 --- a/src/soc/intel/braswell/chip.c +++ b/src/soc/intel/braswell/chip.c @@ -152,6 +152,7 @@ void soc_silicon_init_params(SILICON_INIT_UPD *params) params->PMIC_I2CBus = config->PMIC_I2CBus; params->ISPEnable = config->ISPEnable; params->ISPPciDevConfig = config->ISPPciDevConfig; + params->PcdSdDetectChk = config->PcdSdDetectChk; } void soc_display_silicon_init_params(const SILICON_INIT_UPD *old, @@ -312,6 +313,8 @@ void soc_display_silicon_init_params(const SILICON_INIT_UPD *old, old->ISPEnable, new->ISPEnable); fsp_display_upd_value("ISPPciDevConfig", 1, old->ISPPciDevConfig, new->ISPPciDevConfig); + fsp_display_upd_value("PcdSdDetectChk", 1, + old->PcdSdDetectChk, new->PcdSdDetectChk); } /* Called at BS_DEV_INIT_CHIPS time -- very early. Just after BS_PRE_DEVICE. */ diff --git a/src/soc/intel/braswell/chip.h b/src/soc/intel/braswell/chip.h index 6eb1451b2e..7b01f0bf11 100644 --- a/src/soc/intel/braswell/chip.h +++ b/src/soc/intel/braswell/chip.h @@ -139,6 +139,7 @@ struct soc_intel_braswell_config { UINT8 PMIC_I2CBus; UINT8 ISPEnable; UINT8 ISPPciDevConfig; + UINT8 PcdSdDetectChk; /*Enable\Disable SD Card Detect Simulation*/ }; extern struct chip_operations soc_intel_braswell_ops; |