Commit 79b9cd58 authored by Takashi YOSHII's avatar Takashi YOSHII Committed by Josh Boyer

[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: default avatarTakashi YOSHII <takasi-y@ops.dti.ne.jp>
Signed-off-by: default avatarJosh Boyer <jwboyer@gmail.com>
parent c4e6952f
...@@ -13,13 +13,13 @@ config MTD_COMPLEX_MAPPINGS ...@@ -13,13 +13,13 @@ config MTD_COMPLEX_MAPPINGS
config MTD_PHYSMAP config MTD_PHYSMAP
tristate "CFI Flash device in physical memory map" tristate "CFI Flash device in physical memory map"
depends on MTD_CFI depends on MTD_CFI || MTD_JEDECPROBE || MTD_ROM
help help
This provides a 'mapping' driver which allows the CFI probe and This provides a 'mapping' driver which allows the NOR Flash and
command set driver code to communicate with flash chips which ROM driver code to communicate with chips which are mapped
are mapped physically into the CPU's memory. You will need to physically into the CPU's memory. You will need to configure
configure the physical address and size of the flash chips on the physical address and size of the flash chips on your
your particular board as well as the bus width, either statically particular board as well as the bus width, either statically
with config options or at run-time. with config options or at run-time.
config MTD_PHYSMAP_START config MTD_PHYSMAP_START
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment