This patch adds exported accessor macros for the various flat device tree header fields to libfdt.h. This necessitates moving some of the byte-swapping functions. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Initial revision, read-only and "in-place" (no memmove() required) write operations only.