diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/version.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/version.c b/common/version.c index 13a200b1b5..412faff94f 100644 --- a/common/version.c +++ b/common/version.c @@ -26,6 +26,7 @@ const struct image_data __keep current_image_data .rollback_version = CONFIG_ROLLBACK_VERSION, .cookie2 = CROS_EC_IMAGE_DATA_COOKIE2, }; +BUILD_ASSERT(sizeof(CROS_EC_VERSION32) <= 32); const char build_info[] __keep __attribute__((section(".rodata.buildinfo"))) = VERSION " " DATE " " BUILDER; |