diff options
author | Takashi YOSHII <takasi-y@ops.dti.ne.jp> | 2006-08-15 08:26:32 -0400 |
---|---|---|
committer | Josh Boyer <jwboyer@gmail.com> | 2006-08-15 08:26:32 -0400 |
commit | 79b9cd586f534f3f40ee66b6c27732149a5915ad (patch) | |
tree | 10d0eb53a206d0d69210798668278f6e21fc66c1 | |
parent | c4e6952ffd71b263a64d1a9d79812446130560a5 (diff) |
[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@ops.dti.ne.jp>
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
-rw-r--r-- | 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 83d0b2a52527..64d1b6a6c920 100644 --- a/drivers/mtd/maps/Kconfig +++ b/drivers/mtd/maps/Kconfig | |||
@@ -13,13 +13,13 @@ config MTD_COMPLEX_MAPPINGS | |||
13 | 13 | ||
14 | config MTD_PHYSMAP | 14 | config MTD_PHYSMAP |
15 | tristate "CFI Flash device in physical memory map" | 15 | tristate "CFI Flash device in physical memory map" |
16 | depends on MTD_CFI | 16 | depends on MTD_CFI || MTD_JEDECPROBE || MTD_ROM |
17 | help | 17 | help |
18 | This provides a 'mapping' driver which allows the CFI probe and | 18 | This provides a 'mapping' driver which allows the NOR Flash and |
19 | command set driver code to communicate with flash chips which | 19 | ROM driver code to communicate with chips which are mapped |
20 | are mapped physically into the CPU's memory. You will need to | 20 | physically into the CPU's memory. You will need to configure |
21 | configure the physical address and size of the flash chips on | 21 | the physical address and size of the flash chips on your |
22 | your particular board as well as the bus width, either statically | 22 | particular board as well as the bus width, either statically |
23 | with config options or at run-time. | 23 | with config options or at run-time. |
24 | 24 | ||
25 | config MTD_PHYSMAP_START | 25 | config MTD_PHYSMAP_START |