diff options
Diffstat (limited to 'common/filetype.c')
-rw-r--r-- | common/filetype.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/filetype.c b/common/filetype.c index 15a37325df..39c2098862 100644 --- a/common/filetype.c +++ b/common/filetype.c @@ -78,6 +78,8 @@ enum filetype file_detect_type(void *_buf) return filetype_oftree; if (strncmp(buf8, "ANDROID!", 8) == 0) return filetype_aimage; + if (strncmp(buf8 + 0x10, "barebox", 7) == 0) + return filetype_mips_barebox; return filetype_unknown; } |