Zheng Bao (zheng.bao@amd.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/11748
-gerrit
commit 1d1241be59642f77091465733e55586f7c49660d Author: zbao fishbaozi@gmail.com Date: Mon Jul 6 19:06:41 2015 -0400
AMD/Bettong: Set on-board eMMC as SD 2.0 for rev F
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 --- src/mainboard/amd/bettong/BiosCallOuts.c | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/src/mainboard/amd/bettong/BiosCallOuts.c b/src/mainboard/amd/bettong/BiosCallOuts.c index ad8dc40..83a1f19 100644 --- a/src/mainboard/amd/bettong/BiosCallOuts.c +++ b/src/mainboard/amd/bettong/BiosCallOuts.c @@ -31,6 +31,7 @@ #include "hudson.h" #include <stdlib.h> #include "BiosCallOuts.h" +#include "board_rev.h"
static AGESA_STATUS Fch_Oem_config(UINT32 Func, UINT32 FchData, VOID *ConfigPtr);
@@ -90,6 +91,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 support SD 2.0 */ + if (get_board_id() == 'F') { + FchParams_env->Sd.SdConfig = SdVer2; + } } printk(BIOS_DEBUG, "Done\n");