[PATCH 1/2] uimage: fix: always support multi image support

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Mon Aug 12 06:09:22 EDT 2013


drop ifdef CONFIG_UIMAGE_MULTI as the Kconfig option is not present anyway

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
 common/uimage.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/common/uimage.c b/common/uimage.c
index 1ac0b7d..ed93a4b 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)
 {
-- 
1.8.4.rc1




More information about the barebox mailing list