]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[MTD] 4xx: Don't build arch/ppc dependent drivers in arch/powerpc
authorJosh Boyer <jwboyer@linux.vnet.ibm.com>
Wed, 22 Aug 2007 19:30:47 +0000 (14:30 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 23 Aug 2007 03:50:54 +0000 (22:50 -0500)
These drivers are specific to 4xx support in arch/ppc at the moment.  Make
sure they don't get built on arch/powerpc.

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
drivers/mtd/maps/Kconfig
drivers/mtd/nand/Kconfig

index cc6c734424350e17de559c8551a470e70f7e5639..3a6566adcddae513b4635b136d654cb1eb41183e 100644 (file)
@@ -354,7 +354,7 @@ config MTD_CFI_FLAGADM
 
 config MTD_WALNUT
        tristate "Flash device mapped on IBM 405GP Walnut"
-       depends on MTD_JEDECPROBE && WALNUT
+       depends on MTD_JEDECPROBE && WALNUT && !PPC_MERGE
        help
          This enables access routines for the flash chips on the IBM 405GP
          Walnut board. If you have one of these boards and would like to
@@ -370,7 +370,7 @@ config MTD_EBONY
 
 config MTD_OCOTEA
        tristate "Flash devices mapped on IBM 440GX Ocotea"
-       depends on MTD_CFI && OCOTEA
+       depends on MTD_CFI && OCOTEA && !PPC_MERGE
        help
          This enables access routines for the flash chips on the IBM 440GX
          Ocotea board. If you have one of these boards and would like to
index f1d60b6f048e6f08aa855e19fed1337a292cfe79..a783d62f48f673358179600b31a953eac64ecf86 100644 (file)
@@ -134,7 +134,7 @@ config MTD_NAND_S3C2410_HWECC
 
 config MTD_NAND_NDFC
        tristate "NDFC NanD Flash Controller"
-       depends on 44x
+       depends on 44x && !PPC_MERGE
        select MTD_NAND_ECC_SMC
        help
         NDFC Nand Flash Controllers are integrated in EP44x SoCs