Patch against http://www.jdl.com/software/dtc.git Signed-off-by: Niklaus Giger <[EMAIL PROTECTED]> --- Documentation/manual.txt | 20 ++++++++++++++++++++ Makefile | 1 + 2 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/Documentation/manual.txt b/Documentation/manual.txt index b957662..0674384 100644 --- a/Documentation/manual.txt +++ b/Documentation/manual.txt @@ -19,6 +19,8 @@ II - The DT block format III - libfdt +IV - Conversion to Version 1 + I - "dtc", the device tree compiler =================================== @@ -613,6 +615,24 @@ strings block. III - libfdt +============ This library should be merged into dtc proper. This library should likely be worked into U-Boot and the kernel. + +IV - Conversion to Version 1 +============================ + +convert-dtsv0 is a small utility program which converts (DTS) +Device Tree Source from the obsolete version 0 to version 1. + +Version 1 DTS files are marked by line "/dts-v1/;" at the top of the file. + +The syntax of the convert-dtsv0 command line is: + +convert-dtsv0 [<input_filename ... >] + +Each file passed will be converted to the new /dts-v1/ version by creating +a new file with a "v1" appended the filename. + +Comments, empty lines, etc. are preserved. diff --git a/Makefile b/Makefile index 5ad0189..558e10c 100644 --- a/Makefile +++ b/Makefile @@ -52,6 +52,7 @@ install: all @$(VECHO) INSTALL $(INSTALL) -d $(DESTDIR)$(BINDIR) $(INSTALL) -m 755 dtc $(DESTDIR)$(BINDIR) + $(INSTALL) -m 755 convert-dtsv0 $(DESTDIR)$(BINDIR) $(INSTALL) -d $(DESTDIR)$(LIBDIR) $(INSTALL) -m 644 $(LIBFDT_lib) $(DESTDIR)$(LIBDIR) $(INSTALL) -d $(DESTDIR)$(INCLUDEDIR) -- 1.6.0.1 _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev