summaryrefslogtreecommitdiffstats
path: root/common/uimage.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2018-01-22 11:13:27 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2018-01-25 08:29:52 +0100
commite660e511ae29b914cfc47413f5ac1107c2da0693 (patch)
tree56d3303e0d46d603f585b3c97ba85e36b3826952 /common/uimage.c
parent94e561b3648a2c921a6c8faa6c79201c78f8ecfe (diff)
downloadbarebox-e660e511ae29b914cfc47413f5ac1107c2da0693.tar.gz
barebox-e660e511ae29b914cfc47413f5ac1107c2da0693.tar.xz
libfile: implement a function to cache a file
Due to the nature of TFTP which can't lseek and due to the silliness of our filesystem implementation which can't cache accesses we have to manually cache files on TFTP filesystems sometimes. Make it easier for them by providing a cache_file() function which copies the file from TFTP to RAM. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/uimage.c')
0 files changed, 0 insertions, 0 deletions