Firefly 026d48e85a [u-boot] fdt: prevent clearing memory node if there are no banks
Avoid clearing the reg property in the memory DT node if no memory
banks have been specified for a board (CONFIG_NR_DRAM_BANKS == 0).
This allows boards to let U-Boot skip the DT memory tinkering in case
other firmware has already setup the node properly before.
This should be safe as all callers of fdt_fixup_memory_banks that use
a computed <banks> value put at least 1 in there.
Add some documentation comments to the header file.

Signed-off-by: Firefly <service@t-firefly.com>
Acked-by: Firefly <service@t-firefly.com>
2015-12-31 16:56:25 +08:00
2015-12-31 16:54:23 +08:00
2015-08-12 17:49:21 +08:00
2015-08-12 17:49:41 +08:00
Description
No description provided
6.2 GiB