[U-Boot] [PATCH] fdtdec: Support parsing multiple /memory nodes

Lothar Waßmann LW at KARO-electronics.de
Wed Nov 29 13:23:28 UTC 2017


Hi,

On Wed, 29 Nov 2017 03:45:45 +0100 Marek Vasut wrote:
> It is legal to have multiple /memory nodes in a device tree . Currently,
> fdtdec_setup_memory_size() only supports parsing the first node . This
> patch extends the function such that if a particular /memory node does
> no longer have further "reg" entries and CONFIG_NR_DRAM_BANKS still
> allows for more DRAM banks, the code moves on to the next memory node
> and checks it's "reg"s. This makes it possible to handle both systems
>
<nit>
s/it's/its/
</nit>


Lothar Waßmann


More information about the U-Boot mailing list