summaryrefslogtreecommitdiff
path: root/lib/efi_loader/helloworld.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-02-08 13:39:18 -0500
committerTom Rini <trini@konsulko.com>2023-02-08 14:09:39 -0500
commit1975a3b1f66e27ec9004213bb3d8c5f2f67b10c1 (patch)
tree0eca91b4779698c5d3ea8193019e991b421d092a /lib/efi_loader/helloworld.c
parent948d3999bfcdf91ef7a10c3eee9c763ed1323bd2 (diff)
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>
Diffstat (limited to 'lib/efi_loader/helloworld.c')
0 files changed, 0 insertions, 0 deletions