diff options
author | Sergej Ivanov <getinaks@gmail.com> | 2015-12-01 18:53:54 +0300 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2015-12-04 17:07:59 +0100 |
commit | cd920bf1c07b35d497e4f16656cfcebe45aaf132 (patch) | |
tree | 03b18bf067f6329444a2156901fe7a4fca9948ae | |
parent | 6e1192019eec85f3d8166970d2bf130c82471dd6 (diff) |
mainboard/biostar/am1ml: Force basic SPI read mode
This patch force AGESA to use basic SPI read mode.
Without it board hangs during spi configure if W25Q32 chip is used.
Change-Id: I3e17cd21702626be5061d2fc14adc0c22f167efb
Signed-off-by: Sergej Ivanov <getinaks@gmail.com>
Reviewed-on: https://review.coreboot.org/12580
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
-rw-r--r-- | src/mainboard/biostar/am1ml/BiosCallOuts.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/biostar/am1ml/BiosCallOuts.c b/src/mainboard/biostar/am1ml/BiosCallOuts.c index c87f46507f..318d9ba28f 100644 --- a/src/mainboard/biostar/am1ml/BiosCallOuts.c +++ b/src/mainboard/biostar/am1ml/BiosCallOuts.c @@ -118,6 +118,7 @@ static AGESA_STATUS Fch_Oem_config(UINT32 Func, UINTN FchData, VOID *ConfigPtr) FchParams_reset->LegacyFree = IS_ENABLED(CONFIG_HUDSON_LEGACY_FREE); FchParams_reset->FchReset.SataEnable = 1; FchParams_reset->FchReset.IdeEnable = 0; + FchParams_reset->Mode = 6; } else if (StdHeader->Func == AMD_INIT_ENV) { FCH_DATA_BLOCK *FchParams_env = (FCH_DATA_BLOCK *)FchData; printk(BIOS_DEBUG, "Fch OEM config in INIT ENV "); |