]> git.sur5r.net Git - u-boot/commit
Add some missing endian conversions in fdt_support.c
authorGabe Black <gabeblack@chromium.org>
Tue, 8 Nov 2011 09:05:32 +0000 (01:05 -0800)
committerGerald Van Baren <gvb@unssw.com>
Sun, 13 Nov 2011 16:21:34 +0000 (11:21 -0500)
commitde16606ae3445c3822720487178ecf7fbdd0c378
tree811b97abbff43a336aa55b9aaf77ad040e48d2eb
parent5721385b187b3154c7768e6c182501022f4e2e45
Add some missing endian conversions in fdt_support.c

Some functions in fdt_support.c use fdt_getprop to read 32 bit values out of
the device tree, but then use them directly without doing any endian
conversion. Because they check for a value that doesn't actually appear in
practice, the functions continued to work even though they're incorrect.
This change adds the missing conversions.

Signed-off-by: Gabe Black <gabeblack@chromium.org>
common/fdt_support.c