summaryrefslogtreecommitdiffstats
path: root/common/filetype.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge branch 'master' into nextSascha Hauer2012-04-171-2/+2
|\
| * filetype: Make it work on files < 512 bytesSascha Hauer2012-04-171-2/+2
| | | | | | | | | | | | | | This is a brown paper bag type of bugs. Do not assume that a file has to be at minimun 512 bytes to be detectable. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | filetype: add Android boot image supportJean-Christophe PLAGNIOL-VILLARD2012-04-121-0/+3
|/ | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* filetype: Add oftree detectionSascha Hauer2011-12-151-0/+3
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add file detection supportSascha Hauer2011-11-291-0/+99
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>