diff options
author | Marian Balakowicz <m8@semihalf.com> | 2008-02-29 23:24:06 +0300 |
---|---|---|
committer | Marian Balakowicz <m8@semihalf.com> | 2008-03-10 19:51:07 +0300 |
commit | 5dfb52138688ccbf0146f62683fe6217b3ce1b05 (patch) | |
tree | 9d8ab9927703956f9d0c5f27041aff374f570bb8 /tools | |
parent | 05e07b1ea22844e946cfcf7d5e8a0199d18d2a95 (diff) | |
download | u-boot-5dfb52138688ccbf0146f62683fe6217b3ce1b05.tar.xz |
[new uImage] New uImage low-level API
Add FDT-based functions for handling new format component images,
configurations, node operations, property get/set, etc.
fit_ - routines handling global new format uImage operations
like get/set top level property, process all nodes, etc.
fit_image_ - routines handling component images subnodes
fit_conf_ - routines handling configurations node
Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
Signed-off-by: Marian Balakowicz <m8@semihalf.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/mkimage.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/mkimage.h b/tools/mkimage.h index cdd52bc9c2..41cd156fa2 100644 --- a/tools/mkimage.h +++ b/tools/mkimage.h @@ -35,6 +35,14 @@ #include <sha1.h> #include "fdt_host.h" +#define MKIMAGE_DEBUG + +#ifdef MKIMAGE_DEBUG +#define debug(fmt,args...) printf (fmt ,##args) +#else +#define debug(fmt,args...) +#endif /* MKIMAGE_DEBUG */ + #if defined(__BEOS__) || defined(__NetBSD__) || defined(__APPLE__) #include <inttypes.h> #endif |