Re: [PATCH v2 1/2] lmb: Fix LMB_MEMORY_REGIONS flag usage

2023-04-07 Thread Tom Rini
On Wed, Mar 22, 2023 at 07:12:25PM +0100, Patrick Delaunay wrote: > Remove test on CONFIG_LMB_MEMORY_REGIONS introduced by commit > 7c1860fce4e3 ("lmb: Fix lmb property's defination under struct lmb"). > > This code in lmb_init() is strange, because if CONFIG_LMB_USE_MAX_REGIONS > and CONFIG_LMB_

Re: [PATCH v2 1/2] lmb: Fix LMB_MEMORY_REGIONS flag usage

2023-03-23 Thread Michal Simek
On 3/22/23 19:12, Patrick Delaunay wrote: Remove test on CONFIG_LMB_MEMORY_REGIONS introduced by commit 7c1860fce4e3 ("lmb: Fix lmb property's defination under struct lmb"). This code in lmb_init() is strange, because if CONFIG_LMB_USE_MAX_REGIONS and CONFIG_LMB_MEMORY_REGIONS are not defined

[PATCH v2 1/2] lmb: Fix LMB_MEMORY_REGIONS flag usage

2023-03-22 Thread Patrick Delaunay
Remove test on CONFIG_LMB_MEMORY_REGIONS introduced by commit 7c1860fce4e3 ("lmb: Fix lmb property's defination under struct lmb"). This code in lmb_init() is strange, because if CONFIG_LMB_USE_MAX_REGIONS and CONFIG_LMB_MEMORY_REGIONS are not defined, the implicit #else is empty and the required