summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2010-10-07 14:13:21 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2010-10-07 14:13:21 +0200
commit6d2812b93d67be5eb7b41106ab9d8756d4bbc9d4 (patch)
treee584187d7cadf6137edd99d86830da614c7d5c6b /include
parent6c4b1b6da0716cc7025e85578e89101a2c065bf5 (diff)
downloadbarebox-6d2812b93d67be5eb7b41106ab9d8756d4bbc9d4.tar.gz
barebox-6d2812b93d67be5eb7b41106ab9d8756d4bbc9d4.tar.xz
Revert "image: factorise string helper"
This reverts commit 7bd7d59e60f3f23862ebc09c9f3527ee24b2960f.
Diffstat (limited to 'include')
-rw-r--r--include/image.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/include/image.h b/include/image.h
index 436403acd3..2b81ec9eea 100644
--- a/include/image.h
+++ b/include/image.h
@@ -187,33 +187,6 @@ struct image_handle {
int flags;
};
-#if defined(CONFIG_CMD_BOOTM_SHOW_TYPE) || !defined(__BAREBOX__)
-const char *image_os(uint8_t os);
-const char *image_arch(uint8_t arch);
-const char *image_type(uint8_t type);
-const char *image_compression(uint8_t comp);
-#else
-static inline const char *image_os(uint8_t os)
-{
- return NULL;
-}
-
-static inline const char *image_arch(uint8_t arch)
-{
- return NULL;
-}
-
-static inline const char *image_type(uint8_t type)
-{
- return NULL;
-}
-
-static inline const char *image_compression(uint8_t comp)
-{
- return NULL;
-}
-#endif
-
/* commamds/bootm.c */
void print_image_hdr (image_header_t *hdr);