[PATCH] PHYSMAP depens on CFI or JEDECPROBE or ROM
takasi-y at ops.dti.ne.jp
takasi-y at ops.dti.ne.jp
Thu Aug 3 09:28:18 EDT 2006
Hi,
map/physmap.c tries to probe "cfi_probe", "jedec_probe" and "map_rom", but
map/Kconfig says it depends on MTD_CFI only.
Here is the fix.
# I think description should be rewritten by someone who speak real english, though.
/yoshii
Index: drivers/mtd/maps/Kconfig
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/Kconfig,v
retrieving revision 1.69
diff -u -p -r1.69 Kconfig
--- drivers/mtd/maps/Kconfig 28 Mar 2006 16:15:53 -0000 1.69
+++ drivers/mtd/maps/Kconfig 3 Aug 2006 13:22:08 -0000
@@ -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
mailing list