<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/include/asm-generic, 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-04-26T07:16:32Z</updated>
<entry>
<title>watchdog: Implement generic watchdog_reset() version</title>
<updated>2019-04-26T07:16:32Z</updated>
<author>
<name>Stefan Roese</name>
</author>
<published>2019-04-11T13:58:44Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=06985289d452ad2423145cfed8cece61a7f8cec6'/>
<id>urn:sha1:06985289d452ad2423145cfed8cece61a7f8cec6</id>
<content type='text'>
This patch tries to implement a generic watchdog_reset() function that
can be used by all boards that want to service the watchdog device in
U-Boot. This watchdog servicing is enabled via CONFIG_WATCHDOG.

Without this approach, new boards or platforms needed to implement a
board specific version of this functionality, mostly copy'ing the same
code over and over again into their board or platforms code base.

With this new generic function, the scattered other functions are now
removed to be replaced by the generic one. The new version also enables
the configuration of the watchdog timeout via the DT "timeout-sec"
property (if enabled via CONFIG_OF_CONTROL).

This patch also adds a new flag to the GD flags, to flag that the
watchdog is ready to use and adds the pointer to the watchdog device
to the GD. This enables us to remove the global "watchdog_dev"
variable, which was prone to cause problems because of its potentially
very early use in watchdog_reset(), even before the BSS is cleared.

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
Cc: Heiko Schocher &lt;hs@denx.de&gt;
Cc: Tom Rini &lt;trini@konsulko.com&gt;
Cc: Michal Simek &lt;michal.simek@xilinx.com&gt;
Cc: "Marek Behún" &lt;marek.behun@nic.cz&gt;
Cc: Daniel Schwierzeck &lt;daniel.schwierzeck@gmail.com&gt;
Cc: Maxim Sloyko &lt;maxims@google.com&gt;
Cc: Erik van Luijk &lt;evanluijk@interact.nl&gt;
Cc: Ryder Lee &lt;ryder.lee@mediatek.com&gt;
Cc: Weijie Gao &lt;weijie.gao@mediatek.com&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Cc: "Álvaro Fernández Rojas" &lt;noltari@gmail.com&gt;
Cc: Philippe Reynes &lt;philippe.reynes@softathome.com&gt;
Cc: Christophe Leroy &lt;christophe.leroy@c-s.fr&gt;
Reviewed-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
Tested-by: Michal Simek &lt;michal.simek@xilinx.com&gt; (on zcu100)
</content>
</entry>
<entry>
<title>dm: core: Change platform specific translation-offset handling</title>
<updated>2019-04-24T02:26:43Z</updated>
<author>
<name>Stefan Roese</name>
</author>
<published>2019-04-12T14:42:28Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=f2100f6f77212e2a5b3db165e84eed911be5c3f6'/>
<id>urn:sha1:f2100f6f77212e2a5b3db165e84eed911be5c3f6</id>
<content type='text'>
Testing has shown that the current DM implementation of a platform /
board specific translation offset, as its needed for the SPL on MVEBU
platforms is buggy. The translation offset is confingured too late,
after the driver bind functions are run. This may result in incorrect
address translations. With the current implementation its not possible
to configure the offset earlier, as the DM code has not run at all.

This patch now removed the set_/get_translation_offset() calls and
moves the translation offset into the GD variable translation_offset.
This variable will get used when CONFIG_TRANSLATION_OFFSET is enabled.
This option is enabled only for MVEBU on ARM32 platforms, where its
currenty needed and configured in the SPL.

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
Cc: Pierre Bourdon &lt;delroth@gmail.com&gt;
Cc: Baruch Siach &lt;baruch@tkos.co.il&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Cc: Heiko Schocher &lt;hs@denx.de&gt;
Cc: Tom Rini &lt;trini@konsulko.com&gt;
Tested-by: Pierre Bourdon &lt;delroth@gmail.com&gt;
Tested-by: Baruch Siach &lt;baruch@tkos.co.il&gt;
</content>
</entry>
<entry>
<title>lib: fdtdec: Add function re-setup the fdt more effeciently</title>
<updated>2018-12-10T06:21:21Z</updated>
<author>
<name>Jean-Jacques Hiblot</name>
</author>
<published>2018-12-07T13:50:52Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=f1d2bc9034053e7d8ad0e77b9a0399f451bb5b80'/>
<id>urn:sha1:f1d2bc9034053e7d8ad0e77b9a0399f451bb5b80</id>
<content type='text'>
In some cases it may be useful to be able to change the fdt we have been
using and use another one instead. For example, the TI platforms uses an
EEPROM to store board information and, based on the type of board,
different dtbs are used by the SPL. When DM_I2C is used, a first dtb must
be used before the I2C is initialized and only then the final dtb can be
selected.
To speed up the process and reduce memory usage, introduce a new function
fdtdec_setup_best_match() that re-use the DTBs loaded in memory by
fdtdec_setup() to select the best match.

Signed-off-by: Jean-Jacques Hiblot &lt;jjhiblot@ti.com&gt;
Reviewed-by: Heiko Schocher &lt;hs@denx.de&gt;
</content>
</entry>
<entry>
<title>pe.h: Add characteristics defines</title>
<updated>2018-12-02T20:59:36Z</updated>
<author>
<name>Bin Meng</name>
</author>
<published>2018-10-02T14:39:32Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=16c3da3fe965a43f8395472e335677c19c846468'/>
<id>urn:sha1:16c3da3fe965a43f8395472e335677c19c846468</id>
<content type='text'>
This adds characteristics macros as defined by the Microsoft PE
Format documentation [1].

[1] https://docs.microsoft.com/zh-cn/windows/desktop/Debug/pe-format

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
Signed-off-by: Alexander Graf &lt;agraf@suse.de&gt;
</content>
</entry>
<entry>
<title>spl: Add support for passing handoff info to U-Boot proper</title>
<updated>2018-11-26T13:25:37Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-11-16T01:44:09Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=b0edea3c27af3bf7b959fa190a7fe9d7881153c5'/>
<id>urn:sha1:b0edea3c27af3bf7b959fa190a7fe9d7881153c5</id>
<content type='text'>
There is some basic informaton that SPL normally wants to pass through to
U-Boot, such as the SDRAM size and bank information.

Mkae use of the new bloblist structure for this. Add a new 'handoff' blob
which is set up in SPL and passed to U-Boot proper. Also adda  test for
sandbox_spl that checks that this works correctly and a new 'sb' command
to show the information passed from SPL.

Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>bloblist: Locate bloblist in U-Boot</title>
<updated>2018-11-26T13:25:32Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-11-16T01:43:52Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=f0293d33b729955feb379aeab8a5e055c703526f'/>
<id>urn:sha1:f0293d33b729955feb379aeab8a5e055c703526f</id>
<content type='text'>
Add support for locating a bloblist in U-Boot that has been set up by SPL.
It is copied into RAM during relocation.

Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>Add include/asm-generic/atomic.h</title>
<updated>2018-09-26T01:49:18Z</updated>
<author>
<name>Chris Packham</name>
</author>
<published>2018-09-08T09:39:04Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=461f4568176b2dc2228f2a901f5c1a1b12a2ebc9'/>
<id>urn:sha1:461f4568176b2dc2228f2a901f5c1a1b12a2ebc9</id>
<content type='text'>
The arm, xtensa and mips version of atomic.h were already very similar
(the mips one was a copy of xtensa). Combine these implementations
together to produce a generic atomic.h that can be included by these
architectures (and any others that need it in future).

Signed-off-by: Chris Packham &lt;judge.packham@gmail.com&gt;
Reviewed-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>arch: types.h: factor out fixed width typedefs to int-ll64.h</title>
<updated>2018-09-11T00:48:16Z</updated>
<author>
<name>Masahiro Yamada</name>
</author>
<published>2018-08-06T11:47:39Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=3747bdbb2bb83a3bb2e7bd823856de4f4908f711'/>
<id>urn:sha1:3747bdbb2bb83a3bb2e7bd823856de4f4908f711</id>
<content type='text'>
All architectures have the same definition for s8/16/32/64
and u8/16/32/64.

Factor out the duplicated code into &lt;asm-generic/int-ll64.h&gt;.

BTW, Linux unified the kernel space definition into int-ll64.h
a few years ago as you see in Linux commit 0c79a8e29b5f
("asm/types.h: Remove include/asm-generic/int-l64.h").

Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
</content>
</entry>
<entry>
<title>u-boot: remove driver lookup loop from env_save()</title>
<updated>2018-07-30T11:18:47Z</updated>
<author>
<name>Nicholas Faustini</name>
</author>
<published>2018-07-23T08:01:07Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=d30ba2315ae3dbb886187b6871e9d35b0fb03a11'/>
<id>urn:sha1:d30ba2315ae3dbb886187b6871e9d35b0fb03a11</id>
<content type='text'>
When called with ENVOP_SAVE, env_get_location() only returns the
gd-&gt;env_load_location variable without actually checking for
the environment location and priority.

This behaviour causes env_save() to fall into an infinite loop when
the low-level drv-&gt;save() call fails.

The env_save() function should not loop through the environment
location list but it should save the environment into the location
stored in gd-&gt;env_load_location by the last env_load() call.

Signed-off-by: Nicholas Faustini &lt;nicholas.faustini@azcomtech.com&gt;
Reviewed-by: Simon Goldschmidt &lt;sgoldschmidt@de.pepperl-fuchs.com&gt;
</content>
</entry>
<entry>
<title>fdt: Add device tree memory bindings</title>
<updated>2018-07-09T15:11:00Z</updated>
<author>
<name>Michael Pratt</name>
</author>
<published>2018-06-11T19:07:09Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=90c08fa038451d6d7b7d8711bfd829b61d64c490'/>
<id>urn:sha1:90c08fa038451d6d7b7d8711bfd829b61d64c490</id>
<content type='text'>
Support a default memory bank, specified in reg, as well as
board-specific memory banks in subtree board-id nodes.

This allows memory information to be provided in the device tree,
rather than hard-coded in, which will make it simpler to handle
similar devices with different memory banks, as the board-id values
or masks can be used to match devices.

Signed-off-by: Michael Pratt &lt;mpratt@chromium.org&gt;
Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Vadim Bendebury &lt;vbendeb@chromium.org&gt;
</content>
</entry>
</feed>
