]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: Handle use of stack pointer in bdinfo
authorSimon Glass <sjg@chromium.org>
Mon, 2 Oct 2023 01:15:16 +0000 (19:15 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 13 Dec 2023 23:39:05 +0000 (18:39 -0500)
commit80a8a2ebb34b4c2b99e41370ab42b8ed70ef2df5
treeb9e9db24e15217a460eb2343aad5bd2d142d81ba
parent07073d2bebf22e9b260cd041222079363a000cb7
test: Handle use of stack pointer in bdinfo

This test assumes that the stack pointer is the same across two calls
to lmb_init_and_reserve() but this is not the case on x86, for example.

Add a special case to handle this, along with a detailed comment.

Signed-off-by: Simon Glass <sjg@chromium.org>
test/cmd/bdinfo.c