mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] uimage: fix: always support multi image support
@ 2013-08-12 10:09 Jean-Christophe PLAGNIOL-VILLARD
  2013-08-12 10:09 ` [PATCH 2/2] uimage: fix: fill size when no compression is used Jean-Christophe PLAGNIOL-VILLARD
  2013-08-12 20:04 ` [PATCH 1/2] uimage: fix: always support multi image support Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2013-08-12 10:09 UTC (permalink / raw)
  To: barebox

drop ifdef CONFIG_UIMAGE_MULTI as the Kconfig option is not present anyway

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@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


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-08-12 20:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-12 10:09 [PATCH 1/2] uimage: fix: always support multi image support Jean-Christophe PLAGNIOL-VILLARD
2013-08-12 10:09 ` [PATCH 2/2] uimage: fix: fill size when no compression is used Jean-Christophe PLAGNIOL-VILLARD
2013-08-12 20:04 ` [PATCH 1/2] uimage: fix: always support multi image support Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox