Skip to content

Commit b05a118

Browse files
gregungererDavid Woodhouse
authored andcommitted
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> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
1 parent 08a3c4b commit b05a118

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mtd/maps/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ config MTD_GPIO_ADDR
443443

444444
config MTD_UCLINUX
445445
bool "Generic uClinux RAM/ROM filesystem support"
446-
depends on MTD_RAM=y && !MMU
446+
depends on MTD_RAM=y && (!MMU || COLDFIRE)
447447
help
448448
Map driver to support image based filesystems for uClinux.
449449

0 commit comments

Comments
 (0)