diff options
author | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2007-08-22 15:30:47 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-08-22 23:50:54 -0400 |
commit | 3feb0ff1607ab3b7dcd36b2347f00c41774464c8 (patch) | |
tree | 32d2ac2d0fde210de8ece8abdaa176aa91cb4dd9 /drivers/mtd | |
parent | b377fd3982ad957c796758a90e2988401a884241 (diff) |
[MTD] 4xx: Don't build arch/ppc dependent drivers in arch/powerpc
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>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/maps/Kconfig | 4 | ||||
-rw-r--r-- | drivers/mtd/nand/Kconfig | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mtd/maps/Kconfig b/drivers/mtd/maps/Kconfig index cc6c73442435..3a6566adcdda 100644 --- a/drivers/mtd/maps/Kconfig +++ b/drivers/mtd/maps/Kconfig | |||
@@ -354,7 +354,7 @@ config MTD_CFI_FLAGADM | |||
354 | 354 | ||
355 | config MTD_WALNUT | 355 | config MTD_WALNUT |
356 | tristate "Flash device mapped on IBM 405GP Walnut" | 356 | tristate "Flash device mapped on IBM 405GP Walnut" |
357 | depends on MTD_JEDECPROBE && WALNUT | 357 | depends on MTD_JEDECPROBE && WALNUT && !PPC_MERGE |
358 | help | 358 | help |
359 | This enables access routines for the flash chips on the IBM 405GP | 359 | This enables access routines for the flash chips on the IBM 405GP |
360 | Walnut board. If you have one of these boards and would like to | 360 | Walnut board. If you have one of these boards and would like to |
@@ -370,7 +370,7 @@ config MTD_EBONY | |||
370 | 370 | ||
371 | config MTD_OCOTEA | 371 | config MTD_OCOTEA |
372 | tristate "Flash devices mapped on IBM 440GX Ocotea" | 372 | tristate "Flash devices mapped on IBM 440GX Ocotea" |
373 | depends on MTD_CFI && OCOTEA | 373 | depends on MTD_CFI && OCOTEA && !PPC_MERGE |
374 | help | 374 | help |
375 | This enables access routines for the flash chips on the IBM 440GX | 375 | This enables access routines for the flash chips on the IBM 440GX |
376 | Ocotea board. If you have one of these boards and would like to | 376 | Ocotea board. If you have one of these boards and would like to |
diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index f1d60b6f048e..a783d62f48f6 100644 --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig | |||
@@ -134,7 +134,7 @@ config MTD_NAND_S3C2410_HWECC | |||
134 | 134 | ||
135 | config MTD_NAND_NDFC | 135 | config MTD_NAND_NDFC |
136 | tristate "NDFC NanD Flash Controller" | 136 | tristate "NDFC NanD Flash Controller" |
137 | depends on 44x | 137 | depends on 44x && !PPC_MERGE |
138 | select MTD_NAND_ECC_SMC | 138 | select MTD_NAND_ECC_SMC |
139 | help | 139 | help |
140 | NDFC Nand Flash Controllers are integrated in EP44x SoCs | 140 | NDFC Nand Flash Controllers are integrated in EP44x SoCs |