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>
This commit is contained in:
David Gibson 2007-09-26 13:11:05 +10:00 committed by Jon Loeliger
parent 63dc9c7113
commit fb7c7acf5a
6 changed files with 89 additions and 140 deletions

4
data.c
View file

@ -246,9 +246,9 @@ struct data data_append_cell(struct data d, cell_t word)
return data_append_data(d, &beword, sizeof(beword));
}
struct data data_append_re(struct data d, struct reserve_entry *re)
struct data data_append_re(struct data d, struct fdt_reserve_entry *re)
{
struct reserve_entry bere;
struct fdt_reserve_entry bere;
bere.address = cpu_to_be64(re->address);
bere.size = cpu_to_be64(re->size);