devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* DTC failure on /memreserve/ if moved after /include/
@ 2011-05-02 18:54 Stephen Warren
       [not found] ` <74CDBE0F657A3D45AFBB94109FB122FF0497F1B1BF-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Warren @ 2011-05-02 18:54 UTC (permalink / raw)
  To: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org

The following from tegra-harmony.dts compiles fine:

    /dts-v1/;

    /memreserve/ 0x1c000000 0x04000000;
    /include/ "tegra250.dts"

    / {

However, if I re-order this as follows:

    /dts-v1/;
    /include/ "tegra250.dts"

    /memreserve/ 0x1c000000 0x04000000;

    / {

Then dtc fails:

      DTC     arch/arm/boot/tegra-harmony.dtb
    DTC: dts->dtb  on file "arch/arm/boot/dts/tegra-harmony.dts"
    Error: arch/arm/boot/dts/tegra-harmony.dts:4.1-13 syntax error
    FATAL ERROR: Unable to parse input tree
    make[1]: *** [arch/arm/boot/tegra-harmony.dtb] Error 1

Is this a dtc bug, or does the DTS syntax actually disallow this?

Thanks.

-- 
nvpublic

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-05-03 13:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-02 18:54 DTC failure on /memreserve/ if moved after /include/ Stephen Warren
     [not found] ` <74CDBE0F657A3D45AFBB94109FB122FF0497F1B1BF-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2011-05-02 20:13   ` Grant Likely
2011-05-02 21:06   ` Jon Loeliger
     [not found]     ` <E1QH0Jd-0004yN-6V-CYoMK+44s/E@public.gmane.org>
2011-05-03  1:01       ` David Gibson
2011-05-03 13:48         ` Jon Loeliger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).