All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] of/Kconfig: Add "config OF"
@ 2010-06-28 17:47 Stephen Neuendorffer
       [not found] ` <a528d660-c029-4a84-840c-1fb9278ea861-+Ck8Kgl/v0/nHLUNXTEFU7jjLBE8jN/0@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Neuendorffer @ 2010-06-28 17:47 UTC (permalink / raw)
  To: grant.likely-s3s/WqlpOiPyB63q8FvJNQ,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ

Conceivably, device tree parsing could work on any architecture, but
unless this is defined somewhere in Kconfig that is not architecture specific, it won't work.

The architecture specific versions of this should get abstracted.
---
 drivers/of/Kconfig |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig
index e8286d4..26957a2 100644
--- a/drivers/of/Kconfig
+++ b/drivers/of/Kconfig
@@ -1,3 +1,7 @@
+config OF
+	bool
+	default n
+
 config OF_FLATTREE
 	bool
 	depends on OF
-- 
1.5.6.6



This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.

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

* Re: [PATCH] of/Kconfig: Add "config OF"
       [not found] ` <a528d660-c029-4a84-840c-1fb9278ea861-+Ck8Kgl/v0/nHLUNXTEFU7jjLBE8jN/0@public.gmane.org>
@ 2010-06-28 18:11   ` Stephen Rothwell
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Rothwell @ 2010-06-28 18:11 UTC (permalink / raw)
  To: Stephen Neuendorffer; +Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ


[-- Attachment #1.1: Type: text/plain, Size: 872 bytes --]

Hi Stephen,

On Mon, 28 Jun 2010 10:47:55 -0700 Stephen Neuendorffer <stephen.neuendorffer-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org> wrote:
>
> Conceivably, device tree parsing could work on any architecture, but
> unless this is defined somewhere in Kconfig that is not architecture specific, it won't work.
> 
> The architecture specific versions of this should get abstracted.
> ---
>  drivers/of/Kconfig |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig
> index e8286d4..26957a2 100644
> --- a/drivers/of/Kconfig
> +++ b/drivers/of/Kconfig
> @@ -1,3 +1,7 @@
> +config OF
> +	bool
> +	default n

You don't need the "default n", it is implicit.

-- 
Cheers,
Stephen Rothwell                    sfr-3FnU+UHB4dNDw9hX6IcOSA@public.gmane.org
http://www.canb.auug.org.au/~sfr/

[-- Attachment #1.2: Type: application/pgp-signature, Size: 490 bytes --]

[-- Attachment #2: Type: text/plain, Size: 192 bytes --]

_______________________________________________
devicetree-discuss mailing list
devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
https://lists.ozlabs.org/listinfo/devicetree-discuss

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

end of thread, other threads:[~2010-06-28 18:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-28 17:47 [PATCH] of/Kconfig: Add "config OF" Stephen Neuendorffer
     [not found] ` <a528d660-c029-4a84-840c-1fb9278ea861-+Ck8Kgl/v0/nHLUNXTEFU7jjLBE8jN/0@public.gmane.org>
2010-06-28 18:11   ` Stephen Rothwell

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.