From 966b502d352424a9d30d34cdb8020545c819c385 Mon Sep 17 00:00:00 2001 From: Wenbin Mei Date: Tue, 19 Oct 2021 21:21:31 +0800 Subject: 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 Change-Id: I0fa8712eb61685a305dc5dd49cc2e55f1f0eecd4 Reviewed-on: https://review.coreboot.org/c/coreboot/+/59293 Tested-by: build bot (Jenkins) Reviewed-by: Yu-Ping Wu --- src/mainboard/google/corsola/mainboard.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mainboard') 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 +#include #include static void mainboard_init(struct device *dev) { + mtk_msdc_configure_emmc(); + mtk_msdc_configure_sdcard(); setup_usb_host(); } -- cgit v1.2.3