diff options
| author | Sean Anderson <[email protected]> | 2023-11-08 11:48:36 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-11-16 13:49:13 -0500 |
| commit | 517e70856f0fcbb9c84de0414430086bea0008ee (patch) | |
| tree | 36bc7dd2672f8c7c7910a1e9ee8570010bb28eed /include/stdio_dev.h | |
| parent | 06b1bca69d355f3f03f3607d03ee308e012ebed2 (diff) | |
spl: semihosting: Don't close fd before spl_load_simple_fit
On real hardware, semihosting calls tend to have a large constant
overhead (on the order of tens of milliseconds). Reduce the number of
calls by one by reusing the existing fd in smh_fit_read, and closing it
at the end of spl_smh_load_image.
Signed-off-by: Sean Anderson <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'include/stdio_dev.h')
0 files changed, 0 insertions, 0 deletions
