summaryrefslogtreecommitdiff
path: root/drivers/ddr/imx/phy/ddrphy_utils.c
diff options
context:
space:
mode:
authorSean Anderson <seanga2@gmail.com>2023-11-08 11:48:36 -0500
committerTom Rini <trini@konsulko.com>2023-11-16 13:49:13 -0500
commit517e70856f0fcbb9c84de0414430086bea0008ee (patch)
tree36bc7dd2672f8c7c7910a1e9ee8570010bb28eed /drivers/ddr/imx/phy/ddrphy_utils.c
parent06b1bca69d355f3f03f3607d03ee308e012ebed2 (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 <seanga2@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/ddr/imx/phy/ddrphy_utils.c')
0 files changed, 0 insertions, 0 deletions