Re: [v3 0/6] ARM: tegra: convert device tree files to use CLK defines

From: Stephen Warren
Date: Tue Feb 19 2013 - 12:08:26 EST


On 02/17/2013 03:20 PM, Simon Glass wrote:
> Hi Hiroshi,
>
> On Fri, Feb 15, 2013 at 12:43 AM, Hiroshi Doyu <hdoyu@xxxxxxxxxx> wrote:
>> Hi,
>>
>> With new dtc+cpp feature, we could get rid of magic numbers in dts*
>> files. This patch replaces CLK IDs.
...
> I wonder what sort of error message do you get when you make a mistake
> in the .dts or one of the .dtsi includes? If cpp is handling the
> including, does dtc just see a single file,

It is.

> in which case are the line
> numbers printed with each error not much use? Or does dtc handle the
> #line directives?

cpp does generate #line directives, which dtc does know how to
interpret, so this should all work just fine. IIRC, I did test out this
aspect when adding #line support to dtc.
--
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/