<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/common/usb_storage.c, branch v2011.12</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<entry>
<title>GCC4.6: Squash subsequent warnings in usb_storage.c</title>
<updated>2011-10-27T21:54:03+00:00</updated>
<author>
<name>Marek Vasut</name>
<email>marek.vasut@gmail.com</email>
</author>
<published>2011-10-25T09:39:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4b210e8bcfd3c256edcb20ea850b58fe2b5921fe'/>
<id>4b210e8bcfd3c256edcb20ea850b58fe2b5921fe</id>
<content type='text'>
usb_storage.c: In function â€˜us_one_transferâ€™:
usb_storage.c:377:7: warning: format â€˜%Xâ€™ expects argument of type â€˜unsigned
intâ€™, but argument 2 has type â€˜long unsigned intâ€™ [-Wformat]
usb_storage.c:389:6: warning: format â€˜%dâ€™ expects argument of type â€˜intâ€™, but
argument 2 has type â€˜long unsigned intâ€™ [-Wformat]
usb_storage.c:394:6: warning: format â€˜%dâ€™ expects argument of type â€˜intâ€™, but
argument 2 has type â€˜long unsigned intâ€™ [-Wformat]
usb_storage.c: In function â€˜usb_stor_BBB_resetâ€™:
usb_storage.c:442:2: warning: format â€˜%Xâ€™ expects argument of type â€˜unsigned
intâ€™, but argument 3 has type â€˜long unsigned intâ€™ [-Wformat]
usb_storage.c:448:2: warning: format â€˜%Xâ€™ expects argument of type â€˜unsigned
intâ€™, but argument 3 has type â€˜long unsigned intâ€™ [-Wformat]
usb_storage.c:454:2: warning: format â€˜%Xâ€™ expects argument of type â€˜unsigned
intâ€™, but argument 3 has type â€˜long unsigned intâ€™ [-Wformat]
usb_storage.c: In function â€˜usb_stor_CB_resetâ€™:
usb_storage.c:482:2: warning: format â€˜%Xâ€™ expects argument of type â€˜unsigned
intâ€™, but argument 3 has type â€˜long unsigned intâ€™ [-Wformat]
usb_storage.c: In function â€˜usb_stor_CB_comdatâ€™:
usb_storage.c:572:3: warning: format â€˜%Xâ€™ expects argument of type â€˜unsigned
intâ€™, but argument 3 has type â€˜long unsigned intâ€™ [-Wformat]
usb_storage.c:584:4: warning: format â€˜%Xâ€™ expects argument of type â€˜unsigned
intâ€™, but argument 3 has type â€˜long unsigned intâ€™ [-Wformat]
usb_storage.c: In function â€˜usb_stor_BBB_transportâ€™:
usb_storage.c:782:3: warning: format â€˜%dâ€™ expects argument of type â€˜intâ€™, but
argument 3 has type â€˜long unsigned intâ€™ [-Wformat]
usb_storage.c: In function â€˜usb_stor_CB_transportâ€™:
usb_storage.c:807:2: warning: format â€˜%Xâ€™ expects argument of type â€˜unsigned
intâ€™, but argument 3 has type â€˜long unsigned intâ€™ [-Wformat]
usb_storage.c:830:3: warning: format â€˜%Xâ€™ expects argument of type â€˜unsigned
intâ€™, but argument 2 has type â€˜long unsigned intâ€™ [-Wformat]
usb_storage.c:857:3: warning: format â€˜%dâ€™ expects argument of type â€˜intâ€™, but
argument 2 has type â€˜long unsigned intâ€™ [-Wformat]

Signed-off-by: Marek Vasut &lt;marek.vasut@gmail.com&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Cc: Mike Frysinger &lt;vapier@gentoo.org&gt;
Cc: Remy Bohmer &lt;linux@bohmer.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
usb_storage.c: In function â€˜us_one_transferâ€™:
usb_storage.c:377:7: warning: format â€˜%Xâ€™ expects argument of type â€˜unsigned
intâ€™, but argument 2 has type â€˜long unsigned intâ€™ [-Wformat]
usb_storage.c:389:6: warning: format â€˜%dâ€™ expects argument of type â€˜intâ€™, but
argument 2 has type â€˜long unsigned intâ€™ [-Wformat]
usb_storage.c:394:6: warning: format â€˜%dâ€™ expects argument of type â€˜intâ€™, but
argument 2 has type â€˜long unsigned intâ€™ [-Wformat]
usb_storage.c: In function â€˜usb_stor_BBB_resetâ€™:
usb_storage.c:442:2: warning: format â€˜%Xâ€™ expects argument of type â€˜unsigned
intâ€™, but argument 3 has type â€˜long unsigned intâ€™ [-Wformat]
usb_storage.c:448:2: warning: format â€˜%Xâ€™ expects argument of type â€˜unsigned
intâ€™, but argument 3 has type â€˜long unsigned intâ€™ [-Wformat]
usb_storage.c:454:2: warning: format â€˜%Xâ€™ expects argument of type â€˜unsigned
intâ€™, but argument 3 has type â€˜long unsigned intâ€™ [-Wformat]
usb_storage.c: In function â€˜usb_stor_CB_resetâ€™:
usb_storage.c:482:2: warning: format â€˜%Xâ€™ expects argument of type â€˜unsigned
intâ€™, but argument 3 has type â€˜long unsigned intâ€™ [-Wformat]
usb_storage.c: In function â€˜usb_stor_CB_comdatâ€™:
usb_storage.c:572:3: warning: format â€˜%Xâ€™ expects argument of type â€˜unsigned
intâ€™, but argument 3 has type â€˜long unsigned intâ€™ [-Wformat]
usb_storage.c:584:4: warning: format â€˜%Xâ€™ expects argument of type â€˜unsigned
intâ€™, but argument 3 has type â€˜long unsigned intâ€™ [-Wformat]
usb_storage.c: In function â€˜usb_stor_BBB_transportâ€™:
usb_storage.c:782:3: warning: format â€˜%dâ€™ expects argument of type â€˜intâ€™, but
argument 3 has type â€˜long unsigned intâ€™ [-Wformat]
usb_storage.c: In function â€˜usb_stor_CB_transportâ€™:
usb_storage.c:807:2: warning: format â€˜%Xâ€™ expects argument of type â€˜unsigned
intâ€™, but argument 3 has type â€˜long unsigned intâ€™ [-Wformat]
usb_storage.c:830:3: warning: format â€˜%Xâ€™ expects argument of type â€˜unsigned
intâ€™, but argument 2 has type â€˜long unsigned intâ€™ [-Wformat]
usb_storage.c:857:3: warning: format â€˜%dâ€™ expects argument of type â€˜intâ€™, but
argument 2 has type â€˜long unsigned intâ€™ [-Wformat]

Signed-off-by: Marek Vasut &lt;marek.vasut@gmail.com&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Cc: Mike Frysinger &lt;vapier@gentoo.org&gt;
Cc: Remy Bohmer &lt;linux@bohmer.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>GCC4.6: Squash warning in usb_storage.c</title>
<updated>2011-10-27T21:54:03+00:00</updated>
<author>
<name>Marek Vasut</name>
<email>marek.vasut@gmail.com</email>
</author>
<published>2011-10-25T09:39:16+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=86bd3ff8fd31fc1b4ef6334ea3f0c10ae2ee6c90'/>
<id>86bd3ff8fd31fc1b4ef6334ea3f0c10ae2ee6c90</id>
<content type='text'>
usb_storage.c: In function â€˜usb_stor_CB_resetâ€™:
usb_storage.c:466:6: warning: variable â€˜resultâ€™ set but not used
[-Wunused-but-set-variable]

Signed-off-by: Marek Vasut &lt;marek.vasut@gmail.com&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Cc: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
usb_storage.c: In function â€˜usb_stor_CB_resetâ€™:
usb_storage.c:466:6: warning: variable â€˜resultâ€™ set but not used
[-Wunused-but-set-variable]

Signed-off-by: Marek Vasut &lt;marek.vasut@gmail.com&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Cc: Mike Frysinger &lt;vapier@gentoo.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "GCC4.6: Convert various empty macros to inline functions"</title>
<updated>2011-10-04T19:19:19+00:00</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2011-10-04T19:19:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f092f15d39d1a223b240eb83dc3f4c64a02a8ea6'/>
<id>f092f15d39d1a223b240eb83dc3f4c64a02a8ea6</id>
<content type='text'>
This reverts commit 60ce53cf9f408d9ad721f8e7a87d6a564e6d5bac.

The commit causes build breakage for a number of boards. This results
from the fact that now the arguments of debug() actually get
referenced (even if there is hope that the compiler will optimize
away the debug() call).  The obvious fix to that probem (change the
code to always declare the referenced variables and data structures)
increases the code size, and was this rejected.  So it was decided to
revert this commit until a better solution is found.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 60ce53cf9f408d9ad721f8e7a87d6a564e6d5bac.

The commit causes build breakage for a number of boards. This results
from the fact that now the arguments of debug() actually get
referenced (even if there is hope that the compiler will optimize
away the debug() call).  The obvious fix to that probem (change the
code to always declare the referenced variables and data structures)
increases the code size, and was this rejected.  So it was decided to
revert this commit until a better solution is found.
</pre>
</div>
</content>
</entry>
<entry>
<title>GCC4.6: Convert various empty macros to inline functions</title>
<updated>2011-10-01T21:25:18+00:00</updated>
<author>
<name>Marek Vasut</name>
<email>marek.vasut@gmail.com</email>
</author>
<published>2011-09-26T17:36:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=60ce53cf9f408d9ad721f8e7a87d6a564e6d5bac'/>
<id>60ce53cf9f408d9ad721f8e7a87d6a564e6d5bac</id>
<content type='text'>
Fix the following gcc4.6 problems:

cmd_date.c: In function â€˜do_dateâ€™:
cmd_date.c:50:6: warning: variable â€˜old_busâ€™ set but not used
[-Wunused-but-set-variable]
asix.c: In function â€˜asix_initâ€™:
asix.c:317:6: warning: variable â€˜rx_ctlâ€™ set but not used
[-Wunused-but-set-variable]
usb.c: In function â€˜usb_parse_configâ€™:
usb.c:331:17: warning: variable â€˜châ€™ set but not used
[-Wunused-but-set-variable]
usb.c: In function â€˜usb_hub_port_connect_changeâ€™:
usb.c:1123:29: warning: variable â€˜portchangeâ€™ set but not used
[-Wunused-but-set-variable]
usb.c: In function â€˜usb_hub_configureâ€™:
usb.c:1183:25: warning: variable â€˜hubstsâ€™ set but not used
[-Wunused-but-set-variable]
usb_storage.c: In function â€˜usb_stor_CB_resetâ€™:
usb_storage.c:466:6: warning: variable â€˜resultâ€™ set but not used
[-Wunused-but-set-variable]

Signed-off-by: Marek Vasut &lt;marek.vasut@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix the following gcc4.6 problems:

cmd_date.c: In function â€˜do_dateâ€™:
cmd_date.c:50:6: warning: variable â€˜old_busâ€™ set but not used
[-Wunused-but-set-variable]
asix.c: In function â€˜asix_initâ€™:
asix.c:317:6: warning: variable â€˜rx_ctlâ€™ set but not used
[-Wunused-but-set-variable]
usb.c: In function â€˜usb_parse_configâ€™:
usb.c:331:17: warning: variable â€˜châ€™ set but not used
[-Wunused-but-set-variable]
usb.c: In function â€˜usb_hub_port_connect_changeâ€™:
usb.c:1123:29: warning: variable â€˜portchangeâ€™ set but not used
[-Wunused-but-set-variable]
usb.c: In function â€˜usb_hub_configureâ€™:
usb.c:1183:25: warning: variable â€˜hubstsâ€™ set but not used
[-Wunused-but-set-variable]
usb_storage.c: In function â€˜usb_stor_CB_resetâ€™:
usb_storage.c:466:6: warning: variable â€˜resultâ€™ set but not used
[-Wunused-but-set-variable]

Signed-off-by: Marek Vasut &lt;marek.vasut@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>disk/part.c: Make features optional</title>
<updated>2011-07-26T12:10:14+00:00</updated>
<author>
<name>Matthew McClintock</name>
<email>msm@freescale.com</email>
</author>
<published>2011-05-24T05:31:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=df3fc52608daa1e10332f59cd2f226ba400d1c98'/>
<id>df3fc52608daa1e10332f59cd2f226ba400d1c98</id>
<content type='text'>
If we don't want to build support for any partition types we can now
add #undef CONFIG_PARTITIONS in a board config file to keep this from
being compiled in. Otherwise boards assume this is compiled in by
default

Signed-off-by: Matthew McClintock &lt;msm@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If we don't want to build support for any partition types we can now
add #undef CONFIG_PARTITIONS in a board config file to keep this from
being compiled in. Otherwise boards assume this is compiled in by
default

Signed-off-by: Matthew McClintock &lt;msm@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix misc spelling errors found by lintian</title>
<updated>2011-04-12T20:58:31+00:00</updated>
<author>
<name>LoÃ¯c Minier</name>
<email>loic.minier@linaro.org</email>
</author>
<published>2011-02-03T21:04:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6052cbab40e927f94bcb034f1b4c76a18d6729e1'/>
<id>6052cbab40e927f94bcb034f1b4c76a18d6729e1</id>
<content type='text'>
Signed-off-by: Loïc Minier &lt;loic.minier@linaro.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Loïc Minier &lt;loic.minier@linaro.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unnecessary reset in usb_stor_get_info</title>
<updated>2011-04-02T07:38:24+00:00</updated>
<author>
<name>Erik Hansen</name>
<email>erik@makarta.com</email>
</author>
<published>2011-03-24T14:06:24+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=56887e27aee57db866a877e60a9141caa32d4636'/>
<id>56887e27aee57db866a877e60a9141caa32d4636</id>
<content type='text'>
The reset request in usb_stor_get_info is causing issues with some usb
sticks. Some of these sticks vendor_id/product_id have been hardcoded to
not reset but better is to remove the reset altogether. It is not needed.

Signed-off-by: Erik Hansen &lt;erik@makarta.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The reset request in usb_stor_get_info is causing issues with some usb
sticks. Some of these sticks vendor_id/product_id have been hardcoded to
not reset but better is to remove the reset altogether. It is not needed.

Signed-off-by: Erik Hansen &lt;erik@makarta.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>usb_storage: constify us_direction lookup table</title>
<updated>2010-10-22T19:41:46+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2010-10-20T11:16:04+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2ff12285426b02dd7e13f2cb2fda53800dce741c'/>
<id>2ff12285426b02dd7e13f2cb2fda53800dce741c</id>
<content type='text'>
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>usb: Add support for multiple-LUN mass storage devices</title>
<updated>2010-10-13T10:07:58+00:00</updated>
<author>
<name>Ludovic CourtÃ¨s</name>
<email>ludo@gnu.org</email>
</author>
<published>2010-10-05T20:04:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=99e9ed1f49b31cc7c3b8f5d2c322b2eb26dd2a29'/>
<id>99e9ed1f49b31cc7c3b8f5d2c322b2eb26dd2a29</id>
<content type='text'>
This patch changes `usb_stor_scan' to scan all the LUNs of each mass
storage device.  It also fixes the various commands to correctly set
the LUN field.

Notably, it allows each LUN of GuruPlug's microSD card reader to be
accessed.

Signed-off-by: Ludovic CourtÃ¨s &lt;ludo@gnu.org&gt;
Acked-by: Prafulla Wadaskar &lt;prafulla@marvell.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch changes `usb_stor_scan' to scan all the LUNs of each mass
storage device.  It also fixes the various commands to correctly set
the LUN field.

Notably, it allows each LUN of GuruPlug's microSD card reader to be
accessed.

Signed-off-by: Ludovic CourtÃ¨s &lt;ludo@gnu.org&gt;
Acked-by: Prafulla Wadaskar &lt;prafulla@marvell.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>usb_storage.c: change progress output in debug() message</title>
<updated>2010-07-24T18:53:50+00:00</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2010-07-19T09:36:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=226fa9bb9ed7e3f0642cb47b26bef44ca7b9d7b9'/>
<id>226fa9bb9ed7e3f0642cb47b26bef44ca7b9d7b9</id>
<content type='text'>
The dots printed by common/usb_storage.c as progress meter corrupt the
output for example of "fatls usb" commands like this:

=&gt; fatls usb 0
.			&lt;&lt;==== here
       29   file.001
       29   file.002
       29   file.003
       29   file.004
       29   file.005
       29   file.006
       29   file.007
       29   file.008
       29   file.009
       29   file.010
       29   file.011
       29   file.012
       29   file.013
       29   file.014
       29   file.015
       29   file.016
.			&lt;&lt;==== here
       29   file.017
       29   file.018
       29   file.019
...

Turn the progress output into a debug message.

Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
Cc: Remy Bohmer &lt;linux@bohmer.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The dots printed by common/usb_storage.c as progress meter corrupt the
output for example of "fatls usb" commands like this:

=&gt; fatls usb 0
.			&lt;&lt;==== here
       29   file.001
       29   file.002
       29   file.003
       29   file.004
       29   file.005
       29   file.006
       29   file.007
       29   file.008
       29   file.009
       29   file.010
       29   file.011
       29   file.012
       29   file.013
       29   file.014
       29   file.015
       29   file.016
.			&lt;&lt;==== here
       29   file.017
       29   file.018
       29   file.019
...

Turn the progress output into a debug message.

Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
Cc: Remy Bohmer &lt;linux@bohmer.net&gt;
</pre>
</div>
</content>
</entry>
</feed>
