From 7320851ed1e1564dd25df617a36e8248c784524f Mon Sep 17 00:00:00 2001 From: Jean-Christophe PLAGNIOL-VILLARD Date: Mon, 12 Aug 2013 12:09:22 +0200 Subject: 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 Signed-off-by: Sascha Hauer --- common/uimage.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'common') 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 #include -#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) { -- cgit v1.2.3