image: Define 1st, cert-sw and ape-algo Harmattan images

This change allows 0xFFFF to unpack Harmattan fiasco images.
This commit is contained in:
Pali Rohár committed 2021-05-02 17:19:56 +02:00
1 parent e65d7d1636
commit b46e4a6ad5
2 files changed
+6

No files matched your search

+3
View File
@@ -545,6 +545,9 @@ static const char * image_types[] = {
[IMAGE_CMT_2ND] = "cmt-2nd",
[IMAGE_CMT_ALGO] = "cmt-algo",
[IMAGE_CMT_MCUSW] = "cmt-mcusw",
[IMAGE_1ST] = "1st",
[IMAGE_CERT_SW] = "cert-sw",
[IMAGE_APE_ALGO] = "ape-algo",
};
enum image_type image_type_from_data(struct image * image) {
+3
View File
@@ -37,6 +37,9 @@ enum image_type {
IMAGE_CMT_2ND,
IMAGE_CMT_ALGO,
IMAGE_CMT_MCUSW,
IMAGE_1ST,
IMAGE_CERT_SW,
IMAGE_APE_ALGO,
IMAGE_COUNT,
};