[patch] 2.6.10-rc2-mm2: MTD_XIP dependencies
Adrian Bunk
bunk at stusta.de
Thu Nov 18 10:41:10 EST 2004
On Thu, Nov 18, 2004 at 02:15:38AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.10-rc2-mm1:
>...
> bk-mtd.patch
>...
Ths causes the following compile error:
<-- snip -->
...
CC drivers/mtd/chips/cfi_probe.o
In file included from drivers/mtd/chips/cfi_probe.c:18:
include/linux/mtd/xip.h:77:2: #error "missing IRQ and timer primitives for XIP MTD support"
{standard input}: Assembler messages:
{standard input}:5: Warning: ignoring changed section attributes for .data
make[3]: *** [drivers/mtd/chips/cfi_probe.o] Error 1
<-- snip -->
Let's put the dependencies from the #error into the Kconfig file:
Signed-off-by: Adrian Bunk <bunk at fs.tum.de>
--- linux-2.6.10-rc2-mm2-full/drivers/mtd/chips/Kconfig.old 2004-11-18 16:35:40.000000000 +0100
+++ linux-2.6.10-rc2-mm2-full/drivers/mtd/chips/Kconfig 2004-11-18 16:38:37.000000000 +0100
@@ -274,7 +274,7 @@
config MTD_XIP
bool "XIP aware MTD support"
- depends on !SMP && MTD_CFI_INTELEXT && EXPERIMENTAL
+ depends on !SMP && MTD_CFI_INTELEXT && (ARCH_SA1100 || ARCH_PXA) && EXPERIMENTAL
default y if XIP_KERNEL
help
This allows MTD support to work with flash memory which is also
More information about the linux-mtd
mailing list