* [PATCH V2] MTD: Fix NAND submenu
@ 2010-06-02 15:22 Maxim Levitsky
0 siblings, 0 replies; 2+ messages in thread
From: Maxim Levitsky @ 2010-06-02 15:22 UTC (permalink / raw)
To: dwmw2; +Cc: linux-mtd, Maxim Levitsky
Move MTD_NAND_ECC and MTD_NAND_ECC_SMC above NAND memuconfig, to unbreak
display in xconfig.
This shouldn't change any depedencies
Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
---
drivers/mtd/nand/Kconfig | 21 +++++++++++----------
1 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index 98a04b3..ffc3720 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -1,13 +1,3 @@
-menuconfig MTD_NAND
- tristate "NAND Device Support"
- depends on MTD
- select MTD_NAND_IDS
- select MTD_NAND_ECC
- help
- This enables support for accessing all type of NAND flash
- devices. For further information see
- <http://www.linux-mtd.infradead.org/doc/nand.html>.
-
config MTD_NAND_ECC
tristate
@@ -19,6 +9,17 @@ config MTD_NAND_ECC_SMC
Software ECC according to the Smart Media Specification.
The original Linux implementation had byte 0 and 1 swapped.
+
+menuconfig MTD_NAND
+ tristate "NAND Device Support"
+ depends on MTD
+ select MTD_NAND_IDS
+ select MTD_NAND_ECC
+ help
+ This enables support for accessing all type of NAND flash
+ devices. For further information see
+ <http://www.linux-mtd.infradead.org/doc/nand.html>.
+
if MTD_NAND
config MTD_NAND_VERIFY_WRITE
--
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH 3/3] MTD: Kconfig cleanups
@ 2010-05-22 1:07 Maxim Levitsky
2010-05-22 12:18 ` [PATCH v2] MTD: Fix NAND submenu Maxim Levitsky
0 siblings, 1 reply; 2+ messages in thread
From: Maxim Levitsky @ 2010-05-22 1:07 UTC (permalink / raw)
To: linux-mtd; +Cc: dwmw2, Maxim Levitsky
Move all nand options under 'if MTD_NAND'
otherwise xconfig output is broken.
make Ricoh xD driver depend on MTD_NAND_ECC_SMC, untill
proper solution is made
Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
---
drivers/mtd/nand/Kconfig | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index 98a04b3..8db333f 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -8,6 +8,8 @@ menuconfig MTD_NAND
devices. For further information see
<http://www.linux-mtd.infradead.org/doc/nand.html>.
+if MTD_NAND
+
config MTD_NAND_ECC
tristate
@@ -19,7 +21,7 @@ config MTD_NAND_ECC_SMC
Software ECC according to the Smart Media Specification.
The original Linux implementation had byte 0 and 1 swapped.
-if MTD_NAND
+
config MTD_NAND_VERIFY_WRITE
bool "Verify NAND page writes"
@@ -129,6 +131,7 @@ config MTD_NAND_RICOH
default n
depends on PCI
select MTD_SM_COMMON
+ select MTD_NAND_ECC_SMC
help
Enable support for Ricoh R5C852 xD card reader
You also need to enable ether
--
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-06-02 15:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-02 15:22 [PATCH V2] MTD: Fix NAND submenu Maxim Levitsky
-- strict thread matches above, loose matches on Subject: below --
2010-05-22 1:07 [PATCH 3/3] MTD: Kconfig cleanups Maxim Levitsky
2010-05-22 12:18 ` [PATCH v2] MTD: Fix NAND submenu Maxim Levitsky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox