[PATCH 1/2] let MTD_XIP depend on XIP_KERNEL or ROMKERNEL
Barry Song
21cnbao at gmail.com
Fri Jan 15 02:50:13 EST 2010
Some architectures like blackfin,h8300,m68k use ROMKERNEL to describe
kernel XIP, not like arm which uses XIP_KERNEL
Signed-off-by: Barry Song <21cnbao at gmail.com>
---
drivers/mtd/chips/Kconfig | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mtd/chips/Kconfig b/drivers/mtd/chips/Kconfig
index 35c6a23..6c39451 100644
--- a/drivers/mtd/chips/Kconfig
+++ b/drivers/mtd/chips/Kconfig
@@ -233,7 +233,7 @@ config MTD_ABSENT
config MTD_XIP
bool "XIP aware MTD support"
depends on !SMP && (MTD_CFI_INTELEXT || MTD_CFI_AMDSTD) && EXPERIMENTAL && ARCH_MTD_XIP
- default y if XIP_KERNEL
+ default y if (XIP_KERNEL || ROMKERNEL)
help
This allows MTD support to work with flash memory which is also
used for XIP purposes. If you're not sure what this is all about
--
1.5.6.3
More information about the linux-mtd
mailing list