- Aug 10, 2013
-
-
Roger Meier authored
Signed-off-by:
Roger Meier <roger@bufferoverflow.ch> Acked-by:
Wolfgang Denk <wd@denx.de>
-
- Oct 16, 2012
-
-
Gerald Van Baren authored
The libfdt read/write functions are now usable enough that it's become a moderately common pattern to use them to build and manipulate a device tree from scratch. For example, we do so ourself in our rw_tree1 testcase, and qemu is starting to use this model when building device trees for some targets such as e500. However, the read/write functions require some sort of valid tree to begin with, so this necessitates either having a trivial canned dtb to begin with or, more commonly, creating an empty tree using the serial-write functions first. This patch adds a helper function which uses the serial-write functions to create a trivial, empty but complete and valid tree in a supplied buffer, ready for manipulation with the read/write functions. Signed-off-by:
David Gibson <david@gibson.dropbear.id.au> From git://git.jdl.com/software/dtc.git patch hash be6026838 with adaptations to include/libfdt.h and lib/libfdt/Makefile for the U-Boot environment. Signed-off-by:
Gerald Van Baren <vanbaren@cideas.com>
-
- Apr 13, 2010
-
-
Peter Tyser authored
Move the libfdt directory into the common lib/ directory to clean up the top-level directory. Signed-off-by:
Peter Tyser <ptyser@xes-inc.com>
-
- Aug 25, 2008
-
-
David Gibson authored
libfdt is supposed to easy to embed in projects all and sundry. Often, it won't be practical to separate the embedded libfdt's namespace from that of the surrounding project. Which means there can be namespace conflicts between even libfdt's internal/static functions and functions or macros coming from the surrounding project's headers via libfdt_env.h. This patch, therefore, renames a bunch of libfdt internal functions and macros and makes a few other chances to reduce the chances of namespace collisions with embedding projects. Specifically: - Internal functions (even static ones) are now named _fdt_*() - The type and (static) global for the error table in fdt_strerror() gain an fdt_ prefix - The unused macro PALIGN is removed - The memeq and streq macros are removed and open-coded in the users (they were only used once each) - Other macros gain an FDT_ prefix - To save some of the bulk from the previous change, an FDT_TAGALIGN() macro is introduced, where FDT_TAGALIGN(x) == FDT_ALIGN(x, FDT_TAGSIZE) Signed-off-by:
David Gibson <david@gibson.dropbear.id.au>
-
- Feb 29, 2008
-
-
Bartlomiej Sieka authored
Signed-off-by:
Bartlomiej Sieka <tur@semihalf.com>
-
- Nov 21, 2007
-
-
Kumar Gala authored
Update libfdt to commit 8eaf5e358366017aa2e846c5038d1aa19958314e from the device tree compiler (dtc) project. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Kumar Gala authored
Modify libfdt/Makefile to conditionally compile the *.c files based on the board config. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- Aug 10, 2007
-
-
Gerald Van Baren authored
This is the way u-boot reduces configured-out code. At Wolfgang Grandegger and Wolfgang Denk's request, make libfdt conform. Signed-off-by:
Gerald Van Baren <vanbaren@cideas.com>
-
- Mar 31, 2007
-
-
Gerald Van Baren authored
This adds the applicable libfdt source files (unmodified) and a README to explain where the source came from.
-