From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] image-fdt: boot_get_fdt() return value when no DTB exists
Date: Wed, 3 Dec 2014 13:21:36 -0500 [thread overview]
Message-ID: <20141203182136.GU20704@bill-the-cat> (raw)
In-Reply-To: <1413987469-26139-1-git-send-email-noamc@ezchip.com>
On Wed, Oct 22, 2014 at 05:17:49PM +0300, Noam Camus wrote:
> From: Noam Camus <noamc@ezchip.com>
>
> I believe that when no DTB is around we should return 1.
> This why I fixed such scenarious to not return zero anymore.
> Else kernel might get NULL pointer to DTB which doesn't exists.
>
> Signed-off-by: Noam Camus <noamc@ezchip.com>
It has been found that this change breaks the case of an appended device
tree file, so for the problem in question some other solution must be
found.
This reverts commit c6150aaf2f2745141a7c2ceded58d7efbfeace7d.
Reported-by: Bill Pringlemeir <bpringlemeir@nbsps.com>
Reported-by: Pantelis Antoniou <panto@antoniou-consulting.com>
Confirmed-by: Bill Pringlemeir <bpringlemeir@nbsps.com>
Signed-off-by: Tom Rini <trini@ti.com>
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141203/0544273a/attachment.pgp>
prev parent reply other threads:[~2014-12-03 18:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-22 14:17 [U-Boot] [PATCH] image-fdt: boot_get_fdt() return value when no DTB exists Noam Camus
2014-10-22 16:48 ` Tom Rini
2014-10-22 17:15 ` Alexey Brodkin
2014-10-22 17:33 ` Tom Rini
2014-11-10 21:26 ` [U-Boot] " Tom Rini
2014-12-03 18:21 ` Tom Rini [this message]
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=20141203182136.GU20704@bill-the-cat \
--to=trini@ti.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox