From cd920bf1c07b35d497e4f16656cfcebe45aaf132 Mon Sep 17 00:00:00 2001 From: Sergej Ivanov Date: Tue, 1 Dec 2015 18:53:54 +0300 Subject: 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 Reviewed-on: https://review.coreboot.org/12580 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/mainboard/biostar/am1ml/BiosCallOuts.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mainboard/biostar/am1ml') 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 "); -- cgit v1.2.3