summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWenbin Mei <wenbin.mei@mediatek.com>2021-04-01 13:36:26 +0800
committerPatrick Georgi <pgeorgi@google.com>2021-04-09 06:05:25 +0000
commit918c8af50fe0eb58b61937e5cf64808767443320 (patch)
tree9ebb84cd25876646c98704ea1ad10b8690afa01c
parentdf062044fd1cc8a02e0f76ab806851eeabc1b4f6 (diff)
downloadcoreboot-918c8af50fe0eb58b61937e5cf64808767443320.tar.xz
mb/google/asurada: select mmc storage config
Select mmc storage config for asurada. Build MTK host mmc driver. BUG=b:177389446 TEST=emerge-asurada coreboot BRANCH=asurada Signed-off-by: Wenbin Mei <wenbin.mei@mediatek.com> Change-Id: Iac656d57c2b834d1ce393fd991275b897e597b4b Reviewed-on: https://review.coreboot.org/c/coreboot/+/52014 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Hung-Te Lin <hungte@chromium.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
-rw-r--r--src/mainboard/google/asurada/Kconfig2
-rw-r--r--src/soc/mediatek/mt8192/Makefile.inc1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/google/asurada/Kconfig b/src/mainboard/google/asurada/Kconfig
index bdd11768e4..89510080c5 100644
--- a/src/mainboard/google/asurada/Kconfig
+++ b/src/mainboard/google/asurada/Kconfig
@@ -29,6 +29,8 @@ config BOARD_SPECIFIC_OPTIONS
select MAINBOARD_FORCE_NATIVE_VGA_INIT
select HAVE_LINEAR_FRAMEBUFFER
select DRIVER_ANALOGIX_ANX7625
+ select COMMONLIB_STORAGE
+ select COMMONLIB_STORAGE_MMC
config MAINBOARD_DIR
string
diff --git a/src/soc/mediatek/mt8192/Makefile.inc b/src/soc/mediatek/mt8192/Makefile.inc
index f88ca11e63..40bfe2d957 100644
--- a/src/soc/mediatek/mt8192/Makefile.inc
+++ b/src/soc/mediatek/mt8192/Makefile.inc
@@ -52,6 +52,7 @@ ramstage-$(CONFIG_SPI_FLASH) += ../common/spi.c spi.c
ramstage-y += ../common/mcu.c
ramstage-y += mcupm.c
ramstage-y += ../common/mmu_operations.c mmu_operations.c
+ramstage-$(CONFIG_COMMONLIB_STORAGE_MMC) += ../common/msdc.c
ramstage-y += ../common/mtcmos.c mtcmos.c
ramstage-y += pmif.c
ramstage-y += ../common/rtc.c rtc.c