summaryrefslogtreecommitdiff
path: root/include/libfdt_env.h
Commit message (Collapse)AuthorAgeLines
* libfdt: Fix redefined uintptr_t warning for USE_HOSTCCJerry Van Baren2008-12-10-0/+2
| | | | | | | | | | | | | Compiling U-Boot in an old OS environment (RedHat-7.3 :-) gives the following warnings from FDT: include/libfdt_env.h:50: warning: redefinition of 'uintptr_t' /usr/include/stdint.h:129: warning: 'uintptr_t' previously declared here Fix: Protect the definition of uintptr_t when compiling on the host system. Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
* FDT: don't use private kernel header filesWolfgang Denk2008-10-21-5/+14
| | | | | | | | | | | | | | On some systems (for example Fedora Core 4) U-Boot builds with the following wanrings only: ... In file included from /home/wd/git/u-boot/include/libfdt_env.h:33, from fdt.c:51: /usr/include/asm/byteorder.h:6:2: warning: #warning using private kernel header; include <endian.h> instead! This patch fixes this problem. Signed-off-by: Wolfgang Denk <wd@denx.de>
* dtc: Enable and fix -Wpointer-arith warningsDavid Gibson2008-08-24-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-10-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-27-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-29-0/+4
| | | | Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
* Minor code clean up.Gerald Van Baren2007-08-10-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-06-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-31-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-31-0/+22
This adds the applicable libfdt source files (unmodified) and a README to explain where the source came from.