summaryrefslogtreecommitdiffstats
path: root/include/libfdt_env.h
Commit message (Collapse)AuthorAgeFilesLines
* dtc: Enable and fix -Wpointer-arith warningsDavid Gibson2008-08-241-0/+12
| | | | | | | | | | | | | | This patch turns on the -Wpointer-arith option in the dtc Makefile, and fixes the resulting warnings due to using (void *) in pointer arithmetic. While convenient, pointer arithmetic on void * is not portable, so it's better that we avoid it, particularly in libfdt. Also add necessary definition of uintptr_t needed by David Gibson's changeset "dtc: Enable and fix -Wpointer-arith warnings" (the definition comes from stdint.h, which u-boot doesn't have). -- gvb Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
* fdt: unshadow global working fdt variableKim Phillips2008-06-101-1/+1
| | | | | | | differentiate with local variables of the same name by renaming the global 'fdt' variable 'working_fdt'. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
* Fix host tool build breakage, take twoBartlomiej Sieka2008-03-271-3/+4
| | | | | | | Revert commit 87c8431f and fix build breakage so that the build continues to work on FC systems. Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
* [new uImage] Add libfdt support to mkimageBartlomiej Sieka2008-02-291-0/+4
| | | | Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
* Minor code clean up.Gerald Van Baren2007-08-101-1/+1
| | | | | | | | Declare the variable fdt properly as extern. Call the "set_fn" function pointer the "short way" without the full dereferencing syntax. Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
* libfdt: Make fdt_check_header() publicGerald Van Baren2007-04-061-0/+20
| | | | | | | Changed _fdt_check_header() to fdt_check_header() and made it part of the interface - it is a useful routine. Also did some asthetics cleanup to the include files (headers).
* libfdt: Customizations for use by u-boot.Gerald Van Baren2007-03-311-15/+9
| | | | | Changes to David Gibson's original source to fit into u-boot's environment. No functionality changes.
* libfdt: Import libfdt source (1 of 2)Gerald Van Baren2007-03-311-0/+22
This adds the applicable libfdt source files (unmodified) and a README to explain where the source came from.
OpenPOWER on IntegriCloud