summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFabian Kunkel <fabi@adv.bruhnspace.com>2016-07-26 22:24:31 +0200
committerMartin Roth <martinroth@google.com>2016-09-15 02:37:37 +0200
commit629ca4385996708e750c06f31d5fb4f2139cc978 (patch)
tree3f6b466edb531f332202815e9a27ef44004c42e5 /src
parent13d880fd37982e56d56ff517f3e031481b9cc566 (diff)
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 <fabi@adv.bruhnspace.com> Reviewed-on: https://review.coreboot.org/15906 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/bap/ode_e20XX/BiosCallOuts.c2
1 files changed, 2 insertions, 0 deletions
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");