[PATCH 1/1] ARM: add PROC_DEVICETREE support in Kconfig

Olof Johansson olof at lixom.net
Fri Jul 6 19:24:32 EDT 2012


On Fri, Jul 6, 2012 at 4:15 PM, Xiao Jiang <jgq516 at gmail.com> wrote:
> 2012/7/6 Rob Herring <robherring2 at gmail.com>
>>
>> On 07/06/2012 05:38 AM, jgq516 at gmail.com wrote:
>> > From: Xiao Jiang <jgq516 at gmail.com>
>> >
>> > Since more and more arm chips support device tree, it'd be better add
>> > PROC_DEVICETREE
>> > in arch/arm/Kconfig to avoid duplicate code.
>>
>> I think this should remain user choice. If its going to be selected,
>> then you might as well just remove the option altogether. Perhaps just
>> make the option default to yes.
>>
> Hmm, sounds reasonable from your point. So the better choice is to set the
> option default to Y if the board has dt support just like tegra_defconfig
> and at91_dt_defconfig,  right? thanks.

Why bother? If the defconfigs select it then most users basing their
config from that will be just fine.

PROC_DEVICETREE is 100% optional, it's useful to get runtime access to
the contents of the device tree but it's not required for the kernel
to boot.


-Olof



More information about the linux-arm-kernel mailing list