summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2018-01-22 11:17:16 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2018-01-25 08:43:16 +0100
commit0f31aec6dfbe756d900fcf20c5bf0368e56bf771 (patch)
tree3e4c2a88dbd82f8a5ac212648e8b1376dc51e07b /include
parent220e92bc20a74dd005ecf057d7de25e8db8b9b25 (diff)
downloadbarebox-0f31aec6dfbe756d900fcf20c5bf0368e56bf771.tar.gz
barebox-0f31aec6dfbe756d900fcf20c5bf0368e56bf771.tar.xz
uimage: Use is_tftp_fs() and cache_file() to ease TFTP workaround
We have helper functions now to ease file caching when a file is on TFTP. Use them. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/image.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/image.h b/include/image.h
index 3e75d49b88..add9c85874 100644
--- a/include/image.h
+++ b/include/image.h
@@ -246,6 +246,7 @@ struct resource *file_to_sdram(const char *filename, unsigned long adr);
struct uimage_handle {
struct image_header header;
char *name;
+ char *copy;
struct uimage_handle_data ihd[MAX_MULTI_IMAGE_COUNT];
int nb_data_entries;
size_t data_offset;