From: yegorslists at googlemail.com <yegorslists@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC] FIT: use default configuration, if given configuration is not found
Date: Mon, 4 May 2015 09:53:26 +0200 [thread overview]
Message-ID: <1430726006-13474-2-git-send-email-yegorslists@googlemail.com> (raw)
In-Reply-To: <1430726006-13474-1-git-send-email-yegorslists@googlemail.com>
From: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
common/image-fit.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/common/image-fit.c b/common/image-fit.c
index c61be65..b892d06 100644
--- a/common/image-fit.c
+++ b/common/image-fit.c
@@ -1547,6 +1547,10 @@ int fit_image_load(bootm_headers_t *images, ulong addr,
} else {
cfg_noffset = fit_conf_get_node(fit,
fit_uname_config);
+
+ if (cfg_noffset < 0) {
+ cfg_noffset = fit_conf_get_node(fit, NULL);
+ }
}
if (cfg_noffset < 0) {
puts("Could not find configuration node\n");
--
1.7.7
next prev parent reply other threads:[~2015-05-04 7:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-04 7:53 [U-Boot] FIT: workarounding wrong configuration name yegorslists at googlemail.com
2015-05-04 7:53 ` yegorslists at googlemail.com [this message]
2015-05-04 18:16 ` [U-Boot] [RFC] FIT: use default configuration, if given configuration is not found Joe Hershberger
2015-05-12 6:43 ` Yegor Yefremov
2015-05-12 20:18 ` Joe Hershberger
2015-05-12 20:41 ` Yegor Yefremov
2015-05-12 20:46 ` Joe Hershberger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1430726006-13474-2-git-send-email-yegorslists@googlemail.com \
--to=yegorslists@googlemail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.