summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorzbao <fishbaozi@gmail.com>2015-11-06 23:24:08 +0800
committerZheng Bao <zheng.bao@amd.com>2015-11-10 10:37:51 +0100
commitdcbb1287a71bc6ed7f8e93fcb4bdc8557af6b3fb (patch)
treeae883c57fc8511f1780ac328a6da1a44559a06c9 /src
parentfbdfed01eb5be34113738daa214e42ecb76de173 (diff)
downloadcoreboot-dcbb1287a71bc6ed7f8e93fcb4bdc8557af6b3fb.tar.xz
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@amd.com> Signed-off-by: Zheng Bao <fishbaozi@gmail.com> Reviewed-on: http://review.coreboot.org/11748 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/amd/bettong/BiosCallOuts.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainboard/amd/bettong/BiosCallOuts.c b/src/mainboard/amd/bettong/BiosCallOuts.c
index 35c3d3afb5..dbf333632d 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");