[coreboot-gerrit] Patch set updated for coreboot: AMD/Bettong: Set on-board eMMC as SD 2.0

Zheng Bao (zheng.bao@amd.com) gerrit at coreboot.org
Fri Nov 6 16:25:20 CET 2015


Zheng Bao (zheng.bao at amd.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/11748

-gerrit

commit 94e5927b19f566b62bd3c60c9ab51397247b4ff5
Author: zbao <fishbaozi at gmail.com>
Date:   Fri Nov 6 23:24:08 2015 +0800

    AMD/Bettong: Set on-board eMMC as SD 2.0
    
    The on-board eMMC is designed as 2.0. If it is set as 3.0,
    it can not be detected.
    
    Change-Id: I9fd913f76535e65c1672924ebdeba3d35dea59cc
    Signed-off-by: Zheng Bao <zheng.bao at amd.com>
    Signed-off-by: Zheng Bao <fishbaozi at gmail.com>
---
 src/mainboard/amd/bettong/BiosCallOuts.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/mainboard/amd/bettong/BiosCallOuts.c b/src/mainboard/amd/bettong/BiosCallOuts.c
index 652bb52..afe20fb 100644
--- a/src/mainboard/amd/bettong/BiosCallOuts.c
+++ b/src/mainboard/amd/bettong/BiosCallOuts.c
@@ -89,6 +89,11 @@ AGESA_STATUS Fch_Oem_config(UINT32 Func, UINT32 FchData, VOID *ConfigPtr)
 		FchParams_env->Usb.USB30PortInit = 8; /* 8: If USB3 port is unremoveable. */
 
 		/* sata configuration */
+		/* SD configuration */
+		/* Rev F has an on-board eMMC, which only supports SD 2.0 */
+		if (board_id() == 'F') {
+			FchParams_env->Sd.SdConfig = SdVer2;
+		}
 	}
 	printk(BIOS_DEBUG, "Done\n");
 



More information about the coreboot-gerrit mailing list