Re: [PATCH v6 04/25] spl: semihosting: Don't close fd before spl_load_simple_fit

2023-11-07 Thread Simon Glass
On Sun, 5 Nov 2023 at 19:26, Sean Anderson wrote: > > On real hardware, semihosting calls tends 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

[PATCH v6 04/25] spl: semihosting: Don't close fd before spl_load_simple_fit

2023-11-05 Thread Sean Anderson
On real hardware, semihosting calls tends 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 --- Changes in v6: -