Skip to content
Commit 5e2548c1 authored by Patrice Chotard's avatar Patrice Chotard Committed by Tom Rini
Browse files

lmb: Fix LMB_MEMORY_REGIONS flag usage



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: 7c1860fc ("lmb: Fix lmb property's defination under struct lmb")
Signed-off-by: default avatarPatrice Chotard <patrice.chotard@foss.st.com>
Acked-by: default avatarMichal Simek <michal.simek@amd.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent c252fa5c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment