Re: [PATCH 0/7] MIPS: Move device-tree files to a common location

From: Andrew Bresticker
Date: Fri Aug 22 2014 - 18:10:26 EST


On Fri, Aug 22, 2014 at 1:57 PM, David Daney <ddaney.cavm@xxxxxxxxx> wrote:
> On 08/22/2014 01:42 PM, Florian Fainelli wrote:
>>
>> On Aug 21, 2014 3:05 PM, "Andrew Bresticker" <abrestic@xxxxxxxxxxxx
>> <mailto:abrestic@xxxxxxxxxxxx>> wrote:
>> >
>> > To be consistent with other architectures and to avoid unnecessary
>> > makefile duplication, move all MIPS device-trees to arch/mips/boot/dts
>> > and build them with a common makefile.
>>
>> I recall reading that the ARM organization for DTS files was a bit
>> unfortunate and should have been something like:
>>
>> arch/arm/boot/dts/<vendor>/
>>
>> Is this something we should do for the MIPS and update the other
>> architectures to follow that scheme?
>
>
> If we choose not to intermingle .dts files from all the vendors in a single
> directory, why do anything at all? Currently the .dts files for a vendor
> are nicely segregated with the rest of the vendors code under a single
> directory.
>
> Personally I think things are fine as they are. Any common code remaining
> in the Makefiles could be moved to the scripts directory for a smaller
> change.

Assuming we don't move them to a common location just to segregate
them again, it makes MIPS consistent with every other architecture
(not just ARM!) using DT. It also makes it easier to introduce common
changes later on, like the 'dtbs' or 'dtbs_install' make targets.
--
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/