commit | 8a1fee9751c819fb0be947ca5310d55e524aec96 | [log] [tgz] |
---|---|---|
author | Alvaro Prieto <source@alvaroprieto.com> | Thu Jul 04 12:25:24 2019 -0700 |
committer | ccollins476ad <ccollins476ad@gmail.com> | Thu Jul 18 14:40:35 2019 -0700 |
tree | 2259383907997d7f84880020fda1fc08c3fa6757 | |
parent | a86ed83af5bab0eeea204b1d02f052b4ddfeef10 [diff] |
Fix IMAGE_F_NON_BOOTABLE definition to match mcuboot The correct flag for IMAGE_F_NON_BOOTABLE should be 0x10 instead of 0x02 according to the mcuboot files: https://github.com/JuulLabs-OSS/mcuboot/blob/3c469bc698a9767859ed73cd0201c44161204d5c/boot/bootutil/include/bootutil/image.h#L46 Signed-off-by: Alvaro Prieto <source@alvaroprieto.com>
diff --git a/image/image.go b/image/image.go index f5dd1bb..1530ea3 100644 --- a/image/image.go +++ b/image/image.go
@@ -46,8 +46,8 @@ */ const ( IMAGE_F_PIC = 0x00000001 - IMAGE_F_NON_BOOTABLE = 0x00000002 /* non bootable image */ IMAGE_F_ENCRYPTED = 0x00000004 /* encrypted image */ + IMAGE_F_NON_BOOTABLE = 0x00000010 /* non bootable image */ ) /*