summaryrefslogtreecommitdiff
path: root/common/firmware_image.S
diff options
context:
space:
mode:
Diffstat (limited to 'common/firmware_image.S')
-rw-r--r--common/firmware_image.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/firmware_image.S b/common/firmware_image.S
index ed78bad3ce..79661c2866 100644
--- a/common/firmware_image.S
+++ b/common/firmware_image.S
@@ -33,7 +33,11 @@
#ifdef CONFIG_ROLLBACK
/* Note: matches struct rollback_data in common/rollback.c. */
.section .image.ROLLBACK, "a"
+.long 0
.long CONFIG_ROLLBACK_VERSION
+#ifdef CONFIG_ROLLBACK_SECRET_SIZE
+.space CONFIG_ROLLBACK_SECRET_SIZE, 0
+#endif
.long CROS_EC_ROLLBACK_COOKIE
#endif