diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2011-11-25 18:49:14 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-11-29 21:12:42 +0100 |
commit | b6996039f622ccc8488176e211bf41315f9691c6 (patch) | |
tree | 8eb8573833d98fe93b8db036acdf677fd74a30f6 /commands/uncompress.c | |
parent | 32daa5509a68f58fe365fadafdb5b1ec5d72fff5 (diff) | |
download | barebox-b6996039f622ccc8488176e211bf41315f9691c6.tar.gz barebox-b6996039f622ccc8488176e211bf41315f9691c6.tar.xz |
add file detection support
Several filetypes can be autodetected. Barebox could make use
of this in several ways:
- Add a command to detect filetypes
- detect arm zImages and uImages to unify the different boot commands
- maybe detect UBI or JFFS2 images to construct parts of the kernel
command line
- select correct uncompression function based on filetype
This patch adds basic support to detect filetypes.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/uncompress.c')
0 files changed, 0 insertions, 0 deletions