17 Nov, 2017
1 commit
-
Fortunately, U-Boot did not modify libfdt_internal.h locally.
Change it to a wrapper of scripts/dtc/libfdt/fdt.h, which will be
periodically synced with the upstream DTC (or kernel).Signed-off-by: Masahiro Yamada
09 Aug, 2014
1 commit
-
This brings in changes up to commit f9e91a48 in the libfdt repo.
Mostly this is whitespace/minor changes. But there are a few new
features:- fdt_size_cells() and fdt_address_cells()
- fdt_resize()Signed-off-by: Simon Glass
10 Aug, 2013
1 commit
-
Signed-off-by: Roger Meier
Acked-by: Wolfgang Denk
15 Jul, 2011
1 commit
-
For ages, we've been talking about adding functions to libfdt to allow
iteration through properties. So, finally, here are some.I got bogged down on this for a long time because I didn't want to
expose offsets directly to properties to the callers. But without
that, attempting to make reasonable iteration functions just became
horrible. So eventually, I settled on an interface which does now
expose property offsets. fdt_first_property_offset() and
fdt_next_property_offset() are used to step through the offsets of the
properties starting from a particularly node offset. The details of
the property at each offset can then be retrieved with either
fdt_get_property_by_offset() or fdt_getprop_by_offset() which have
interfaces similar to fdt_get_property() and fdt_getprop()
respectively.No explicit testcases are included, but we do use the new functions to
reimplement the existing fdt_get_property() function.Signed-off-by: David Gibson
This was extracted from the DTC commit:
73dca9ae0b9abe6924ba640164ecce9f8df69c5a Mon Sep 17 00:00:00 2001Signed-off-by: Gerald Van Baren
13 Apr, 2010
1 commit
-
Move the libfdt directory into the common lib/ directory to clean up the
top-level directory.Signed-off-by: Peter Tyser