[PATCH] [MTD] Maps: Add dependency on alternate probe methods to physmap
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Tue Aug 15 08:59:01 EDT 2006
Commit: 79b9cd586f534f3f40ee66b6c27732149a5915ad
Parent: c4e6952ffd71b263a64d1a9d79812446130560a5
commit 79b9cd586f534f3f40ee66b6c27732149a5915ad
Author: Takashi YOSHII <takasi-y at ops.dti.ne.jp>
AuthorDate: Tue Aug 15 07:26:32 2006 -0500
Commit: Josh Boyer <jwboyer at gmail.com>
CommitDate: Tue Aug 15 07:26:32 2006 -0500
[PATCH] [MTD] Maps: Add dependency on alternate probe methods to physmap
map/physmap.c tries to probe "cfi_probe", "jedec_probe" and "map_rom", but
map/Kconfig says it depends on MTD_CFI only.
This patch adds MTD_JEDECPROBE and MTD_ROM to the dependency condition.
Signed-off-by: Takashi YOSHII <takasi-y at ops.dti.ne.jp>
Signed-off-by: Josh Boyer <jwboyer at gmail.com>
---
drivers/mtd/maps/Kconfig | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/mtd/maps/Kconfig b/drivers/mtd/maps/Kconfig
index 83d0b2a..64d1b6a 100644
--- a/drivers/mtd/maps/Kconfig
+++ b/drivers/mtd/maps/Kconfig
@@ -13,13 +13,13 @@ config MTD_COMPLEX_MAPPINGS
config MTD_PHYSMAP
tristate "CFI Flash device in physical memory map"
- depends on MTD_CFI
+ depends on MTD_CFI || MTD_JEDECPROBE || MTD_ROM
help
- This provides a 'mapping' driver which allows the CFI probe and
- command set driver code to communicate with flash chips which
- are mapped physically into the CPU's memory. You will need to
- configure the physical address and size of the flash chips on
- your particular board as well as the bus width, either statically
+ This provides a 'mapping' driver which allows the NOR Flash and
+ ROM driver code to communicate with chips which are mapped
+ physically into the CPU's memory. You will need to configure
+ the physical address and size of the flash chips on your
+ particular board as well as the bus width, either statically
with config options or at run-time.
config MTD_PHYSMAP_START
More information about the linux-mtd-cvs
mailing list