diff options
author | Ben Gardner <gardner.ben@gmail.com> | 2016-01-14 17:15:37 -0600 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2016-02-10 02:45:56 +0100 |
commit | 3968653f25d9c2147f0b74aa4467a555204a4c9b (patch) | |
tree | 22780b184afa5a8b9fdc2d15a2c759aceb2a8fd7 /src/soc/intel | |
parent | 318ef96af346df886348f622f1cd711ade29011e (diff) |
soc/fsp_baytrail: Add support for FSP MR 005
Baytrail FSP MR 005 adds two new fields:
AutoSelfRefreshEnable
APTaskTimeoutCnt
Add the device tree definitions.
Change-Id: I12e2a8b0b5cbeb6b7289cf91f65b25e73007a8de
Signed-off-by: Ben Gardner <gardner.ben@gmail.com>
Reviewed-on: https://review.coreboot.org/12973
Tested-by: build bot (Jenkins)
Reviewed-by: York Yang <york.yang@intel.com>
Diffstat (limited to 'src/soc/intel')
-rw-r--r-- | src/soc/intel/fsp_baytrail/chip.h | 10 | ||||
-rw-r--r-- | src/soc/intel/fsp_baytrail/fsp/chipset_fsp_util.c | 2 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/soc/intel/fsp_baytrail/chip.h b/src/soc/intel/fsp_baytrail/chip.h index 8a88d44174..35dafa9af1 100644 --- a/src/soc/intel/fsp_baytrail/chip.h +++ b/src/soc/intel/fsp_baytrail/chip.h @@ -217,6 +217,16 @@ struct soc_intel_fsp_baytrail_config { #define ENABLE_IGD_DISABLE UPD_DISABLE #define ENABLE_IGD_ENABLE UPD_ENABLE + /* AutoSelfRefreshEnable */ + uint8_t AutoSelfRefreshEnable; + #define AUTO_SELF_REFRESH_DEFAULT UPD_DEFAULT + #define AUTO_SELF_REFRESH_DISABLE UPD_DISABLE + #define AUTO_SELF_REFRESH_ENABLE UPD_ENABLE + + /* APTaskTimeoutCnt */ + uint16_t APTaskTimeoutCnt; + #define AP_TASK_TIMEOUT_CNT_DEFAULT UPD_DEFAULT + /* Memory down data */ uint8_t EnableMemoryDown; #define MEMORY_DOWN_DEFAULT UPD_DEFAULT diff --git a/src/soc/intel/fsp_baytrail/fsp/chipset_fsp_util.c b/src/soc/intel/fsp_baytrail/fsp/chipset_fsp_util.c index 1327533d46..107bfad569 100644 --- a/src/soc/intel/fsp_baytrail/fsp/chipset_fsp_util.c +++ b/src/soc/intel/fsp_baytrail/fsp/chipset_fsp_util.c @@ -113,6 +113,8 @@ static void ConfigureDefaultUpdData(FSP_INFO_HEADER *FspInfo, UPD_DATA_REGION *U UPD_DEFAULT_CHECK(PcdEMMC45HS200Enabled); UPD_DEFAULT_CHECK(PcdEMMC45RetuneTimerValue); UPD_DEFAULT_CHECK(PcdEnableIgd); + UPD_DEFAULT_CHECK(AutoSelfRefreshEnable); + UPD_DEFAULT_CHECK(APTaskTimeoutCnt); if ((config->PcdeMMCBootMode != EMMC_USE_DEFAULT) || (config->PcdeMMCBootMode != EMMC_FOLLOWS_DEVICETREE)) |