Re: [PATCH] lmb: Fix LMB_MEMORY_REGIONS flag usage

2022-08-10 Thread Tom Rini
On Tue, Aug 02, 2022 at 10:21:35AM +0200, Patrice Chotard wrote: > This patch is fixing a broken boot observed on stm32mp157c-dk2 board. > > IS_ENABLED macro should be used to check if a compilation flag is set > to "y" or "m". > LMB_MEMORY_REGIONS is set to a numerical value, IS_ENABLED macro is

Re: [PATCH] lmb: Fix LMB_MEMORY_REGIONS flag usage

2022-08-02 Thread Tom Rini
On Tue, Aug 02, 2022 at 10:21:35AM +0200, Patrice Chotard wrote: > This patch is fixing a broken boot observed on stm32mp157c-dk2 board. > > IS_ENABLED macro should be used to check if a compilation flag is set > to "y" or "m". > LMB_MEMORY_REGIONS is set to a numerical value, IS_ENABLED macro is

Re: [PATCH] lmb: Fix LMB_MEMORY_REGIONS flag usage

2022-08-02 Thread Michal Simek
On 8/2/22 10:21, Patrice Chotard wrote: This patch is fixing a broken boot observed on stm32mp157c-dk2 board. IS_ENABLED macro should be used to check if a compilation flag is set to "y" or "m". LMB_MEMORY_REGIONS is set to a numerical value, IS_ENABLED macro is not suitable in this case. Fi