[coreboot-gerrit] New patch to review for coreboot: mainboard/bap/ode_e20XX: Change SATA from GEN2 to GEN3

Fabian Kunkel (fabi@adv.bruhnspace.com) gerrit at coreboot.org
Tue Jul 26 23:24:07 CEST 2016


Fabian Kunkel (fabi at adv.bruhnspace.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15906

-gerrit

commit d2e3ef960813d5c9b1e51d4ff8650feca19deb09
Author: Fabian Kunkel <fabi at adv.bruhnspace.com>
Date:   Tue Jul 26 22:24:31 2016 +0200

    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 at adv.bruhnspace.com>
---
 src/mainboard/bap/ode_e20XX/BiosCallOuts.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/mainboard/bap/ode_e20XX/BiosCallOuts.c b/src/mainboard/bap/ode_e20XX/BiosCallOuts.c
index b639e96..7b66e80 100644
--- a/src/mainboard/bap/ode_e20XX/BiosCallOuts.c
+++ b/src/mainboard/bap/ode_e20XX/BiosCallOuts.c
@@ -209,6 +209,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");
 



More information about the coreboot-gerrit mailing list