mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
UPSTREAM: 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 BUG=None BRANCH=None TEST=None 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> Change-Id: I48361190969e6d38ddb5692f5e54b016b359fbb1 Reviewed-on: https://chromium-review.googlesource.com/385914 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
e077851482
commit
10bcd7b595
1 changed files with 2 additions and 0 deletions
|
@ -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");
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue