Re: [RFC] [PATCH] Device Tree on ARM platform

From: Kyle Moffett
Date: Sat May 30 2009 - 21:30:17 EST


On Sat, May 30, 2009 at 7:22 AM, Pavel Machek <pavel@xxxxxx> wrote:
>> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
>> index f430e15..b0ee851 100644
>> --- a/arch/arm/Kconfig
>> +++ b/arch/arm/Kconfig
>> @@ -158,6 +158,17 @@ config ARCH_MTD_XIP
>> Âconfig GENERIC_HARDIRQS_NO__DO_IRQ
>> Â Â Â def_bool y
>>
>> +config OF
>> + Â Â Â Âdef_bool y
>> +
>> +config PROC_DEVICETREE
>> + Â Â Â Âbool "Support for device tree in /proc"
>
> It certainly should not be in /proc.

There is unfortunately a relatively large legacy base of existing
tools which depend on the device-tree (specifically, the
representation of the OF device tree that the kernel generates at
boot-time) present in proc, especially on platforms (PowerPC/Sparc)
which have a real OpenFirmware implementation.

On the other hand, since this is a new port, we can just assume that
(for this port) we're going to fix the tools to use a different path.

Cheers,
Kyle Moffett
--
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/