diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2013-08-12 12:09:22 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-08-12 22:04:31 +0200 |
commit | 7320851ed1e1564dd25df617a36e8248c784524f (patch) | |
tree | f35d14ffab63d19fb598197723aa93ab209f6ab2 | |
parent | 4db3f913267d9f41c035f1bd32d18e6d7fe23939 (diff) | |
download | barebox-7320851ed1e1564dd25df617a36e8248c784524f.tar.gz barebox-7320851ed1e1564dd25df617a36e8248c784524f.tar.xz |
uimage: fix: always support multi image support
drop ifdef CONFIG_UIMAGE_MULTI as the Kconfig option is not present anyway
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | common/uimage.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/common/uimage.c b/common/uimage.c index 06f97f0944..c9283b82d1 100644 --- a/common/uimage.c +++ b/common/uimage.c @@ -29,17 +29,10 @@ #include <filetype.h> #include <memory.h> -#ifdef CONFIG_UIMAGE_MULTI static inline int uimage_is_multi_image(struct uimage_handle *handle) { return (handle->header.ih_type == IH_TYPE_MULTI) ? 1 : 0; } -#else -static inline int uimage_is_multi_image(struct uimage_handle *handle) -{ - return 0; -} -#endif void uimage_print_contents(struct uimage_handle *handle) { |