summaryrefslogtreecommitdiff
path: root/arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c
diff options
context:
space:
mode:
authorSughosh Ganu <sughosh.ganu@linaro.org>2025-04-23 17:01:23 +0530
committerTom Rini <trini@konsulko.com>2025-04-28 13:25:55 -0600
commit23e7088dde1a182bbc6b75bc642ee789f23429b2 (patch)
tree3ac333faa717e967fa9a05dd1780ea3cb627aee1 /arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c
parent1c07d22ebee96ae9c113f5674c3c134a899426ff (diff)
lmb: use a different bit position for LMB_NOMAP
The LMB memory region attributes flags are used to specify the behaviour of the memory regions with respect to allocations -- for e.g. it is allowed to re-allocate a memory region already reserved with the LMB_NONE flag. The flags use values with different bit positions through the BIT() macro. Move the LMB_NOMAP value to bit position 1, and also move the other flags accordingly. Using bit position 0 for LMB_NOMAP results in the logic in lmb_print_region_flags() to break, which prints an incorrect value for the regions with LMB_NOMAP atribute. Fixes: 3d56c06551d ("lmb: Move enum lmb_flags to a u32") Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c')
0 files changed, 0 insertions, 0 deletions