Re: DTC failure on /memreserve/ if moved after /include/
From: Grant Likely <hidden>
Date: 2011-05-02 20:13:49
cc'ing David Gibson and Jon Loeliger who both can do a better job of answering this question. g. On Mon, May 2, 2011 at 12:54 PM, Stephen Warren [off-list ref] wrote:
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
_______________________________________________
devicetree-discuss mailing list
devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
https://lists.ozlabs.org/listinfo/devicetree-discuss-- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd.