Duplicate labels in dts files
Stephen Warren
swarren at wwwdotorg.org
Mon May 21 12:29:03 EDT 2012
On 05/18/2012 08:56 PM, Shawn Guo wrote:
> On Fri, May 18, 2012 at 03:01:10PM -0600, Stephen Warren wrote:
>> The following arch/arm/boot/dts/*.dts all have duplicate label
>> definitions, albeit all duplicates pointing at the same node. Is this
>> expected?
>
> At least for IMX, I would say, yes.
>
> For example, when I have the following node in imx53.dtsi and need to
> have it in imx53-ard.dts, the first line of the node definition will
> be naturally copied into imx53-ard.dts. As the result, the label
> "uart1" will be "duplicated".
>
> uart1: serial at 53fbc000 {
There's no need to duplicate the label here; that line would work just
fine as:
serial at 53fbc000 {
Writing that doesn't remove the label from the node at all.
More information about the linux-arm-kernel
mailing list