diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-01-30 19:46:50 +0900 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2017-01-31 21:50:47 +0900 |
commit | a5995a5d7b793f74c7c893b752b51cc635a621db (patch) | |
tree | 2137bc8fca209b176a03115e8c41ec0b2f333874 /drivers/mmc/Kconfig | |
parent | 54925327fa11779112bfc947a0c0a0f30623bbc6 (diff) | |
download | u-boot-a5995a5d7b793f74c7c893b752b51cc635a621db.zip u-boot-a5995a5d7b793f74c7c893b752b51cc635a621db.tar.gz u-boot-a5995a5d7b793f74c7c893b752b51cc635a621db.tar.bz2 |
mmc: sandbox: rename CONFIG, fix dependency, and use it in Makefile
[1] Rename CONFIG_SANDBOX_MMC to CONFIG_MMC_SANDBOX for consistency
I want all MMC driver options prefixed with CONFIG_MMC_.
[2] Fix dependency
Add necessary depends on to avoid compile error.
Instead "depends on MMC" is unneeded because this config entry
resides inside of "if MMC".
[3] Currently, this config symbol is not referenced at all.
Use it to enable/disable the driver in Makefile.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'drivers/mmc/Kconfig')
-rw-r--r-- | drivers/mmc/Kconfig | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig index df4913b..97d245e 100644 --- a/drivers/mmc/Kconfig +++ b/drivers/mmc/Kconfig @@ -187,9 +187,10 @@ config MMC_UNIPHIER help This selects support for the SD/MMC Host Controller on UniPhier SoCs. -config SANDBOX_MMC +config MMC_SANDBOX bool "Sandbox MMC support" - depends on MMC && SANDBOX + depends on SANDBOX + depends on BLK && DM_MMC_OPS && OF_CONTROL help This select a dummy sandbox MMC driver. At present this does nothing other than allow sandbox to be build with MMC support. This |