diff options
author | Shawn Lin <shawn.lin@rock-chips.com> | 2017-07-19 03:55:47 -0400 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-08-30 08:01:34 -0400 |
commit | 03596b927f83004e84cf131aa45c0ee3dfe31b4b (patch) | |
tree | dcf4de64ac48c236f2cddc94044dfb9a818fc4cc | |
parent | 69f25f9bb0cd7a59c3f1d0ecb541049c2e5fb0f9 (diff) |
mmc: Kconfig: downgrade CONFIG_MMC_DEBUG for host drivers only
We have removed all code depending on CONFIG_MMC_DEBUG
from mmc core now. So it's safe to make CONFIG_MMC_DEBUG
just for host drivers only and we expect to kill this option
in the future.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
-rw-r--r-- | drivers/mmc/Kconfig | 7 | ||||
-rw-r--r-- | drivers/mmc/Makefile | 2 | ||||
-rw-r--r-- | drivers/mmc/host/Kconfig | 9 |
3 files changed, 9 insertions, 9 deletions
diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig index 7e803fc454d1..ec21388311db 100644 --- a/drivers/mmc/Kconfig +++ b/drivers/mmc/Kconfig | |||
@@ -12,13 +12,6 @@ menuconfig MMC | |||
12 | If you want MMC/SD/SDIO support, you should say Y here and | 12 | If you want MMC/SD/SDIO support, you should say Y here and |
13 | also to your specific host controller driver. | 13 | also to your specific host controller driver. |
14 | 14 | ||
15 | config MMC_DEBUG | ||
16 | bool "MMC debugging" | ||
17 | depends on MMC != n | ||
18 | help | ||
19 | This is an option for use by developers; most people should | ||
20 | say N here. This enables MMC core and driver debugging. | ||
21 | |||
22 | if MMC | 15 | if MMC |
23 | 16 | ||
24 | source "drivers/mmc/core/Kconfig" | 17 | source "drivers/mmc/core/Kconfig" |
diff --git a/drivers/mmc/Makefile b/drivers/mmc/Makefile index 416b6d1c9ec6..26ab7af4e0f9 100644 --- a/drivers/mmc/Makefile +++ b/drivers/mmc/Makefile | |||
@@ -2,7 +2,5 @@ | |||
2 | # Makefile for the kernel mmc device drivers. | 2 | # Makefile for the kernel mmc device drivers. |
3 | # | 3 | # |
4 | 4 | ||
5 | subdir-ccflags-$(CONFIG_MMC_DEBUG) := -DDEBUG | ||
6 | |||
7 | obj-$(CONFIG_MMC) += core/ | 5 | obj-$(CONFIG_MMC) += core/ |
8 | obj-$(subst m,y,$(CONFIG_MMC)) += host/ | 6 | obj-$(subst m,y,$(CONFIG_MMC)) += host/ |
diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig index 2242633550df..66b174965718 100644 --- a/drivers/mmc/host/Kconfig +++ b/drivers/mmc/host/Kconfig | |||
@@ -4,6 +4,15 @@ | |||
4 | 4 | ||
5 | comment "MMC/SD/SDIO Host Controller Drivers" | 5 | comment "MMC/SD/SDIO Host Controller Drivers" |
6 | 6 | ||
7 | config MMC_DEBUG | ||
8 | bool "MMC host drivers debugginG" | ||
9 | depends on MMC != n | ||
10 | help | ||
11 | This is an option for use by developers; most people should | ||
12 | say N here. This enables MMC host driver debugging. And further | ||
13 | added host drivers please don't invent their private macro for | ||
14 | debugging. | ||
15 | |||
7 | config MMC_ARMMMCI | 16 | config MMC_ARMMMCI |
8 | tristate "ARM AMBA Multimedia Card Interface support" | 17 | tristate "ARM AMBA Multimedia Card Interface support" |
9 | depends on ARM_AMBA | 18 | depends on ARM_AMBA |