summaryrefslogtreecommitdiffstats
path: root/include/image.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-12-06 09:13:07 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-12-15 11:07:15 +0100
commitcbf041c6301b2d7cca9089cbd88476bf97f0116a (patch)
tree706426b766e0d3d3c157d241979ef7493d783385 /include/image.h
parente90f67881e2fcebf4b030b5a96f92d1e5efe5559 (diff)
downloadbarebox-cbf041c6301b2d7cca9089cbd88476bf97f0116a.tar.gz
barebox-cbf041c6301b2d7cca9089cbd88476bf97f0116a.tar.xz
remove now unused uImage code
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/image.h')
-rw-r--r--include/image.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/include/image.h b/include/image.h
index 5e9b6e26e4..97de88133f 100644
--- a/include/image.h
+++ b/include/image.h
@@ -188,20 +188,6 @@ typedef struct image_header {
uint8_t ih_name[IH_NMLEN]; /* Image Name */
} image_header_t;
-struct image_handle_data {
- void *data;
- ulong len;
-};
-
-struct image_handle {
- image_header_t header;
- void *data;
- struct image_handle_data *data_entries;
- int nb_data_entries;
-#define IH_MALLOC 1
- int flags;
-};
-
#if defined(CONFIG_CMD_BOOTM_SHOW_TYPE) || !defined(__BAREBOX__)
const char *image_get_os_name(uint8_t os);
const char *image_get_arch_name(uint8_t arch);
@@ -335,20 +321,6 @@ void image_print_size(uint32_t size);
void image_print_contents(const image_header_t *hdr, void *data);
-/*
- * Load an image into memory. Returns a pointer to the loaded
- * image.
- */
-struct image_handle *map_image(const char *filename, int verify);
-void unmap_image(struct image_handle *handle);
-struct image_handle_data* gen_image_handle_data(void* data, ulong len);
-
-/*
- * Relocate an image to load_address by uncompressing
- * or just copying.
- */
-int relocate_image(struct image_handle *handle, void *load_address);
-
struct uimage_handle_data {
size_t offset; /* offset in the image */
ulong len;