[PATCH] lmb: Fix LMB_MEMORY_REGIONS flag usage

Tom Rini trini at konsulko.com
Tue Aug 2 14:36:04 CEST 2022


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 not
> suitable in this case.
> 
> Fixes: 7c1860fce4e3 ("lmb: Fix lmb property's defination under struct lmb")
> Signed-off-by: Patrice Chotard <patrice.chotard at foss.st.com>

Reviewed-by: Tom Rini <trini at konsulko.com>

And I'll pick this up in a bit, thanks.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220802/0ed089b4/attachment.sig>


More information about the U-Boot mailing list