Tom Rini 1975a3b1f6 test: lmb: Rework lib_test_lmb_max_regions test to scale
First, this test depends on CONFIG_LMB_USE_MAX_REGIONS, so add that as a
test before building. Second, instead of using a hard-coded value of 8,
which is the default of CONFIG_LMB_USE_MAX_REGIONS previously, use that
directly and update the comments. The only trick here is that one part
of the test itself also was written with the value of 8 itself in mind.
Rework the size of the lmb region we allocate to scale with the value of
CONFIG_LMB_USE_MAX_REGIONS.

Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-02-08 14:09:39 -05:00
..
2020-10-30 10:56:11 -04:00
2019-04-22 18:13:21 -04:00
2022-08-10 13:38:30 -04:00
2022-08-10 13:38:30 -04:00
2021-04-08 15:37:29 +08:00
2022-08-10 13:38:30 -04:00
2020-03-12 08:20:39 -04:00
2021-10-08 15:53:26 -04:00