summaryrefslogtreecommitdiffstats
path: root/include/filetype.h
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2018-08-23 19:52:23 -0700
committerSascha Hauer <s.hauer@pengutronix.de>2018-08-31 08:30:07 +0200
commitbef321a095b6552576ca813fd36b4e5f8de2c4ff (patch)
tree58f953cc5b4ab7e612c4b8877e5b4753d835136f /include/filetype.h
parent489157938a25285ee96f6fff19a957259d0f51a8 (diff)
downloadbarebox-bef321a095b6552576ca813fd36b4e5f8de2c4ff.tar.gz
filetype: Add code to detect i.MX image v2
Modify file_detect_type() and add code needed to be able to detect i.MX boot images with v2 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 e2df5fa..395053d 100644
--- a/include/filetype.h
+++ b/include/filetype.h
@@ -44,6 +44,7 @@ enum filetype {
filetype_arm64_linux_image,
filetype_elf,
filetype_imx_image_v1,
+ filetype_imx_image_v2,
filetype_max,
};