diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2007-09-26 13:11:05 +1000 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2007-09-27 08:21:18 -0500 |
commit | fb7c7acf5a4187ea810043ae17854625a313b725 (patch) | |
tree | 9d928b365ed812c4e8fe3062d48167de1f29a178 /dtc.c | |
parent | 63dc9c7113cd0fff60d04b05cd8053e70279f9d4 (diff) | |
download | dtc-fb7c7acf5a4187ea810043ae17854625a313b725.tar.gz |
dtc: Use libfdt/fdt.h instead of flat_dt.h
In the dtc tree, both flat_dt.h and libfdt/fdt.h have structures and
constants relating to the flattened device tree format derived from
asm-powerpc/prom.h in the kernel. The former is used in dtc, the
latter in libfdt.
libfdt/fdt.h is the more recent, revised version, so use that
throughout, removing flat_dt.h.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'dtc.c')
-rw-r--r-- | dtc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -92,7 +92,7 @@ static void __attribute__ ((noreturn)) usage(void) fprintf(stderr, "\t\t\tdtb - device tree blob\n"); fprintf(stderr, "\t\t\tasm - assembler source\n"); fprintf(stderr, "\t-V <output version>\n"); - fprintf(stderr, "\t\tBlob version to produce, defaults to %d (relevant for dtb\n\t\tand asm output only)\n", OF_DEFAULT_VERSION); + fprintf(stderr, "\t\tBlob version to produce, defaults to %d (relevant for dtb\n\t\tand asm output only)\n", DEFAULT_FDT_VERSION); fprintf(stderr, "\t-R <number>\n"); fprintf(stderr, "\t\tMake space for <number> reserve map entries (relevant for \n\t\tdtb and asm output only)\n"); fprintf(stderr, "\t-S <bytes>\n"); @@ -117,7 +117,7 @@ int main(int argc, char *argv[]) int opt; FILE *inf = NULL; FILE *outf = NULL; - int outversion = OF_DEFAULT_VERSION; + int outversion = DEFAULT_FDT_VERSION; int boot_cpuid_phys = 0xfeedbeef; quiet = 0; |