<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/lib/Makefile, branch master</title>
<subtitle>Broadcom-s U-Boot</subtitle>
<id>https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/'/>
<updated>2019-06-21T14:07:11Z</updated>
<entry>
<title>lib: Makefile: build fdtdec_common.c when OF_LIBFDT selected</title>
<updated>2019-06-21T14:07:11Z</updated>
<author>
<name>Peng Fan</name>
</author>
<published>2019-06-06T07:59:16Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=d3329f09c7ab6f38a5b481d244f7e96af4a429e8'/>
<id>urn:sha1:d3329f09c7ab6f38a5b481d244f7e96af4a429e8</id>
<content type='text'>
When build SPL_OF_PLATDATA on i.MX6, meet issue the fdtdec_get_int
not defined, however fdtdec.c will use fdtdec_get_int, so let's
compile fdtdec_common.c when OF_LIBFDT selected.

Since there is also SPL_OF_LIBFDT, so need to use
CONFIG_$(SPL_TPL_)OF_LIBFDT.

Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
</content>
</entry>
<entry>
<title>lib: add Zstandard decompression support</title>
<updated>2019-05-05T12:48:50Z</updated>
<author>
<name>Marek Behún</name>
</author>
<published>2019-04-29T20:40:44Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=8509f22aacf04ae892e28c2df3a79c1d72c39c25'/>
<id>urn:sha1:8509f22aacf04ae892e28c2df3a79c1d72c39c25</id>
<content type='text'>
Add the zstd library from Linux kernel (only decompression support).
There are minimal changes to build with U-Boot, otherwise the files are
identical to Linux commit dc35da16 from March 2018, the files had not
been touched since in kernel. Also SPDX lincese tags were added.

Signed-off-by: Marek Behún &lt;marek.behun@nic.cz&gt;
</content>
</entry>
<entry>
<title>lib: Add xxhash support</title>
<updated>2019-05-05T12:48:50Z</updated>
<author>
<name>Marek Behún</name>
</author>
<published>2019-04-29T20:40:43Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=83a486b6fdb9cc0d009de75d304fb51156425215'/>
<id>urn:sha1:83a486b6fdb9cc0d009de75d304fb51156425215</id>
<content type='text'>
This adds the xxhash support from Linux. Files are almost identical to
those added to Linux in commit 5d240522 ("lib: Add xxhash module") (they
haven't been touched since in Linux). The only difference is to add some
includes to be compatible with U-Boot. Also SPDX lincese tags were
added.

Signed-off-by: Marek Behún &lt;marek.behun@nic.cz&gt;
</content>
</entry>
<entry>
<title>initcall: Move to inline function</title>
<updated>2019-02-09T12:50:58Z</updated>
<author>
<name>Alexander Graf</name>
</author>
<published>2019-01-31T15:06:23Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=47870afab92fca6e672c03d0dea802a55e200675'/>
<id>urn:sha1:47870afab92fca6e672c03d0dea802a55e200675</id>
<content type='text'>
The board_r init function was complaining that we are looping through
an array, calling all our tiny init stubs sequentially via indirect
function calls (which can't be speculated, so they are slow).

The solution to that is pretty easy though. All we need to do is inline
the function that loops through the functions and the compiler will
automatically convert almost all indirect calls into direct inlined code.

With this patch, the overall code size drops (by 40 bytes on riscv64)
and boot time should become measurably faster for every target.

Signed-off-by: Alexander Graf &lt;agraf@suse.de&gt;
</content>
</entry>
<entry>
<title>tftp: prevent overwriting reserved memory</title>
<updated>2019-01-17T04:15:53Z</updated>
<author>
<name>Simon Goldschmidt</name>
</author>
<published>2019-01-14T21:38:22Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=a156c47e39ad7d007c88919103ee0ee131c6203b'/>
<id>urn:sha1:a156c47e39ad7d007c88919103ee0ee131c6203b</id>
<content type='text'>
This fixes CVE-2018-18439 ("insufficient boundary checks in network
image boot") by using lmb to check for a valid range to store
received blocks.

Signed-off-by: Simon Goldschmidt &lt;simon.k.r.goldschmidt@gmail.com&gt;
Acked-by: Joe Hershberger &lt;joe.hershberger@ni.com&gt;
[trini: Always build lib/lmb.o on LMB and lib/fdtdec.o on OF_LIBFDT]
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>fdt: parse "reserved-memory" for memory reservation</title>
<updated>2019-01-16T21:37:03Z</updated>
<author>
<name>Simon Goldschmidt</name>
</author>
<published>2019-01-14T21:38:17Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=e2237a2c263783996a85b70ccbf1f967aa2ec182'/>
<id>urn:sha1:e2237a2c263783996a85b70ccbf1f967aa2ec182</id>
<content type='text'>
boot_fdt_add_mem_rsv_regions() adds reserved memory sections to an lmb
struct. Currently, it only parses regions described by /memreserve/
entries.

Extend this to the more commonly used scheme of the "reserved-memory"
node.

Signed-off-by: Simon Goldschmidt &lt;simon.k.r.goldschmidt@gmail.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>common: command: Add support for $ auto-completion</title>
<updated>2019-01-15T20:38:28Z</updated>
<author>
<name>Boris Brezillon</name>
</author>
<published>2018-12-05T08:26:50Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=03dcf17dba3dbd6f1cfe9ecaa0665ea8c11e0ef2'/>
<id>urn:sha1:03dcf17dba3dbd6f1cfe9ecaa0665ea8c11e0ef2</id>
<content type='text'>
Add the dollar_complete() function to auto-complete arguments starting
with a '$' and use it in the cmd_auto_complete() path such that all
args starting with a $ can be auto-completed based on the available env
vars.

Signed-off-by: Boris Brezillon &lt;boris.brezillon@bootlin.com&gt;
[trini: Fix some linking problems]
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>Roll CRC16-CCITT into the hash infrastructure</title>
<updated>2018-12-09T01:18:44Z</updated>
<author>
<name>Philipp Tomsich</name>
</author>
<published>2018-11-25T18:22:19Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=51c2345bd24837f9f67f16268da6dc71573f1325'/>
<id>urn:sha1:51c2345bd24837f9f67f16268da6dc71573f1325</id>
<content type='text'>
The CRC16-CCITT checksum function is useful for space-constrained
applications (such as obtaining a checksum across a 2KBit or 4KBit
EEPROM) in boot applications. It has not been accessible from boot
scripts until now (due to not having a dedicated command and not being
supported by the hash infrstructure) limiting its applicability
outside of custom commands.

This adds the CRC16-CCITT (poly 0x1021, init 0x0) algorithm to the
list of available hashes and adds a new crc16_ccitt_wd_buf() to make
this possible.

Signed-off-by: Philipp Tomsich &lt;philipp.tomsich@theobroma-systems.com&gt;
[trini: Fix building crc16.o for SPL/TPL]
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>efi_selftest: simplify lib/efi_selftest/Makefile</title>
<updated>2018-12-02T20:59:36Z</updated>
<author>
<name>Heinrich Schuchardt</name>
</author>
<published>2018-09-26T17:03:33Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=f6e7b65380ddebea6f31a8456042074f59c17c98'/>
<id>urn:sha1:f6e7b65380ddebea6f31a8456042074f59c17c98</id>
<content type='text'>
We should not make anything in lib/efi_selftest if
CONFIG_CMD_BOOTEFI_SELFTEST is not defined.

We can make that test in lib/Makefile

Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
Signed-off-by: Alexander Graf &lt;agraf@suse.de&gt;
</content>
</entry>
<entry>
<title>spl: lz4: Allow use of lz4 compression in SPL</title>
<updated>2018-11-21T02:14:22Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-11-06T22:21:30Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=048c6e895647c3337450405388bcd538f92e1e3d'/>
<id>urn:sha1:048c6e895647c3337450405388bcd538f92e1e3d</id>
<content type='text'>
In some cases U-Boot is compressed and it is useful to be able to
decompress it in SPL. Add a Kconfig and Makefile change to allow this.
Note that this does not actually implement decompression.

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