include: global_data: add rollback index

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I6f8a558246e8003c7124609b604c0331cec1204a
This commit is contained in:
Joseph Chen 2020-06-23 16:05:35 +08:00 committed by Jianhong Chen
parent c8b8e10892
commit 89d8b5fba1
1 changed files with 3 additions and 0 deletions

View File

@ -148,6 +148,9 @@ typedef struct global_data {
int default_log_level; /* For devices with no filters */
struct list_head log_head; /* List of struct log_device */
#endif
#if CONFIG_IS_ENABLED(FIT_ROLLBACK_PROTECT)
u32 rollback_index;
#endif
} gd_t;
#endif