summaryrefslogtreecommitdiffstats
path: root/common/uimage.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2013-08-12 12:09:22 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-08-12 22:04:31 +0200
commit7320851ed1e1564dd25df617a36e8248c784524f (patch)
treef35d14ffab63d19fb598197723aa93ab209f6ab2 /common/uimage.c
parent4db3f913267d9f41c035f1bd32d18e6d7fe23939 (diff)
downloadbarebox-7320851ed1e1564dd25df617a36e8248c784524f.tar.gz
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>
Diffstat (limited to 'common/uimage.c')
-rw-r--r--common/uimage.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/common/uimage.c b/common/uimage.c
index 06f97f0..c9283b8 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)
{