
29 Nov
2017
29 Nov
'17
2:23 p.m.
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