summaryrefslogtreecommitdiffstats
path: root/include/image-metadata.h
diff options
context:
space:
mode:
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>2020-09-23 12:34:18 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-09-28 11:08:58 +0200
commit01b53d3b728073996e7e7c1f308a2bf79f0ae609 (patch)
tree45b382451347dd952be3f2fb74618afb9a27fe58 /include/image-metadata.h
parentc600d8812e9f3b98591a7d80d0feed33fa35d0f5 (diff)
downloadbarebox-01b53d3b728073996e7e7c1f308a2bf79f0ae609.tar.gz
barebox-01b53d3b728073996e7e7c1f308a2bf79f0ae609.tar.xz
imd: add buildsystem version to metadata
To have information about the exact state of a barebox binary from userspace, add the buildsystem version to the IMD. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/image-metadata.h')
-rw-r--r--include/image-metadata.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/image-metadata.h b/include/image-metadata.h
index 42ddf2fab0..a9cb9cfe8f 100644
--- a/include/image-metadata.h
+++ b/include/image-metadata.h
@@ -26,6 +26,7 @@
#define IMD_TYPE_MODEL 0x640c8004 /* The board name this image is for */
#define IMD_TYPE_OF_COMPATIBLE 0x640c8005 /* the device tree compatible string */
#define IMD_TYPE_PARAMETER 0x640c8006 /* A generic parameter. Use key=value as data */
+#define IMD_TYPE_BUILDSYSTEM 0x640c8007 /* The buildsystem version barebox was built with */
#define IMD_TYPE_CRC32 0x640c1007 /* the checksum of the barebox images */
#define IMD_TYPE_END 0x640c7fff
#define IMD_TYPE_INVALID 0xffffffff