All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] mtd: nand: mxc: Test CONFIG_OF instead of CONFIG_OF_MTD
@ 2016-09-17 17:57 ` Boris Brezillon
  0 siblings, 0 replies; 10+ messages in thread
From: Boris Brezillon @ 2016-09-17 17:57 UTC (permalink / raw)
  To: Boris Brezillon, Richard Weinberger, linux-mtd, Rob Herring,
	Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala, devicetree
  Cc: David Woodhouse, Brian Norris, linux-kernel

We are about to drop the OF_MTD Kconfig option. Test CONFIG_OF
activation instead of CONFIG_OF_MTD.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
---
 drivers/mtd/nand/mxc_nand.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c
index 75c0c0eb52ae..d68314c8c399 100644
--- a/drivers/mtd/nand/mxc_nand.c
+++ b/drivers/mtd/nand/mxc_nand.c
@@ -1565,7 +1565,7 @@ static const struct platform_device_id mxcnd_devtype[] = {
 };
 MODULE_DEVICE_TABLE(platform, mxcnd_devtype);
 
-#ifdef CONFIG_OF_MTD
+#ifdef CONFIG_OF
 static const struct of_device_id mxcnd_dt_ids[] = {
 	{
 		.compatible = "fsl,imx21-nand",
-- 
2.7.4

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

* [PATCH 1/2] mtd: nand: mxc: Test CONFIG_OF instead of CONFIG_OF_MTD
@ 2016-09-17 17:57 ` Boris Brezillon
  0 siblings, 0 replies; 10+ messages in thread
From: Boris Brezillon @ 2016-09-17 17:57 UTC (permalink / raw)
  To: Boris Brezillon, Richard Weinberger,
	linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Rob Herring,
	Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	devicetree-u79uwXL29TY76Z2rM5mHXA
  Cc: David Woodhouse, Brian Norris, linux-kernel-u79uwXL29TY76Z2rM5mHXA

We are about to drop the OF_MTD Kconfig option. Test CONFIG_OF
activation instead of CONFIG_OF_MTD.

Signed-off-by: Boris Brezillon <boris.brezillon-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
---
 drivers/mtd/nand/mxc_nand.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c
index 75c0c0eb52ae..d68314c8c399 100644
--- a/drivers/mtd/nand/mxc_nand.c
+++ b/drivers/mtd/nand/mxc_nand.c
@@ -1565,7 +1565,7 @@ static const struct platform_device_id mxcnd_devtype[] = {
 };
 MODULE_DEVICE_TABLE(platform, mxcnd_devtype);
 
-#ifdef CONFIG_OF_MTD
+#ifdef CONFIG_OF
 static const struct of_device_id mxcnd_dt_ids[] = {
 	{
 		.compatible = "fsl,imx21-nand",
-- 
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* [PATCH 2/2] mtd: Kill the OF_MTD Kconfig option
@ 2016-09-17 17:57   ` Boris Brezillon
  0 siblings, 0 replies; 10+ messages in thread
From: Boris Brezillon @ 2016-09-17 17:57 UTC (permalink / raw)
  To: Boris Brezillon, Richard Weinberger, linux-mtd, Rob Herring,
	Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala, devicetree
  Cc: David Woodhouse, Brian Norris, linux-kernel

Commit d48f62b9a0a0 ("mtd: nand: move of_get_nand_xxx() helpers into
nand_base.c") removed the drivers/of/of_mtd.c file but did not remove
the associated OF_MTD Kconfig option.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
---
 drivers/of/Kconfig | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig
index bc07ad30c9bf..ba7b034b2b91 100644
--- a/drivers/of/Kconfig
+++ b/drivers/of/Kconfig
@@ -90,10 +90,6 @@ config OF_PCI_IRQ
 	help
 	  OpenFirmware PCI IRQ routing helpers
 
-config OF_MTD
-	depends on MTD
-	def_bool y
-
 config OF_RESERVED_MEM
 	depends on OF_EARLY_FLATTREE
 	bool
-- 
2.7.4

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

* [PATCH 2/2] mtd: Kill the OF_MTD Kconfig option
@ 2016-09-17 17:57   ` Boris Brezillon
  0 siblings, 0 replies; 10+ messages in thread
From: Boris Brezillon @ 2016-09-17 17:57 UTC (permalink / raw)
  To: Boris Brezillon, Richard Weinberger,
	linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Rob Herring,
	Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	devicetree-u79uwXL29TY76Z2rM5mHXA
  Cc: David Woodhouse, Brian Norris, linux-kernel-u79uwXL29TY76Z2rM5mHXA

Commit d48f62b9a0a0 ("mtd: nand: move of_get_nand_xxx() helpers into
nand_base.c") removed the drivers/of/of_mtd.c file but did not remove
the associated OF_MTD Kconfig option.

Signed-off-by: Boris Brezillon <boris.brezillon-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
---
 drivers/of/Kconfig | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig
index bc07ad30c9bf..ba7b034b2b91 100644
--- a/drivers/of/Kconfig
+++ b/drivers/of/Kconfig
@@ -90,10 +90,6 @@ config OF_PCI_IRQ
 	help
 	  OpenFirmware PCI IRQ routing helpers
 
-config OF_MTD
-	depends on MTD
-	def_bool y
-
 config OF_RESERVED_MEM
 	depends on OF_EARLY_FLATTREE
 	bool
-- 
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH 1/2] mtd: nand: mxc: Test CONFIG_OF instead of CONFIG_OF_MTD
@ 2016-09-18  9:20   ` Richard Weinberger
  0 siblings, 0 replies; 10+ messages in thread
From: Richard Weinberger @ 2016-09-18  9:20 UTC (permalink / raw)
  To: Boris Brezillon, linux-mtd, Rob Herring, Pawel Moll,
	Mark Rutland, Ian Campbell, Kumar Gala, devicetree
  Cc: David Woodhouse, Brian Norris, linux-kernel

On 17.09.2016 19:57, Boris Brezillon wrote:
> We are about to drop the OF_MTD Kconfig option. Test CONFIG_OF
> activation instead of CONFIG_OF_MTD.
> 
> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>

Reviewed-by: Richard Weinberger <richard@nod.at>

Thanks,
//richard

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

* Re: [PATCH 1/2] mtd: nand: mxc: Test CONFIG_OF instead of CONFIG_OF_MTD
@ 2016-09-18  9:20   ` Richard Weinberger
  0 siblings, 0 replies; 10+ messages in thread
From: Richard Weinberger @ 2016-09-18  9:20 UTC (permalink / raw)
  To: Boris Brezillon, linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	devicetree-u79uwXL29TY76Z2rM5mHXA
  Cc: David Woodhouse, Brian Norris, linux-kernel-u79uwXL29TY76Z2rM5mHXA

On 17.09.2016 19:57, Boris Brezillon wrote:
> We are about to drop the OF_MTD Kconfig option. Test CONFIG_OF
> activation instead of CONFIG_OF_MTD.
> 
> Signed-off-by: Boris Brezillon <boris.brezillon-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>

Reviewed-by: Richard Weinberger <richard-/L3Ra7n9ekc@public.gmane.org>

Thanks,
//richard
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH 2/2] mtd: Kill the OF_MTD Kconfig option
@ 2016-09-18  9:20     ` Richard Weinberger
  0 siblings, 0 replies; 10+ messages in thread
From: Richard Weinberger @ 2016-09-18  9:20 UTC (permalink / raw)
  To: Boris Brezillon, linux-mtd, Rob Herring, Pawel Moll,
	Mark Rutland, Ian Campbell, Kumar Gala, devicetree
  Cc: David Woodhouse, Brian Norris, linux-kernel

On 17.09.2016 19:57, Boris Brezillon wrote:
> Commit d48f62b9a0a0 ("mtd: nand: move of_get_nand_xxx() helpers into
> nand_base.c") removed the drivers/of/of_mtd.c file but did not remove
> the associated OF_MTD Kconfig option.
> 
> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>

Reviewed-by: Richard Weinberger <richard@nod.at>

Thanks,
//richard

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

* Re: [PATCH 2/2] mtd: Kill the OF_MTD Kconfig option
@ 2016-09-18  9:20     ` Richard Weinberger
  0 siblings, 0 replies; 10+ messages in thread
From: Richard Weinberger @ 2016-09-18  9:20 UTC (permalink / raw)
  To: Boris Brezillon, linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	devicetree-u79uwXL29TY76Z2rM5mHXA
  Cc: David Woodhouse, Brian Norris, linux-kernel-u79uwXL29TY76Z2rM5mHXA

On 17.09.2016 19:57, Boris Brezillon wrote:
> Commit d48f62b9a0a0 ("mtd: nand: move of_get_nand_xxx() helpers into
> nand_base.c") removed the drivers/of/of_mtd.c file but did not remove
> the associated OF_MTD Kconfig option.
> 
> Signed-off-by: Boris Brezillon <boris.brezillon-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>

Reviewed-by: Richard Weinberger <richard-/L3Ra7n9ekc@public.gmane.org>

Thanks,
//richard
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH 1/2] mtd: nand: mxc: Test CONFIG_OF instead of CONFIG_OF_MTD
@ 2016-09-21 13:57   ` Boris Brezillon
  0 siblings, 0 replies; 10+ messages in thread
From: Boris Brezillon @ 2016-09-21 13:57 UTC (permalink / raw)
  To: Boris Brezillon, Richard Weinberger, linux-mtd, Rob Herring,
	Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala, devicetree
  Cc: David Woodhouse, Brian Norris, linux-kernel

On Sat, 17 Sep 2016 19:57:10 +0200
Boris Brezillon <boris.brezillon@free-electrons.com> wrote:

> We are about to drop the OF_MTD Kconfig option. Test CONFIG_OF
> activation instead of CONFIG_OF_MTD.

Applied both.

> 
> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
> ---
>  drivers/mtd/nand/mxc_nand.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c
> index 75c0c0eb52ae..d68314c8c399 100644
> --- a/drivers/mtd/nand/mxc_nand.c
> +++ b/drivers/mtd/nand/mxc_nand.c
> @@ -1565,7 +1565,7 @@ static const struct platform_device_id mxcnd_devtype[] = {
>  };
>  MODULE_DEVICE_TABLE(platform, mxcnd_devtype);
>  
> -#ifdef CONFIG_OF_MTD
> +#ifdef CONFIG_OF
>  static const struct of_device_id mxcnd_dt_ids[] = {
>  	{
>  		.compatible = "fsl,imx21-nand",

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

* Re: [PATCH 1/2] mtd: nand: mxc: Test CONFIG_OF instead of CONFIG_OF_MTD
@ 2016-09-21 13:57   ` Boris Brezillon
  0 siblings, 0 replies; 10+ messages in thread
From: Boris Brezillon @ 2016-09-21 13:57 UTC (permalink / raw)
  To: Boris Brezillon, Richard Weinberger,
	linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Rob Herring,
	Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	devicetree-u79uwXL29TY76Z2rM5mHXA
  Cc: David Woodhouse, Brian Norris, linux-kernel-u79uwXL29TY76Z2rM5mHXA

On Sat, 17 Sep 2016 19:57:10 +0200
Boris Brezillon <boris.brezillon-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> wrote:

> We are about to drop the OF_MTD Kconfig option. Test CONFIG_OF
> activation instead of CONFIG_OF_MTD.

Applied both.

> 
> Signed-off-by: Boris Brezillon <boris.brezillon-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
> ---
>  drivers/mtd/nand/mxc_nand.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c
> index 75c0c0eb52ae..d68314c8c399 100644
> --- a/drivers/mtd/nand/mxc_nand.c
> +++ b/drivers/mtd/nand/mxc_nand.c
> @@ -1565,7 +1565,7 @@ static const struct platform_device_id mxcnd_devtype[] = {
>  };
>  MODULE_DEVICE_TABLE(platform, mxcnd_devtype);
>  
> -#ifdef CONFIG_OF_MTD
> +#ifdef CONFIG_OF
>  static const struct of_device_id mxcnd_dt_ids[] = {
>  	{
>  		.compatible = "fsl,imx21-nand",

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2016-09-21 13:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-17 17:57 [PATCH 1/2] mtd: nand: mxc: Test CONFIG_OF instead of CONFIG_OF_MTD Boris Brezillon
2016-09-17 17:57 ` Boris Brezillon
2016-09-17 17:57 ` [PATCH 2/2] mtd: Kill the OF_MTD Kconfig option Boris Brezillon
2016-09-17 17:57   ` Boris Brezillon
2016-09-18  9:20   ` Richard Weinberger
2016-09-18  9:20     ` Richard Weinberger
2016-09-18  9:20 ` [PATCH 1/2] mtd: nand: mxc: Test CONFIG_OF instead of CONFIG_OF_MTD Richard Weinberger
2016-09-18  9:20   ` Richard Weinberger
2016-09-21 13:57 ` Boris Brezillon
2016-09-21 13:57   ` Boris Brezillon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.