platform_external_dtc/libfdt
David Gibson 8a4e75049d 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-02-18 08:27:13 -06:00
..
fdt.c libfdt: Trivial cleanup for CHECK_HEADER) 2008-02-18 08:27:13 -06:00
fdt.h Fix whitespace in libfdt/fdt.h 2007-11-28 09:44:27 -06:00
fdt_ro.c libfdt: Trivial cleanup for CHECK_HEADER) 2008-02-18 08:27:13 -06:00
fdt_rw.c libfdt: Trivial cleanup for CHECK_HEADER) 2008-02-18 08:27:13 -06:00
fdt_strerror.c Move everything into a subdirectory in preparation for merge into dtc. 2007-06-14 11:58:35 +10:00
fdt_sw.c libfdt: Remove un-const-safe fdt_set_header macro 2007-10-25 09:49:18 -05:00
fdt_wip.c libfdt: Rename and publish _fdt_next_tag() 2007-10-24 09:56:27 -05:00
libfdt.h libfdt: Add and use a node iteration helper function. 2008-02-12 09:11:40 -06:00
libfdt_env.h Move everything into a subdirectory in preparation for merge into dtc. 2007-06-14 11:58:35 +10:00
libfdt_internal.h libfdt: Trivial cleanup for CHECK_HEADER) 2008-02-18 08:27:13 -06:00
Makefile.libfdt dtc: Refactor Makefiles 2007-10-15 08:28:07 -05:00
TODO dtc: Update TODO files 2007-12-19 08:20:26 -06:00