Attention is currently required from: Hung-Te Lin, Yidi Lin, Yu-Ping Wu.
Jarried Lin has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/85565?usp=email )
Change subject: mb/google/rauru: Add SD card configurations ......................................................................
mb/google/rauru: Add SD card configurations
Rauru reference design has SD card interfaces, so we configure it in mainboard_init() in ramstage.
TEST=Build pass. BUG=b:317009620
Change-Id: Ia9f12df85c5f9f9d134990edcf82bf0df9ea995d Signed-off-by: Andy-ld Lu andy-ld.lu@mediatek.corp-partner.google.com --- M src/mainboard/google/rauru/Kconfig M src/mainboard/google/rauru/mainboard.c 2 files changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/65/85565/1
diff --git a/src/mainboard/google/rauru/Kconfig b/src/mainboard/google/rauru/Kconfig index a85f303..18a1699 100644 --- a/src/mainboard/google/rauru/Kconfig +++ b/src/mainboard/google/rauru/Kconfig @@ -30,6 +30,8 @@ select I2C_TPM if VBOOT select MAINBOARD_HAS_TPM2 if VBOOT select TPM_GOOGLE_TI50 if VBOOT + select COMMONLIB_STORAGE + select COMMONLIB_STORAGE_MMC
config MAINBOARD_DIR string diff --git a/src/mainboard/google/rauru/mainboard.c b/src/mainboard/google/rauru/mainboard.c index 9c238c7..94f52e8 100644 --- a/src/mainboard/google/rauru/mainboard.c +++ b/src/mainboard/google/rauru/mainboard.c @@ -11,6 +11,7 @@ #include <soc/i2c.h> #include <soc/pcie.h> #include <soc/usb.h> +#include <soc/msdc.h>
#include "gpio.h"
@@ -55,6 +56,9 @@ power_on_fpmcu(); configure_audio();
+ if (CONFIG(RAURU_SDCARD_INIT)) + mtk_msdc_configure_sdcard(); + if (dpm_init()) printk(BIOS_ERR, "dpm init failed, DVFS may not work\n");