From 87b302f4e2411749241fb4d13b6f1583ebbfd88a Mon Sep 17 00:00:00 2001 From: Antony Pavlov Date: Thu, 10 May 2012 13:35:12 +0400 Subject: MIPS: bootm: add "MIPS barebox" handler Signed-off-by: Antony Pavlov Signed-off-by: Sascha Hauer --- common/filetype.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common/filetype.c') 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; } -- cgit v1.2.3