linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mtd/of: allow MTD_OF_PARTS and MTD_PHYSMAP_OF config to others
@ 2011-01-19  3:43 Thomas Chou
  2011-01-19  4:17 ` Thomas Chou
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Chou @ 2011-01-19  3:43 UTC (permalink / raw)
  To: Artem Bityutskiy, Grant Likely
  Cc: devicetree-discuss, linux-mtd, linux-kernel, Thomas Chou

As devicetree support is added to more arch, these config should
be allowed to other arch.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
---
 drivers/mtd/Kconfig      |    2 +-
 drivers/mtd/maps/Kconfig |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig
index 1e2cbf5..b1f7689 100644
--- a/drivers/mtd/Kconfig
+++ b/drivers/mtd/Kconfig
@@ -159,7 +159,7 @@ config MTD_AFS_PARTS
 
 config MTD_OF_PARTS
 	tristate "Flash partition map based on OF description"
-	depends on (MICROBLAZE || PPC_OF) && MTD_PARTITIONS
+	depends on OF && MTD_PARTITIONS
 	help
 	  This provides a partition parsing function which derives
 	  the partition map from the children of the flash node,
diff --git a/drivers/mtd/maps/Kconfig b/drivers/mtd/maps/Kconfig
index a0dd7bb..5d37d31 100644
--- a/drivers/mtd/maps/Kconfig
+++ b/drivers/mtd/maps/Kconfig
@@ -72,7 +72,7 @@ config MTD_PHYSMAP_BANKWIDTH
 
 config MTD_PHYSMAP_OF
 	tristate "Flash device in physical memory map based on OF description"
-	depends on (MICROBLAZE || PPC_OF) && (MTD_CFI || MTD_JEDECPROBE || MTD_ROM)
+	depends on OF && (MTD_CFI || MTD_JEDECPROBE || MTD_ROM)
 	help
 	  This provides a 'mapping' driver which allows the NOR Flash and
 	  ROM driver code to communicate with chips which are mapped
-- 
1.7.3.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mtd/of: allow MTD_OF_PARTS and MTD_PHYSMAP_OF config to others
  2011-01-19  3:43 [PATCH] mtd/of: allow MTD_OF_PARTS and MTD_PHYSMAP_OF config to others Thomas Chou
@ 2011-01-19  4:17 ` Thomas Chou
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Chou @ 2011-01-19  4:17 UTC (permalink / raw)
  To: Thomas Chou
  Cc: Grant Likely, devicetree-discuss, linux-mtd, linux-kernel,
	Artem Bityutskiy

On 01/19/2011 11:43 AM, Thomas Chou wrote:
> As devicetree support is added to more arch, these config should
> be allowed to other arch.

Please ignore this patch, as it is already fixed by Rob Herring.

- Thomas


>
> Signed-off-by: Thomas Chou<thomas@wytron.com.tw>
> ---
>   drivers/mtd/Kconfig      |    2 +-
>   drivers/mtd/maps/Kconfig |    2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig
> index 1e2cbf5..b1f7689 100644
> --- a/drivers/mtd/Kconfig
> +++ b/drivers/mtd/Kconfig
> @@ -159,7 +159,7 @@ config MTD_AFS_PARTS
>
>   config MTD_OF_PARTS
>   	tristate "Flash partition map based on OF description"
> -	depends on (MICROBLAZE || PPC_OF)&&  MTD_PARTITIONS
> +	depends on OF&&  MTD_PARTITIONS
>   	help
>   	  This provides a partition parsing function which derives
>   	  the partition map from the children of the flash node,
> diff --git a/drivers/mtd/maps/Kconfig b/drivers/mtd/maps/Kconfig
> index a0dd7bb..5d37d31 100644
> --- a/drivers/mtd/maps/Kconfig
> +++ b/drivers/mtd/maps/Kconfig
> @@ -72,7 +72,7 @@ config MTD_PHYSMAP_BANKWIDTH
>
>   config MTD_PHYSMAP_OF
>   	tristate "Flash device in physical memory map based on OF description"
> -	depends on (MICROBLAZE || PPC_OF)&&  (MTD_CFI || MTD_JEDECPROBE || MTD_ROM)
> +	depends on OF&&  (MTD_CFI || MTD_JEDECPROBE || MTD_ROM)
>   	help
>   	  This provides a 'mapping' driver which allows the NOR Flash and
>   	  ROM driver code to communicate with chips which are mapped

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-19  4:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-19  3:43 [PATCH] mtd/of: allow MTD_OF_PARTS and MTD_PHYSMAP_OF config to others Thomas Chou
2011-01-19  4:17 ` Thomas Chou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).