summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Jones <marcj303@gmail.com>2017-08-07 17:48:54 -0600
committerMartin Roth <martinroth@google.com>2017-08-10 15:47:06 +0000
commit71c1b939247eea42f122fd32c058110b3631c893 (patch)
treed5dac629f3e65963992df687c94243698176909d
parent12a3fbdb7ed65a89810e606f336556fa737a3215 (diff)
google/kahlee: Set eMMC slot
Set AGESA SD/eMMc variable to non-removable eMMc. BUG=b:63891719 BRANCH=none TEST=Boot eMMC on Kahlee. Change-Id: I76ed9cec36a9688ebe75db2077f1ece4ab750c16 Signed-off-by: Marc Jones <marcj303@gmail.com> Reviewed-on: https://review.coreboot.org/20911 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/google/kahlee/BiosCallOuts.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/google/kahlee/BiosCallOuts.c b/src/mainboard/google/kahlee/BiosCallOuts.c
index c65c930d08..e6c26ee5cc 100644
--- a/src/mainboard/google/kahlee/BiosCallOuts.c
+++ b/src/mainboard/google/kahlee/BiosCallOuts.c
@@ -54,6 +54,10 @@ static AGESA_STATUS fch_initenv(UINT32 Func, UINTN FchData, VOID *ConfigPtr)
FchParams_env->Sata.SataIdeMode = TRUE;
break;
}
+
+ /* SDHCI/MMC configuration */
+ FchParams_env->Sd.SdSlotType = 1; /* eMMC */
+
printk(BIOS_DEBUG, "Done\n");
}