u-boot-brain/libfdt
David Gibson ef4e8ce1be dtc: Enable and fix -Wpointer-arith warnings
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>
2008-08-24 22:20:49 -04:00
..
fdt_ro.c dtc: Enable and fix -Wpointer-arith warnings 2008-08-24 22:20:49 -04:00
fdt_rw.c dtc: Enable and fix -Wpointer-arith warnings 2008-08-24 22:20:49 -04:00
fdt_strerror.c [new uImage] Add libfdt support to mkimage 2008-02-29 16:00:24 +01:00
fdt_sw.c dtc: Enable and fix -Wpointer-arith warnings 2008-08-24 22:20:49 -04:00
fdt_wip.c dtc: Enable and fix -Wpointer-arith warnings 2008-08-24 22:20:49 -04:00
fdt.c dtc: Enable and fix -Wpointer-arith warnings 2008-08-24 22:20:49 -04:00
libfdt_internal.h dtc: Enable and fix -Wpointer-arith warnings 2008-08-24 22:20:49 -04:00
Makefile Big white-space cleanup. 2008-05-21 00:14:08 +02:00
README Big white-space cleanup. 2008-05-21 00:14:08 +02: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