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

2017-12-07 Thread Simon Glass
Hi, On 29 November 2017 at 06:08, Simon Glass wrote: > On 28 November 2017 at 19:45, 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

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

2017-11-29 Thread Lothar Waßmann
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 fu

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

2017-11-29 Thread Simon Glass
On 28 November 2017 at 19:45, 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 "re

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

2017-11-28 Thread Marek Vasut
On 11/29/2017 03:58 AM, Tom Rini wrote: > On Wed, Nov 29, 2017 at 03:45:45AM +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

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

2017-11-28 Thread Tom Rini
On Wed, Nov 29, 2017 at 03:45:45AM +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

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

2017-11-28 Thread Marek Vasut
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