]> git.sur5r.net Git - u-boot/commit
fdt: Fixup only valid memory banks
authorThierry Reding <treding@nvidia.com>
Tue, 30 Jan 2018 10:34:17 +0000 (11:34 +0100)
committerSimon Glass <sjg@chromium.org>
Sun, 18 Feb 2018 19:53:38 +0000 (12:53 -0700)
commit6d29cc7dcf2d35966aa0b6119fd1cbca0d21d5e6
tree975964f8f78831085d7f597493d3aea645e19ea5
parent4280342adb2d72d6242ec1ffbb723af380b31586
fdt: Fixup only valid memory banks

Memory banks with address 0 and size 0 are empty and should not be
passed to the OS via device tree.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
common/fdt_support.c