From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 3 Dec 2014 13:21:36 -0500 Subject: [U-Boot] image-fdt: boot_get_fdt() return value when no DTB exists In-Reply-To: <1413987469-26139-1-git-send-email-noamc@ezchip.com> References: <1413987469-26139-1-git-send-email-noamc@ezchip.com> Message-ID: <20141203182136.GU20704@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Oct 22, 2014 at 05:17:49PM +0300, Noam Camus wrote: > From: Noam Camus > > 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 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 Reported-by: Pantelis Antoniou Confirmed-by: Bill Pringlemeir Signed-off-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: