<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/board/xilinx/microblaze-generic, branch master</title>
<subtitle>Broadcom-s U-Boot</subtitle>
<id>https://git.openwrt.org/project/bcm63xx/u-boot/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/project/bcm63xx/u-boot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.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.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>watchdog: Move watchdog_dev to data section (BSS may not be cleared)</title>
<updated>2019-04-08T13:21:39Z</updated>
<author>
<name>Stefan Roese</name>
</author>
<published>2019-04-03T07:12:48Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=ccd063e9812a2bdcbeafbbcd8dcb062bfc290f24'/>
<id>urn:sha1:ccd063e9812a2bdcbeafbbcd8dcb062bfc290f24</id>
<content type='text'>
This patch moves all instances of static "watchdog_dev" declarations to
the "data" section. This may be needed, as the BSS may not be cleared
in the early U-Boot phase, where watchdog_reset() is already beeing
called. This may result in incorrect pointer access, as the check to
"!watchdog_dev" in watchdog_reset() may not be true and the function
may continue to run.

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;
Tested-by: Michal Simek &lt;michal.simek@xilinx.com&gt; (on zcu100)
Reviewed-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
</content>
</entry>
<entry>
<title>microblaze: Use standard functions for memory decoding</title>
<updated>2018-11-26T09:50:55Z</updated>
<author>
<name>Michal Simek</name>
</author>
<published>2018-11-22T11:39:18Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=656185a5d725c32ebd65daf0a4d1e66dcb662591'/>
<id>urn:sha1:656185a5d725c32ebd65daf0a4d1e66dcb662591</id>
<content type='text'>
The standard function is less error prone than custom one.

Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
</content>
</entry>
<entry>
<title>microblaze: Add missing quotes around XILINX_MICROBLAZE0_HW_VER</title>
<updated>2018-08-06T06:44:35Z</updated>
<author>
<name>Michal Simek</name>
</author>
<published>2018-07-23T06:34:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=8a32077ea61fb0f300cc507876326f336b8b3bef'/>
<id>urn:sha1:8a32077ea61fb0f300cc507876326f336b8b3bef</id>
<content type='text'>
This issue is reported by kconfiglib:
warning: style: quotes recommended around default value for string
symbol XILINX_MICROBLAZE0_HW_VER (defined at
board/xilinx/microblaze-generic/Kconfig:37)

Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
</content>
</entry>
<entry>
<title>microblaze: Convert generic platform to DM gpio</title>
<updated>2018-07-19T08:49:55Z</updated>
<author>
<name>Michal Simek</name>
</author>
<published>2018-07-13T06:26:28Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=4a693669670fffd9a614c8c5c9f5ba027fd0185e'/>
<id>urn:sha1:4a693669670fffd9a614c8c5c9f5ba027fd0185e</id>
<content type='text'>
Converting GPIO to DM requires to do changes in reset subsystem
that's why support for Microblaze soft reset via sysreset and GPIO
sysreset support was added.
These two patches enables enabling GPIO DM.
Microblaze soft reset is bind at last reset method.

GPIO reset is handled via sysreset with adding this fragment to DT.

gpio-restart {
	compatible = "gpio-restart";
	gpios = &lt;&amp;reset_gpio 0 0 0&gt;;
	/* 3rd cell ACTIVE_HIGH = 0, ACTIVE_LOW = 1 */
};

hard-reset-gpio property is not documented and also handled.
Conversion is required.

Unfortunately do_reset is required for SPL that's why use only soft
microblaze reset for now.

Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
</content>
</entry>
<entry>
<title>microblaze: Support for watchdog_reset in init</title>
<updated>2018-07-19T08:49:55Z</updated>
<author>
<name>Shreenidhi Shedi</name>
</author>
<published>2018-07-14T20:35:40Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=6ec6f5841d7ee9f4f398f5c617a50a14f2f446ef'/>
<id>urn:sha1:6ec6f5841d7ee9f4f398f5c617a50a14f2f446ef</id>
<content type='text'>
We should support watchdog reset so that WATCHDOG_RESET will function
properly.

Signed-off-by: Shreenidhi Shedi &lt;yesshedi@gmail.com&gt;
Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
</content>
</entry>
<entry>
<title>microblaze: Delete Xilinx watchdog related macros</title>
<updated>2018-07-19T08:49:55Z</updated>
<author>
<name>Shreenidhi Shedi</name>
</author>
<published>2018-07-14T20:35:39Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=88811bb5a11b1d29196694fdcfa26a4e6ebd87d4'/>
<id>urn:sha1:88811bb5a11b1d29196694fdcfa26a4e6ebd87d4</id>
<content type='text'>
These macros are not required anymore. These will be taken from
configuration file.

Signed-off-by: Shreenidhi Shedi &lt;yesshedi@gmail.com&gt;
Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
</content>
</entry>
<entry>
<title>microblaze: Cosmetic changes in Microblaze related files</title>
<updated>2018-07-19T08:49:55Z</updated>
<author>
<name>Shreenidhi Shedi</name>
</author>
<published>2018-07-14T21:04:35Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=35912528a86ad15dd6931d03ec4ac275e24581a2'/>
<id>urn:sha1:35912528a86ad15dd6931d03ec4ac275e24581a2</id>
<content type='text'>
Signed-off-by: Shreenidhi Shedi &lt;yesshedi@gmail.com&gt;
Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
</content>
</entry>
<entry>
<title>microblaze: Remove unused XILINX_BOARD_NAME macro</title>
<updated>2018-07-19T08:49:54Z</updated>
<author>
<name>Michal Simek</name>
</author>
<published>2018-07-12T06:46:11Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=71c52f2949b1b4e657e08d7130e50f315b857dc7'/>
<id>urn:sha1:71c52f2949b1b4e657e08d7130e50f315b857dc7</id>
<content type='text'>
This macro is not used anywhere that's why remove it.

Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
</content>
</entry>
<entry>
<title>microblaze: Guard do_reset by CONFIG_SYSRESET</title>
<updated>2018-07-19T08:49:54Z</updated>
<author>
<name>Michal Simek</name>
</author>
<published>2018-06-28T08:30:05Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/project/bcm63xx/u-boot/commit/?id=d6c856c008a3f24a4606e14bbf3039a7355ec42a'/>
<id>urn:sha1:d6c856c008a3f24a4606e14bbf3039a7355ec42a</id>
<content type='text'>
sysreset uclass have own do_reset function which should be used instead
of board/platform specific.

Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
</content>
</entry>
</feed>
