aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc/cros_ec_sandbox.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-03-15 18:11:07 +1300
committerSimon Glass <sjg@chromium.org>2021-03-27 15:04:31 +1300
commit5d8c37910d87828e914262991de7d5599d63692a (patch)
tree71b03fa908fb63a1115163fcd494123df2d6daff /drivers/misc/cros_ec_sandbox.c
parent539db6ab09c06ff052dac6c585ec1eaf3f1d6dc8 (diff)
sandbox: Only delete the executable if requested
At present sandbox removes its executable after failing to run it, since there is no other way that it would get cleaned up. However, this is actually only wanted if the image was created within sandbox. For the case where the image was generated by the build system, such as u-boot-spl, we don't want to delete it. Handle the two code paths accordingly. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/misc/cros_ec_sandbox.c')
0 files changed, 0 insertions, 0 deletions