diff options
| author | Simon Glass <[email protected]> | 2024-10-21 10:19:32 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-10-25 14:22:24 -0600 |
| commit | 9252b7f867f7638ba3f6af85058fee7b3993222d (patch) | |
| tree | 5db5b0530ab0d4daae478bc798d372e79d2e3478 /test/cmd | |
| parent | 1c30f7a844fbedfa6b08bfab9e2ad98088ce1967 (diff) | |
meminfo: Show the lmb records
Add the lmb records onto the end of the memory map.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'test/cmd')
| -rw-r--r-- | test/cmd/meminfo.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/cmd/meminfo.c b/test/cmd/meminfo.c index 84981305bf0..53b41e3b49e 100644 --- a/test/cmd/meminfo.c +++ b/test/cmd/meminfo.c @@ -30,7 +30,11 @@ static int cmd_test_meminfo(struct unit_test_state *uts) ut_assert_nextlinen("bootstage"); ut_assert_nextlinen("bloblist"); ut_assert_nextlinen("stack"); - ut_assert_nextlinen("free"); + + /* we expect at least one lmb line, but don't know how many */ + ut_assert_nextlinen("lmb"); + ut_assert_skip_to_linen("free"); + ut_assert_console_end(); return 0; |
