<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/usb/gadget, branch v2018.03</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/usb/gadget?h=v2018.03</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/usb/gadget?h=v2018.03'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2018-02-21T19:28:15Z</updated>
<entry>
<title>dfu: Rename _FUNCTION_DFU to DFU_OVER_</title>
<updated>2018-02-21T19:28:15Z</updated>
<author>
<name>Marek Vasut</name>
<email>marek.vasut@gmail.com</email>
</author>
<published>2018-02-16T15:41:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=bb4059a53bc13615f12b5e21252872bf7e02dce4'/>
<id>urn:sha1:bb4059a53bc13615f12b5e21252872bf7e02dce4</id>
<content type='text'>
Do the following to make the symbol names less confusing.

sed -i "s/\([TU][^_]\+\)_FUNCTION_DFU/DFU_OVER_\1/g" \
	`git grep _FUNCTION_DFU | cut -d ":" -f 1 | sort -u`

Signed-off-by: Marek Vasut &lt;marek.vasut+renesas@gmail.com&gt;
Cc: Lukasz Majewski &lt;lukma@denx.de&gt;
</content>
</entry>
<entry>
<title>usb: gadget: sdp: fix pointer cast warnings for 64bit archs</title>
<updated>2018-02-21T19:28:15Z</updated>
<author>
<name>Andre Heider</name>
<email>a.heider@gmail.com</email>
</author>
<published>2018-02-15T09:17:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a64a614db70f1c758aea0a1620c4fcd49e037d47'/>
<id>urn:sha1:a64a614db70f1c758aea0a1620c4fcd49e037d47</id>
<content type='text'>
The SDP protocol contains multiple 32bit pointers. Add a helper function
to get a valid pointer from these values and use it.

This fixes the following warnings:

drivers/usb/gadget/f_sdp.c: In function ‘sdp_rx_data_complete’:
drivers/usb/gadget/f_sdp.c:347:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   memcpy((void *)sdp-&gt;dnl_address, req-&gt;buf + 1, datalen);
          ^
drivers/usb/gadget/f_sdp.c: In function ‘sdp_jump_imxheader’:
drivers/usb/gadget/f_sdp.c:625:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  entry = (void *)headerv2-&gt;entry;
          ^
drivers/usb/gadget/f_sdp.c: In function ‘sdp_handle_in_ep’:
drivers/usb/gadget/f_sdp.c:668:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   memcpy(&amp;data[1], (void *)sdp_func-&gt;dnl_address, datalen);
                    ^
drivers/usb/gadget/f_sdp.c:679:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   status = sdp_jump_imxheader((void *)sdp_func-&gt;jmp_address);
                               ^

Signed-off-by: Andre Heider &lt;a.heider@gmail.com&gt;
</content>
</entry>
<entry>
<title>usb: gadget: sdp: add missing line breaks</title>
<updated>2018-02-21T19:28:15Z</updated>
<author>
<name>Andre Heider</name>
<email>a.heider@gmail.com</email>
</author>
<published>2018-02-15T06:08:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=24ccd0c8fd6285636edb94d0ece2cbcf062d64eb'/>
<id>urn:sha1:24ccd0c8fd6285636edb94d0ece2cbcf062d64eb</id>
<content type='text'>
Cosmetic change.

Signed-off-by: Andre Heider &lt;a.heider@gmail.com&gt;
Reviewed-by: Lukasz Majewski &lt;lukma@denx.de&gt;
Acked-by: Stefan Agner &lt;stefan.agner@toradex.com&gt;
</content>
</entry>
<entry>
<title>usb: dwc2: make casts of ep-&gt;dma_buf consistent</title>
<updated>2018-02-05T17:09:43Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2018-02-05T14:51:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a4d403290e32f95cfd254f2778e08f655ddd5a49'/>
<id>urn:sha1:a4d403290e32f95cfd254f2778e08f655ddd5a49</id>
<content type='text'>
In most places in the code we cast this to an unsigned long, but in one
place we cast to an unsigned int.  For consistency and to fix a warning
on 64bit targets, always cast this to unsigned long.  For the long term
we should however change the declaration of dma_buf.

Cc: Philipp Tomsich &lt;philipp.tomsich@theobroma-systems.com&gt;
Acked-by: Lukasz Majewski &lt;lukma@denx.de&gt;
Acked-by: Marek Vasut &lt;marex@denx.de&gt;
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>Kconfig: gadget: Move CONFIG_USB_FUNCTION_MASS_STORAGE to Kconfig</title>
<updated>2018-02-02T12:13:48Z</updated>
<author>
<name>Lukasz Majewski</name>
<email>lukma@denx.de</email>
</author>
<published>2018-01-29T18:25:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4f60e5d3a82f7061d235c28eb3451b612fae43b5'/>
<id>urn:sha1:4f60e5d3a82f7061d235c28eb3451b612fae43b5</id>
<content type='text'>
This commit moves USB_FUNCTION_MASS_STORAGE config to Kconfig.

Signed-off-by: Lukasz Majewski &lt;lukma@denx.de&gt;
Reviewed-by: Jaehoon Chung &lt;jh80.chung@samsung.com&gt;
</content>
</entry>
<entry>
<title>Kconfig: gadget: Move CONFIG_USB_FUNCTION_THOR to Kconfig</title>
<updated>2018-02-02T12:13:48Z</updated>
<author>
<name>Lukasz Majewski</name>
<email>lukma@denx.de</email>
</author>
<published>2018-01-29T18:30:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c6c1ca100feaddd0003723f8a06102db1e521412'/>
<id>urn:sha1:c6c1ca100feaddd0003723f8a06102db1e521412</id>
<content type='text'>
This commit moves USB_FUNCTION_THOR config to Kconfig.

Signed-off-by: Lukasz Majewski &lt;lukma@denx.de&gt;
Acked-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
Reviewed-by: Jaehoon Chung &lt;jh80.chung@samsung.com&gt;
</content>
</entry>
<entry>
<title>Kconfig: usb: Sort USB_FUNCTION_* entries</title>
<updated>2018-02-02T12:13:48Z</updated>
<author>
<name>Lukasz Majewski</name>
<email>lukma@denx.de</email>
</author>
<published>2018-01-29T18:21:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b76965958c511065cd46ec4be88d862ab65cf06f'/>
<id>urn:sha1:b76965958c511065cd46ec4be88d862ab65cf06f</id>
<content type='text'>
Lets provide alphabetical order for USB_FUNCTION_* entries of
USB_GADGET_DOWNLOAD

Signed-off-by: Lukasz Majewski &lt;lukma@denx.de&gt;
</content>
</entry>
<entry>
<title>usb: rockchip: add the rockusb gadget</title>
<updated>2018-01-10T10:11:05Z</updated>
<author>
<name>Eddie Cai</name>
<email>eddie.cai.linux@gmail.com</email>
</author>
<published>2017-12-15T00:17:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=bf2b72bef14b0ad47337e1636434aefc7ebb67f8'/>
<id>urn:sha1:bf2b72bef14b0ad47337e1636434aefc7ebb67f8</id>
<content type='text'>
this patch implement rockusb protocol on the device side. this is based on
USB download gadget infrastructure. the rockusb function implements the rd,
wl, rid commands. it can work with rkdeveloptool

Signed-off-by: Eddie Cai &lt;eddie.cai.linux@gmail.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>Trigger watchdog before calling usb_gadget_handle_interrupts</title>
<updated>2017-11-26T01:22:36Z</updated>
<author>
<name>Vincent Prince</name>
<email>vincent.prince.fr@gmail.com</email>
</author>
<published>2017-10-23T09:16:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8171dac00dfcb4c67ad2e4aafaf28fe91d9c5368'/>
<id>urn:sha1:8171dac00dfcb4c67ad2e4aafaf28fe91d9c5368</id>
<content type='text'>
This prevents board resets when calling sdp command on boards which have a watchdog.

Signed-off-by: Vincent Prince &lt;vincent.prince.fr@gmail.com&gt;
Reviewed-by: Lukasz Majewski &lt;lukma@denx.de&gt;
Reviewed-by: Stefan Agner &lt;stefan.agner@toradex.com&gt;
</content>
</entry>
<entry>
<title>usb: gadget: storage: Increase FSG_BUFLEN</title>
<updated>2017-11-26T01:22:36Z</updated>
<author>
<name>Marek Vasut</name>
<email>marex@denx.de</email>
</author>
<published>2017-10-19T19:45:53Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a8c402f45c758235916615757ac537db8e96fc31'/>
<id>urn:sha1:a8c402f45c758235916615757ac537db8e96fc31</id>
<content type='text'>
Increase the buffer length to be just above maximum permissible value
of 128 kiB . This increases the performance of the UMS and alike by a
factor of 2 - 2.5 as the buffers are less fragmented.

Signed-off-by: Marek Vasut &lt;marex@denx.de&gt;
Cc: Lukasz Majewski &lt;lukma@denx.de&gt;
</content>
</entry>
</feed>
