]> git.baikalelectronics.ru Git - uboot.git/commit
lmb: add lmb_is_reserved_flags
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Fri, 7 May 2021 12:50:30 +0000 (14:50 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 7 Jun 2021 14:48:40 +0000 (10:48 -0400)
commitabef9fff3f655b4c7a41e2ed38b150752e726475
tree90fcf2541a1902a7a3be3ec425ffbeb517c8f9b9
parent0425c4dab9826f3535a05133a5763dc4bf4e06ae
lmb: add lmb_is_reserved_flags

Add a new function lmb_is_reserved_flags to check if
an address is reserved with a specific flags.

This function can be used to check if an address was
reserved with no-map flags with:

lmb_is_reserved_flags(lmb, addr, LMB_NOMAP);

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
include/lmb.h
lib/lmb.c