<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/fs/fat, branch v2014.01</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/fs/fat?h=v2014.01</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/fs/fat?h=v2014.01'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2013-11-08T20:25:13Z</updated>
<entry>
<title>fs:fat: fix set file name function</title>
<updated>2013-11-08T20:25:13Z</updated>
<author>
<name>Piotr Wilczek</name>
<email>p.wilczek@samsung.com</email>
</author>
<published>2013-10-11T13:43:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=73dc8328c3d842c9093d358dad61d4fd8b3fa2c5'/>
<id>urn:sha1:73dc8328c3d842c9093d358dad61d4fd8b3fa2c5</id>
<content type='text'>
Curently memcpy copies string without null terminating char because
function strlen returns only number of characters excluding
null terminating character. Replace memcpy with strcpy.

Signed-off-by: Piotr Wilczek &lt;p.wilczek@samsung.com&gt;
Signed-off-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
CC: Tom Rini &lt;trini@ti.com&gt;
</content>
</entry>
<entry>
<title>fs: convert makefiles to Kbuild style</title>
<updated>2013-10-31T17:26:01Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.m@jp.panasonic.com</email>
</author>
<published>2013-10-17T08:34:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=35c792754c0feb894781e1eee6ab6b6624beb309'/>
<id>urn:sha1:35c792754c0feb894781e1eee6ab6b6624beb309</id>
<content type='text'>
Signed-off-by: Masahiro Yamada &lt;yamada.m@jp.panasonic.com&gt;
</content>
</entry>
<entry>
<title>fs: fat: don't call disk_write with zero sector num</title>
<updated>2013-09-06T17:09:07Z</updated>
<author>
<name>Wu, Josh</name>
<email>Josh.wu@atmel.com</email>
</author>
<published>2013-07-24T09:55:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6b8f185faf29db302a20f584cc54253667535f08'/>
<id>urn:sha1:6b8f185faf29db302a20f584cc54253667535f08</id>
<content type='text'>
In the set_cluster() function, it will convert the buffer size to sector
numbers. Then call disk_write() to write by sector.
For remaining buffer, the size is less than a sector, call disk_write()
again to write them in one sector.

But if the total buffer size is less then one sector, the original code
will call disk_write() with zero sector number. It is unnecessary.
So this patch fix this. Now it will not call disk_write() if total buffer size
is less than one sector.

Signed-off-by: Josh Wu &lt;josh.wu@atmel.com&gt;
</content>
</entry>
<entry>
<title>Add GPL-2.0+ SPDX-License-Identifier to source files</title>
<updated>2013-07-24T13:44:38Z</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2013-07-08T07:37:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1a4596601fd395f3afb8f82f3f840c5e00bdd57a'/>
<id>urn:sha1:1a4596601fd395f3afb8f82f3f840c5e00bdd57a</id>
<content type='text'>
Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini &lt;trini@ti.com&gt;
</content>
</entry>
<entry>
<title>fs/fat: Don't multiply fatsize with sector size</title>
<updated>2013-05-01T20:24:02Z</updated>
<author>
<name>Egbert Eich</name>
<email>eich@suse.com</email>
</author>
<published>2013-04-09T21:11:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=bc8d98713f10582f4e35b9208f1b967c6a9f9953'/>
<id>urn:sha1:bc8d98713f10582f4e35b9208f1b967c6a9f9953</id>
<content type='text'>
Bugfix:
Here at this place we need the fat size in sectors not bytes.
This was found during code review when adding support for storage
devices with blocksizes != 512.

Signed-off-by: Egbert Eich &lt;eich@suse.com&gt;
</content>
</entry>
<entry>
<title>fs: Move ls and read methods into ext4, fat</title>
<updated>2013-03-04T19:19:56Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2012-12-26T09:53:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e6d5241534486effa116bf685f7707041492ec7b'/>
<id>urn:sha1:e6d5241534486effa116bf685f7707041492ec7b</id>
<content type='text'>
It doesn't make a lot of sense to have these methods in fs.c. They are
filesystem-specific, not generic code. Add each to the relevant
filesystem and remove the associated #ifdefs in fs.c.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Tom Rini &lt;trini@ti.com&gt;
</content>
</entry>
<entry>
<title>FAT: remove ifdefs to make the code more readable</title>
<updated>2013-02-04T14:05:47Z</updated>
<author>
<name>Richard Genoud</name>
<email>richard.genoud@gmail.com</email>
</author>
<published>2012-12-13T03:30:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=cb940c7ede85994847c80f4300f2f7eac6e94c48'/>
<id>urn:sha1:cb940c7ede85994847c80f4300f2f7eac6e94c48</id>
<content type='text'>
ifdefs in the code are making it harder to read.
The use of simple if(vfat_enabled) makes no more code and is cleaner.
(the code is discarded by the compiler instead of the preprocessor.)
NB: if -O0 is used, the code won't be discarded

and bonus, now the code compiles even if CONFIG_SUPPORT_VFAT is not
defined.

Signed-off-by: Richard Genoud &lt;richard.genoud@gmail.com&gt;
</content>
</entry>
<entry>
<title>FAT: use toupper/tolower instead of recoding them</title>
<updated>2013-02-04T14:05:46Z</updated>
<author>
<name>Richard Genoud</name>
<email>richard.genoud@gmail.com</email>
</author>
<published>2012-12-13T00:47:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=fb7e16cc1c1f5d5bb212118b89218b2e706226b2'/>
<id>urn:sha1:fb7e16cc1c1f5d5bb212118b89218b2e706226b2</id>
<content type='text'>
toupper/tolower function are already declared, so use them.

Signed-off-by: Richard Genoud &lt;richard.genoud@gmail.com&gt;
Acked-by: Marek Vasut &lt;marex@denx.de&gt;
Acked-by: Stefano Babic &lt;sbabic@denx.de&gt;
</content>
</entry>
<entry>
<title>vfat: Fix mkcksum argument sizes</title>
<updated>2013-01-31T19:43:01Z</updated>
<author>
<name>Marek Vasut</name>
<email>marex@denx.de</email>
</author>
<published>2013-01-11T03:35:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6ad77d88e57f6ab815ec7e85c5ac329054318c73'/>
<id>urn:sha1:6ad77d88e57f6ab815ec7e85c5ac329054318c73</id>
<content type='text'>
In case a function argument is known/fixed size array in C, the argument is
still decoyed as pointer instead ( T f(U n[k]) ~= T fn(U *n) ) and therefore
calling sizeof on the function argument will result in the size of the pointer,
not the size of the array.

The VFAT code contains such a bug, this patch fixes it.

Reported-by: Aaron Williams &lt;Aaron.Williams@cavium.com&gt;
Signed-off-by: Marek Vasut &lt;marex@denx.de&gt;
Cc: Tom Rini &lt;tom.rini@gmail.com&gt;
Cc: Aaron Williams &lt;Aaron.Williams@cavium.com&gt;
Tested-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
Reviewed-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
</content>
</entry>
<entry>
<title>fs: separate CONFIG_FS_{FAT, EXT4} from CONFIG_CMD_{FAT, EXT*}</title>
<updated>2012-10-29T21:21:19Z</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@nvidia.com</email>
</author>
<published>2012-10-22T06:43:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=03e2ecf6b83e43803f7eed9547d0973b7eb1c8fc'/>
<id>urn:sha1:03e2ecf6b83e43803f7eed9547d0973b7eb1c8fc</id>
<content type='text'>
This makes the FAT and ext4 filesystem implementations build if
CONFIG_FS_{FAT,EXT4} are defined, rather than basing the build on
whether CONFIG_CMD_{FAT,EXT*} are defined. This will allow the
filesystems to be built separately from the filesystem-specific commands
that use them. This paves the way for the creation of filesystem-generic
commands that used the filesystems, without requiring the filesystem-
specific commands.

Minor documentation changes are made for this change.

The new config options are automatically selected by the old config
options to retain backwards-compatibility.

Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Reviewed-by: Benoît Thébaudeau &lt;benoit.thebaudeau@advansee.com&gt;
</content>
</entry>
</feed>
