diff options
author | Simon Glass <sjg@chromium.org> | 2019-12-28 10:45:04 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-01-17 14:02:35 -0500 |
commit | 220a3a44a339a32b3dae13122ec85ccaede5d988 (patch) | |
tree | d679a24b3030851f27f83c7678a0228582e2b544 /drivers/usb | |
parent | 8e8ccfe1aa1a3ea0cb88b4438c7a687fcf8632a1 (diff) | |
download | u-boot-220a3a44a339a32b3dae13122ec85ccaede5d988.tar.gz |
common: Rename and move source()
This function has a very generic name which does not adequately describe
its purpose. Rename it and move it to image.h, since it relates to reading
a script from an image.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/gadget/f_sdp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/f_sdp.c b/drivers/usb/gadget/f_sdp.c index bcd1c5d47c..50836db4a0 100644 --- a/drivers/usb/gadget/f_sdp.c +++ b/drivers/usb/gadget/f_sdp.c @@ -726,7 +726,7 @@ static void sdp_handle_in_ep(struct spl_image_info *spl_image) jump_to_image_no_args(&spl_image); #else /* In U-Boot, allow jumps to scripts */ - source(sdp_func->jmp_address, "script@1"); + image_source_script(sdp_func->jmp_address, "script@1"); #endif } |