Skip to content
Commit a88b18ed authored by Sughosh Ganu's avatar Sughosh Ganu Committed by Tom Rini
Browse files

test: lmb: tweak the tests for the persistent lmb memory map



The LMB memory maps are now persistent, with alloced lists being used
to keep track of the available and free memory. Make corresponding
changes in the test functions so that the list information can be
accessed by the tests for checking against expected values. Also
introduce functions to initialise and cleanup the lists. These
functions will be invoked from every test to start the memory map from
a clean slate.

Signed-off-by: default avatarSughosh Ganu <sughosh.ganu@linaro.org>
Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
[sjg: Use a stack to store pointer of lmb struct when running lmb tests]
parent c3597a19
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment