summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWenbin Mei <wenbin.mei@mediatek.com>2021-10-19 21:21:31 +0800
committerHung-Te Lin <hungte@chromium.org>2021-11-16 08:01:32 +0000
commit966b502d352424a9d30d34cdb8020545c819c385 (patch)
tree1fd895e09ddcd25abdded65b0e0773c60e11fecf
parent1cbcfc13eb95dbd39c85f4c7b366b1369d1f73e8 (diff)
mb/google/corsola: Configure eMMC and SD Card
The Corsola reference design has both eMMC and SD Card interfaces so we have to configure both in RAM stage. TEST=boot kernel from eMMC and SDCard ok BUG=b:202871018 Signed-off-by: Wenbin Mei <wenbin.mei@mediatek.com> Change-Id: I0fa8712eb61685a305dc5dd49cc2e55f1f0eecd4 Reviewed-on: https://review.coreboot.org/c/coreboot/+/59293 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
-rw-r--r--src/mainboard/google/corsola/mainboard.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/google/corsola/mainboard.c b/src/mainboard/google/corsola/mainboard.c
index 195ce67e5a..b13eb15b58 100644
--- a/src/mainboard/google/corsola/mainboard.c
+++ b/src/mainboard/google/corsola/mainboard.c
@@ -1,10 +1,13 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <device/device.h>
+#include <soc/msdc.h>
#include <soc/usb.h>
static void mainboard_init(struct device *dev)
{
+ mtk_msdc_configure_emmc();
+ mtk_msdc_configure_sdcard();
setup_usb_host();
}