]> git.baikalelectronics.ru Git - uboot.git/commit
lmb: add a max parameter in the struct lmb_region
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Wed, 10 Mar 2021 09:16:27 +0000 (10:16 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 22 Apr 2021 18:09:45 +0000 (14:09 -0400)
commita260a442e7009c0a79827ce04fe85baa15cd38a7
treeef20e639671e0727dee0454f6aa01311ae140097
parent99e307ea06e73b73f2eab6231fd35081feb5cb4b
lmb: add a max parameter in the struct lmb_region

Add a max parameter in lmb_region struct to handle test
in lmb_add_region without using the MAX_LMB_REGIONS
define.

This patch allows to modify these size independently for
memory of reserved regions in the next patches.

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