On Sun, 5 Nov 2023 at 19:26, Sean Anderson <sean...@gmail.com> 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 spl_smh_load_image.
>
> Signed-off-by: Sean Anderson <sean...@gmail.com>
> ---
>
> Changes in v6:
> - New
>
>  common/spl/spl_semihosting.c | 20 ++++++++------------
>  1 file changed, 8 insertions(+), 12 deletions(-)

Reviewed-by: Simon Glass <s...@chromium.org>

Reply via email to