<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/fs/cbfs, branch v2022.04</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/fs/cbfs?h=v2022.04</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/fs/cbfs?h=v2022.04'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2022-01-19T17:11:34Z</updated>
<entry>
<title>doc: replace @return by Return:</title>
<updated>2022-01-19T17:11:34Z</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>heinrich.schuchardt@canonical.com</email>
</author>
<published>2022-01-19T17:05:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=185f812c419f1b4f0d10d9787d59cf9f11a2a600'/>
<id>urn:sha1:185f812c419f1b4f0d10d9787d59cf9f11a2a600</id>
<content type='text'>
Sphinx expects Return: and not @return to indicate a return value.

find . -name '*.c' -exec \
sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \;

find . -name '*.h' -exec \
sed -i 's/^\(\s\)\*\(\s*\)@return\(\s\)/\1*\2Return:\3/' {} \;

Signed-off-by: Heinrich Schuchardt &lt;heinrich.schuchardt@canonical.com&gt;
</content>
</entry>
<entry>
<title>cbfs: Check offset range when reading a file</title>
<updated>2021-07-15T22:42:05Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2021-05-14T01:39:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=99eaf1fcaa260dceea25ed25830498abf70f0728'/>
<id>urn:sha1:99eaf1fcaa260dceea25ed25830498abf70f0728</id>
<content type='text'>
Add a check that the offset is within the allowed range.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reported-by: Coverity (CID: 331155)
</content>
</entry>
<entry>
<title>cbfs: Drop unnecessary cast in file_cbfs_fill_cache()</title>
<updated>2021-03-27T00:59:37Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2021-03-15T05:00:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ad66323a58cb6279aa9e8ba521a4daf25d0cbe79'/>
<id>urn:sha1:ad66323a58cb6279aa9e8ba521a4daf25d0cbe79</id>
<content type='text'>
The results of malloc() are a void * and so this cast is unnecessary. Drop
it.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>cbfs: Support reading compression information</title>
<updated>2021-03-27T00:59:37Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2021-03-15T05:00:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a202f17d7bc2a51af53352c6e21d6a70d167effe'/>
<id>urn:sha1:a202f17d7bc2a51af53352c6e21d6a70d167effe</id>
<content type='text'>
CBFS now supports compressed filed. Add support for reading this
information so that the correct decompression can be applied. The
decompression itself is not implemented in CBFS.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>cbfs: Simplify file iteration</title>
<updated>2021-03-27T00:59:37Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2021-03-15T05:00:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0e2fee52d0fba6ceb455c7969eecb2cf73031267'/>
<id>urn:sha1:0e2fee52d0fba6ceb455c7969eecb2cf73031267</id>
<content type='text'>
In file_cbfs_next_file() there is a lot of complicated code to move to
the next file. Use the ALIGN() macros to simplify this.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>cbfs: Factor out filling a cache node into a new function</title>
<updated>2021-03-27T00:59:37Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2021-03-15T05:00:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=70a394a6b6437e18e67edfd7054302b830e1fe6a'/>
<id>urn:sha1:70a394a6b6437e18e67edfd7054302b830e1fe6a</id>
<content type='text'>
The file_cbfs_next_file() function is already fairly long. Before
expanding it further, move the core part into a separate function.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>cbfs: Allow file traversal with any CBFS</title>
<updated>2021-03-27T00:59:37Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2021-03-15T05:00:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c4f5b5dcc31b5aee37dabbadc998fcf695885157'/>
<id>urn:sha1:c4f5b5dcc31b5aee37dabbadc998fcf695885157</id>
<content type='text'>
The file traversal functions currently use a single global CBFS. In some
cases we need to access multiple CBFSs to obtain different files. Add new
functions to support this.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>cbfs: Allow access to CBFS without a header</title>
<updated>2021-03-27T00:59:37Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2021-03-15T05:00:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5536f1285fd2f9ec3e177d6e74b7eb73c6821c8b'/>
<id>urn:sha1:5536f1285fd2f9ec3e177d6e74b7eb73c6821c8b</id>
<content type='text'>
In some cases CBFS does not start with a header but is just a collection
of files. It is possible to support this so long as the size of the CBFS
is provided.

Update the cbfs_init_mem() function to support this.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>cbfs: Rename new_node to node</title>
<updated>2021-03-27T00:59:37Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2021-03-15T05:00:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=11a38a2573fa6a765043df94eae44544a0d948f4'/>
<id>urn:sha1:11a38a2573fa6a765043df94eae44544a0d948f4</id>
<content type='text'>
Rename this variable since there is no need to distinguish it from an old
node.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>cbfs: Add support for attributes</title>
<updated>2021-03-27T00:59:37Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2021-03-15T05:00:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=72ca4859784227138a42d924678222d68fc20484'/>
<id>urn:sha1:72ca4859784227138a42d924678222d68fc20484</id>
<content type='text'>
CBFS now supports attributes for things that cannot fit in the header as
originally conceived. Add the structures for these.

Also rename attributes_offset to something shorter, to ease code
readability.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
