summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongjin Kim <tobetter@gmail.com>2021-12-30 12:45:17 +0300
committerDongjin Kim <tobetter@gmail.com>2021-12-30 13:01:01 +0300
commit4880a4becd37a20124745a5f0a4c85388f13fce8 (patch)
treefc1f59f7f143f7836e6c88ceca141648eabe1d1c
parentca5c344a875ac0d3106947a55b0cfde46578e3ae (diff)
downloadu-boot-4880a4becd37a20124745a5f0a4c85388f13fce8.tar.xz
ODROID-COMMON: Revert "board_r: skip mmc init when CONFIG_USING_KERNEL_DTB is enabled"
This reverts commit 123c920622cc462fd3a11abea7b9647b03f48497. This commit is to initiated MMC hardwares when the kernel device tree is loaded, MMC is not initiated when booting from SPI flash memory. Change-Id: I3a37644e89a57a1ed96579f7626ebd9e14f0f3f4
-rw-r--r--common/board_r.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/common/board_r.c b/common/board_r.c
index 4ecd2d10c5..a016044f23 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -465,13 +465,8 @@ static int initr_onenand(void)
#ifdef CONFIG_MMC
static int initr_mmc(void)
{
-/*
- * When CONFIG_USING_KERNEL_DTB is enabled, mmc has been initialized earlier.
- */
-#ifndef CONFIG_USING_KERNEL_DTB
puts("MMC: ");
mmc_initialize(gd->bd);
-#endif
return 0;
}
#endif