common: fit: add more info for otp index

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I9360d3d4bc16c1c1f5e4a2310e79858d38413eb8
This commit is contained in:
Joseph Chen 2020-06-28 09:07:59 +08:00 committed by Jianhong Chen
parent ed5a55bae6
commit e5ca21e884
3 changed files with 3 additions and 3 deletions

View File

@ -2015,7 +2015,7 @@ int fit_image_load_index(bootm_headers_t *images, ulong addr,
return -EINVAL;
}
printf("%d >= %d, OK\n", this_index, min_index);
printf("%d >= %d(min), OK\n", this_index, min_index);
#endif
}
bootstage_mark(BOOTSTAGE_ID_FIT_CONFIG);

View File

@ -437,7 +437,7 @@ static int spl_internal_load_simple_fit(struct spl_image_info *spl_image,
}
spl_image->rollback_index = this_index;
printf("rollback index: %d >= %d, OK\n", this_index, min_index);
printf("rollback index: %d >= %d(min), OK\n", this_index, min_index);
#endif
#endif

View File

@ -1068,7 +1068,7 @@ int fit_check_format(const void *fit);
int fit_conf_find_compat(const void *fit, const void *fdt);
int fit_conf_get_node(const void *fit, const char *conf_uname);
int fit_rollback_index_verify(const void *fit, uint32_t rollback_fd,
uint32_t *this_index, uint32_t *min_index);
uint32_t *fit_index, uint32_t *otp_index);
/**
* fit_conf_get_prop_node() - Get node refered to by a configuration