summaryrefslogtreecommitdiffstats
path: root/common/imd.c
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 /common/imd.c
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 'common/imd.c')
-rw-r--r--common/imd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/imd.c b/common/imd.c
index 0644e6d3bf..4fd4431aa9 100644
--- a/common/imd.c
+++ b/common/imd.c
@@ -168,6 +168,9 @@ static struct imd_type_names imd_types[] = {
}, {
.type = IMD_TYPE_CRC32,
.name = "crc32",
+ }, {
+ .type = IMD_TYPE_BUILDSYSTEM,
+ .name = "buildsystem version",
},
};