summaryrefslogtreecommitdiff
path: root/lib/libfdt/fdt_sw.c
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2013-01-16 13:59:50 +0000
committerGerald Van Baren <gvb@unssw.com>2013-02-07 20:38:55 -0500
commitb2ba62a1aa7f2b68c418cf44ab15eee718913272 (patch)
treebff596e4205ca600bc5948901b9f675791f5775e /lib/libfdt/fdt_sw.c
parent71bbb3df90740fb7aa7edaaf7445c304aed69db8 (diff)
libfdt: update from upstream dtc commit 142419e
commit 142419e "dtc/libfdt: sparse fixes", for u-boot's libfdt copy. Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Cc: Jerry Van Baren <gvb.uboot@gmail.com>
Diffstat (limited to 'lib/libfdt/fdt_sw.c')
-rw-r--r--lib/libfdt/fdt_sw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libfdt/fdt_sw.c b/lib/libfdt/fdt_sw.c
index 55ebebf1eb..f422754de9 100644
--- a/lib/libfdt/fdt_sw.c
+++ b/lib/libfdt/fdt_sw.c
@@ -153,7 +153,7 @@ int fdt_begin_node(void *fdt, const char *name)
int fdt_end_node(void *fdt)
{
- uint32_t *en;
+ fdt32_t *en;
FDT_SW_CHECK_HEADER(fdt);
@@ -213,7 +213,7 @@ int fdt_property(void *fdt, const char *name, const void *val, int len)
int fdt_finish(void *fdt)
{
char *p = (char *)fdt;
- uint32_t *end;
+ fdt32_t *end;
int oldstroffset, newstroffset;
uint32_t tag;
int offset, nextoffset;