]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: allow uclinux map driver to be used on any ColdFire CPU platform
authorGreg Ungerer <gerg@uclinux.org>
Thu, 19 Jul 2012 05:42:46 +0000 (15:42 +1000)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Sat, 25 Aug 2012 11:33:11 +0000 (14:33 +0300)
commit1fbc5e99e2828dbdc8fc2da879851df3192ee600
treea3f0eb72195b9d485fa1bccbc271f526c9867979
parent2ed1911991fb9e168e4186775c2da36d30d0241f
mtd: allow uclinux map driver to be used on any ColdFire CPU platform

The uclinux.c map driver has traditionally been used only on non-MMU based
systems. But there is no fundamental reason it can't be used on systems
running with virtual memory.

Some ColdFire CPU based systems now have full paged MMU hardware and can use
the uclinux.c mapping driver, so making the uclinux.c driver configuration
depend on !CONFIG_MMU doesn't make sense now. Allow the CONFIG_MTD_UCLINUX
option to be enabled if CONFIG_COLDFIRE is enabled. (I have chosen not to
just more generally allow uclinux.c for any MMU type to keep this option
hidden for most systems that are not interested in setting it).

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/maps/Kconfig