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>
This commit is contained in:
parent
1cbcfc13eb
commit
966b502d35
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue