From 629ca4385996708e750c06f31d5fb4f2139cc978 Mon Sep 17 00:00:00 2001 From: Fabian Kunkel Date: Tue, 26 Jul 2016 22:24:31 +0200 Subject: mainboard/bap/ode_e20XX: Change SATA from GEN2 to GEN3 This patch disables the SataSetMaxGen2 flag. This flag is a power saving option, which forces the SATA to GEN2. Payload SeaBIOS 1.9.1, Lubuntu 16.04, Kernel 4.4. $ dmesg | grep ahci #before patch ahci 0000:00:11.0: AHCI 0001.0300 32 slots 2 ports 3 Gbps 0x3 impl SATA mode $ dmesg | grep ahci #after patch ahci 0000:00:11.0: AHCI 0001.0300 32 slots 2 ports 6 Gbps 0x3 impl SATA mode Change-Id: I48361190969e6d38ddb5692f5e54b016b359fbb1 Signed-off-by: Fabian Kunkel Reviewed-on: https://review.coreboot.org/15906 Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/mainboard/bap/ode_e20XX/BiosCallOuts.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/mainboard/bap/ode_e20XX/BiosCallOuts.c b/src/mainboard/bap/ode_e20XX/BiosCallOuts.c index 787b833980..9880b601a0 100644 --- a/src/mainboard/bap/ode_e20XX/BiosCallOuts.c +++ b/src/mainboard/bap/ode_e20XX/BiosCallOuts.c @@ -211,6 +211,8 @@ static AGESA_STATUS Fch_Oem_config(UINT32 Func, UINTN FchData, VOID *ConfigPtr) FchParams_env->Usb.Xhci1Enable = FALSE; /* sata configuration */ + /* disable GEN2 limitation */ + FchParams_env->Sata.SataMode.SataSetMaxGen2 = FALSE; } printk(BIOS_DEBUG, "Done\n"); -- cgit v1.2.3