Being able to upload u-boot over USB is rather useful, so ideally this functionality should be enabled by the default config for these boards. Currently however no USB support is built into the SPL nor is SDP enabled for i.MX6 Sabre Auto boards.
This round only has the patches needed for SDP support, the somewhat unrelated fixes have been been sent seperately (but without the u-boot image will fail to boot). And ofcourse fixes the build problem reported by Fabio. The first patch drops SPL DM support as there is no way to fit that *and* USB support in at the momenT. The seconds patch enabled USB & SPL SDP support for the board. Patch three adds support for loading FIT images over SDP as that is what is in use for the Sabre auto's main u-boot image. Patchset tested by using uuu with the following configuration: ``` uuu_version 1.2 SDP: boot -f SPL SDPU: write -f u-boot-dtb.img -addr 0x10000000 SDPU: jump -addr 0x10000000 SDPU: done ``` Changes in v2: - Fix build with CMD_USB_SDP - Add SoB from Frieder Schrempf Frieder Schrempf (1): usb: gadget: f_sdp: Allow SPL to load and boot FIT via SDP Sjoerd Simons (2): mx6sabreauto: Remove CONFIG_SPL_DM to decrease the SPL size mx6sabreauto: Enable SPL SDP support common/spl/spl_sdp.c | 12 +++++--- configs/mx6sabreauto_defconfig | 4 ++- drivers/usb/gadget/f_sdp.c | 53 ++++++++++++++++++++++++++++++---- include/sdp.h | 9 +++++- 4 files changed, 66 insertions(+), 12 deletions(-) -- 2.20.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot