[U-Boot] [U-Boot, v2] fdt_support: Check for bank size before updating memory node

Tom Rini trini at konsulko.com
Fri Nov 13 02:31:22 CET 2015


On Sat, Oct 24, 2015 at 04:52:24PM +0530, Lokesh Vutla wrote:

> In case if one of the bank that is passed is of size zero, then u-boot
> will be updating memory node with a bank of size zero. There is no need
> to update memory node if size is zero, so check for bank size before
> updating.
> 
> Reviewed-by: Tom Rini <trini at konsulko.com>
> Signed-off-by: Lokesh Vutla <lokeshvutla at ti.com>
> Acked-by: Simon Glass <sjg at chromium.org>

So, I thought about this more, and looked at device trees, more, and
concluded, we're stuck with the interface we have.  Today there's still
many boards (such as the whole Beaglebone family!) that are setting
incorrect sizes in the DTS but being correctly fixed up.  We'll need to
continue with the other tricks that can be done to pass in more memory
in the memory node.

-- 
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/20151112/e56b1fc9/attachment.sig>


More information about the U-Boot mailing list