u-boot-brain/libfdt
David Gibson d0ccb9b140 libfdt: Trivial cleanup for CHECK_HEADER)
Currently the CHECK_HEADER() macro is defined local to fdt_ro.c.
However, there are a handful of functions (fdt_move, rw_check_header,
fdt_open_into) from other files which could also use it (currently
they open-code something more-or-less identical).  Therefore, this
patch moves CHECK_HEADER() to libfdt_internal.h and uses it in those
places.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2008-03-18 21:03:45 -04:00
..
fdt_ro.c libfdt: Trivial cleanup for CHECK_HEADER) 2008-03-18 21:03:45 -04:00
fdt_rw.c libfdt: Trivial cleanup for CHECK_HEADER) 2008-03-18 21:03:45 -04:00
fdt_strerror.c Update libfdt from device tree compiler (dtc) 2007-11-21 14:04:05 -06:00
fdt_sw.c Update libfdt from device tree compiler (dtc) 2007-11-21 14:04:05 -06:00
fdt_wip.c Update libfdt from device tree compiler (dtc) 2007-11-21 14:04:05 -06:00
fdt.c libfdt: Trivial cleanup for CHECK_HEADER) 2008-03-18 21:03:45 -04:00
libfdt_internal.h libfdt: Trivial cleanup for CHECK_HEADER) 2008-03-18 21:03:45 -04:00
Makefile [BUILD] conditionally compile libfdt/*.c in libfdt/Makefile 2007-11-21 08:49:50 -06:00
README libfdt: Import libfdt source (1 of 2) 2007-03-31 11:59:59 -04:00

The libfdt functionality was written by David Gibson.  The original
source came from the git repository:

URL: 		git://ozlabs.org/home/dgibson/git/libfdt.git

author		David Gibson <dgibson@sneetch.(none)>
		Fri, 23 Mar 2007 04:16:54 +0000 (15:16 +1100)
committer	David Gibson <dgibson@sneetch.(none)>
	 	Fri, 23 Mar 2007 04:16:54 +0000 (15:16 +1100)
commit		857f54e79f74429af20c2b5ecc00ee98af6a3b8b
tree		2f648f0f88225a51ded452968d28b4402df8ade0
parent		07a12a08005f3b5cd9337900a6551e450c07b515

To adapt for u-boot usage, only the applicable files were copied and
imported into the u-boot git repository.
Omitted:
* GPL - u-boot comes with a copy of the GPL license
* test subdirectory - not directly useful for u-boot

After importing, other customizations were performed.  See the git log
for details.

Jerry Van Baren