Rex-BC Chen has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/59293 )
Change subject: mb/google/corsola: Configure eMMC and SD Card ......................................................................
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 --- M src/mainboard/google/corsola/mainboard.c 1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/93/59293/1
diff --git a/src/mainboard/google/corsola/mainboard.c b/src/mainboard/google/corsola/mainboard.c index 195ce67..b13eb15 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(); }