[U-Boot] [PATCH 4/5] usb: gadget: f_sdp: Allow SPL to load and boot FIT via SDP

Fabio Estevam festevam at gmail.com
Mon Jun 3 19:17:27 UTC 2019


Hi Sjoerd,

On Mon, Jun 3, 2019 at 4:02 PM Sjoerd Simons
<sjoerd.simons at collabora.co.uk> wrote:
>
> From: Frieder Schrempf <frieder.schrempf at kontron.de>
>
> Add support for loading u-boot FIT images over the USB SPD protocol in
> the SPL
>
> [Small fixes to build]

Applied this patch against U-Boot master and it still does not build
for me when using mx6sabresd_defconfig:

cmd/usb_gadget_sdp.c: In function ‘do_sdp’:
cmd/usb_gadget_sdp.c:35:2: error: too few arguments to function ‘sdp_handle’
  sdp_handle(controller_index);
  ^~~~~~~~~~
In file included from cmd/usb_gadget_sdp.c:11:0:
include/sdp.h:15:5: note: declared here
 int sdp_handle(int controller_index, struct spl_image_info *spl_image);
     ^~~~~~~~~~
scripts/Makefile.build:278: recipe for target 'cmd/usb_gadget_sdp.o' failed
make[1]: *** [cmd/usb_gadget_sdp.o] Error


More information about the U-Boot mailing list