commit | 7dafd02ce911ada502c1c9692cc33ca468fd34ff | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Nov 15 18:44:05 2018 -0700 |
committer | Tom Rini <trini@konsulko.com> | Mon Nov 26 08:25:36 2018 -0500 |
tree | b3663e4b3c5e3c8c4c18596528d4bfb58a0456ea | |
parent | bf5c486a6da8a2b9221e9cf89ed03cee0359fb68 [diff] |
sandbox: Refactor code to create os_jump_to_file() At present os_jump_to_image() jumps to a given image, and this is written to a file. But it is useful to be able to jump to a file also. To avoid duplicating code, split out the implementation of os_jump_to_image() into a new function that jumps to a file. Signed-off-by: Simon Glass <sjg@chromium.org>