summaryrefslogtreecommitdiff
path: root/board/samsung/common/misc.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-05-09 20:31:39 +0900
committerJaehoon Chung <jh80.chung@samsung.com>2017-05-15 18:28:23 +0900
commit4aa2ba3a34e3e4413c2cc63fc54f3176881b1a56 (patch)
treecbbf5270c25df39b4b806727ff18b7c7483320b8 /board/samsung/common/misc.c
parent67e09e248fd3ffaa36e0481d78a31be4736d68c0 (diff)
downloadu-boot-4aa2ba3a34e3e4413c2cc63fc54f3176881b1a56.tar.gz
mmc: replace CONFIG_GENERIC_MMC with CONFIG_MMC
Now CONFIG_GENERIC_MMC and CONFIG_MMC match for all defconfig. We do not need two options for the same feature. Deprecate the former. This commit was generated with the sed script 's/GENERIC_MMC/MMC/' and manual fixup of drivers/mmc/Kconfig. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'board/samsung/common/misc.c')
-rw-r--r--board/samsung/common/misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/samsung/common/misc.c b/board/samsung/common/misc.c
index 203136fb97..dc4dead20b 100644
--- a/board/samsung/common/misc.c
+++ b/board/samsung/common/misc.c
@@ -208,7 +208,7 @@ mode_cmd[BOOT_MODE_EXIT + 1] = {
static void display_board_info(void)
{
-#ifdef CONFIG_GENERIC_MMC
+#ifdef CONFIG_MMC
struct mmc *mmc = find_mmc_device(0);
#endif
vidinfo_t *vid = &panel_info;
@@ -226,7 +226,7 @@ static void display_board_info(void)
lcd_printf("\tDRAM banks: %u\n", CONFIG_NR_DRAM_BANKS);
lcd_printf("\tDRAM size: %u MB\n", gd->ram_size / SZ_1M);
-#ifdef CONFIG_GENERIC_MMC
+#ifdef CONFIG_MMC
if (mmc) {
if (!mmc->capacity)
mmc_init(mmc);