On 20 June 2015 at 17:29, Andre Przywara <[email protected]> wrote: > 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: Andre Przywara <[email protected]> > --- > Hi Tom, > > if you haven't applied the last version of this patch, consider using > this version instead, which has Rob's comment addressed (bailing out > early). > > Cheers, > Andre. > > common/fdt_support.c | 3 +++ > include/fdt_support.h | 26 ++++++++++++++++++++++++++ > 2 files changed, 29 insertions(+)
I almost applied v1 which was assigned to me in patchwork. I'll pick up just this patch (not 2/2). Acked-by: Simon Glass <[email protected]> _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

