]> git.dujemihanovic.xyz Git - u-boot.git/commit
sandbox: Write out bloblist when exiting
authorSimon Glass <sjg@chromium.org>
Sat, 6 Feb 2021 16:57:34 +0000 (09:57 -0700)
committerTom Rini <trini@konsulko.com>
Tue, 2 Mar 2021 20:53:37 +0000 (15:53 -0500)
commit1c52fcca72b9338c1dd205520a83d1a954d3316a
tree638b0471a0f618b0d78ef97348a97c528e0146cd
parentb308d9fd18fa4b9beed880a6ad169e7ab003a62f
sandbox: Write out bloblist when exiting

Sandbox provides a way to write out its emulated memory on exit. This
makes it possible to pass a bloblist from one phase (e.g. SPL) to the
next.

However the bloblist is not closed off, so the checksum is generally
invalid. Fix this by finishing up the bloblist before writing the memory
file.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/state.c