amd/agesa/f16kb: Allow SATA Gen3
YangtzeSataResetService implements the SataSetMaxGen2 double. The value should be only set, if the condition is met. For testing, add FchParams_env->Sata.SataMode.SataSetMaxGen2 = FALSE; to your BiosCallOuts.c, which enables GEN3 for the SATA ports. Patch is tested with bap/e20xx board, 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: I17a493b876a4be3236736b2116b331e465b159af Signed-off-by: Fabian Kunkel <fabi@adv.bruhnspace.com> Reviewed-on: https://review.coreboot.org/15728 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
parent
fc4c15b9e2
commit
cc19806ae7
|
@ -78,7 +78,6 @@ FchInitResetSataProgram (
|
||||||
if ( LocalCfgPtr->SataSetMaxGen2 ) {
|
if ( LocalCfgPtr->SataSetMaxGen2 ) {
|
||||||
FchSataMode |= 0x04;
|
FchSataMode |= 0x04;
|
||||||
}
|
}
|
||||||
FchSataMode |= 0x04;
|
|
||||||
|
|
||||||
RwPci (((SATA_BUS_DEV_FUN << 16) + 0x0A0), AccessWidth8, (UINT32)~(BIT2 + BIT3 + BIT4 + BIT5 + BIT6), 0, StdHeader);
|
RwPci (((SATA_BUS_DEV_FUN << 16) + 0x0A0), AccessWidth8, (UINT32)~(BIT2 + BIT3 + BIT4 + BIT5 + BIT6), 0, StdHeader);
|
||||||
FchSataClkMode = LocalCfgPtr->SataClkMode;
|
FchSataClkMode = LocalCfgPtr->SataClkMode;
|
||||||
|
|
Loading…
Reference in New Issue