summaryrefslogtreecommitdiffstats
path: root/include/filetype.h
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2018-08-23 19:52:22 -0700
committerSascha Hauer <s.hauer@pengutronix.de>2018-08-31 08:30:07 +0200
commit489157938a25285ee96f6fff19a957259d0f51a8 (patch)
tree71370e61b63f73b8c686dc5f7ee9010b5871f22a /include/filetype.h
parent91b7a171bcafd3bc738fe2e50500da765b793983 (diff)
downloadbarebox-489157938a25285ee96f6fff19a957259d0f51a8.tar.gz
barebox-489157938a25285ee96f6fff19a957259d0f51a8.tar.xz
filetype: Add code to detect i.MX image v1
Modify file_detect_type() and add code needed to be able to detect i.MX boot images with v1 header. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/filetype.h')
-rw-r--r--include/filetype.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/filetype.h b/include/filetype.h
index 237ed3fbe9..e2df5fabf5 100644
--- a/include/filetype.h
+++ b/include/filetype.h
@@ -43,6 +43,7 @@ enum filetype {
filetype_android_sparse,
filetype_arm64_linux_image,
filetype_elf,
+ filetype_imx_image_v1,
filetype_max,
};