mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-06-09 23:36:03 +09:00
tools: image: fix node name of signature node in FIT
Both "conf_name" and "sig_name" point to the name of config node. The latter should be the name of the signature node. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
3aca4a44f8
commit
16067e6b87
|
@ -513,7 +513,7 @@ static int fit_config_get_data(void *fit, int conf_noffset, int noffset,
|
|||
int ret, len;
|
||||
|
||||
conf_name = fit_get_name(fit, conf_noffset, NULL);
|
||||
sig_name = fit_get_name(fit, conf_noffset, NULL);
|
||||
sig_name = fit_get_name(fit, noffset, NULL);
|
||||
debug("%s: conf='%s', sig='%s'\n", __func__, conf_name, sig_name);
|
||||
|
||||
/* Get a list of nodes we want to hash */
|
||||
|
|
Loading…
Reference in New Issue
Block a user