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>
This commit is contained in:
Fabian Kunkel 2016-07-26 22:24:31 +02:00 committed by Martin Roth
parent 13d880fd37
commit 629ca43859
1 changed files with 2 additions and 0 deletions

View File

@ -211,6 +211,8 @@ static AGESA_STATUS Fch_Oem_config(UINT32 Func, UINTN FchData, VOID *ConfigPtr)
FchParams_env->Usb.Xhci1Enable = FALSE; FchParams_env->Usb.Xhci1Enable = FALSE;
/* sata configuration */ /* sata configuration */
/* disable GEN2 limitation */
FchParams_env->Sata.SataMode.SataSetMaxGen2 = FALSE;
} }
printk(BIOS_DEBUG, "Done\n"); printk(BIOS_DEBUG, "Done\n");