[PATCH] lmb: use a different bit position for LMB_NOMAP
Tom Rini
trini at konsulko.com
Mon Apr 28 23:34:01 CEST 2025
On Wed, 23 Apr 2025 17:01:23 +0530, Sughosh Ganu wrote:
> 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.
>
> [...]
Applied to u-boot/master, thanks!
[1/1] lmb: use a different bit position for LMB_NOMAP
commit: 23e7088dde1a182bbc6b75bc642ee789f23429b2
--
Tom
More information about the U-Boot
mailing list