diff options
author | Simon Glass <sjg@chromium.org> | 2014-02-27 13:26:23 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-03-17 20:05:49 -0600 |
commit | ab839dc3e6c1d07bc926199f3eebace0804f2ecf (patch) | |
tree | 831168b1d78c5ba25177e8baa78fad1c285b4a2e /include/sandboxblockdev.h | |
parent | ffb87905cb3883c84598b87ca05384c17d59dee1 (diff) | |
download | u-boot-imx-ab839dc3e6c1d07bc926199f3eebace0804f2ecf.zip u-boot-imx-ab839dc3e6c1d07bc926199f3eebace0804f2ecf.tar.gz u-boot-imx-ab839dc3e6c1d07bc926199f3eebace0804f2ecf.tar.bz2 |
sandbox: Add options to clean up temporary files
When jumping from one sandbox U-Boot to another in sandbox, the RAM buffer
is preserved in the jump by using a temporary file. Add an option to tell
the receiving U-Boot to remove this file when it is no longer needed.
Similarly the old U-Boot image is left behind in this case. We cannot delete
it immediately since gdb cannot then find its debug symbols. Delete it just
before exiting.
Together these changes ensure that temporary files are removed both for
memory and U-Boot.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/sandboxblockdev.h')
0 files changed, 0 insertions, 0 deletions