diff options
| author | Patrice Chotard <[email protected]> | 2022-08-02 10:21:35 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-08-10 13:38:30 -0400 |
| commit | 5e2548c1d6e0331edbf94edcfc95d55b5e9a6cab (patch) | |
| tree | 688a7495be70cf38dd466eed66dddc8e8f8e4efd /include/command.h | |
| parent | c252fa5cdbb421bbcca750866e5c5f9f6c8c1c34 (diff) | |
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: 7c1860fce4e3 ("lmb: Fix lmb property's defination under struct lmb")
Signed-off-by: Patrice Chotard <[email protected]>
Acked-by: Michal Simek <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'include/command.h')
0 files changed, 0 insertions, 0 deletions
