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

From: Olof Johansson
Date: Fri Jul 06 2012 - 19:25:09 EST


On Fri, Jul 6, 2012 at 4:15 PM, Xiao Jiang <jgq516@xxxxxxxxx> wrote:
> 2012/7/6 Rob Herring <robherring2@xxxxxxxxx>
>>
>> On 07/06/2012 05:38 AM, jgq516@xxxxxxxxx wrote:
>> > From: Xiao Jiang <jgq516@xxxxxxxxx>
>> >
>> > 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/