lkml.org 
[lkml]   [2011]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [sodaville] [PATCH TIP 02/14] x86: Add device tree support
* Grant Likely | 2011-02-16 14:31:26 [-0700]:

>> +config X86_OF
>> + bool "Support for device tree"
>> + select OF
>> + select OF_EARLY_FLATTREE
>> + ---help---
>> + Device tree support on X86.
>> +
>
>On ARM and MIPS, this is called 'config USE_OF'. It would be nice to have
>some commonality. Maybe I should move the user-visible option to
>drivers/of/Kconfig. Or perhaps I should just make CONFIG_OF itself
>user visible.
>
>thoughts?

We could make CONFIG_OF depend on CONFIG_HAVE_OF_SUPPORT and let OF
select OF_EARLY_FLATTREE if ARCH_WANT_EARLY_FLATTREE for instance. So
that part would work in a generic way.

For OF-only platforms you would have to go to drivers/of
before you can enable the specific SoC/board. So it could lead to
something like "first enable scsi disk before you can enable usb
storage".

I like it :) For now I rename to USE_OF.

>
>g.

Sebastian


\
 
 \ /
  Last update: 2011-02-17 12:33    [W:0.086 / U:0.620 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site