<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/drivers/serial/serial_stm32.c, 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-05-23T09:36:48Z</updated>
<entry>
<title>serial: stm32: remove watchog reset in debug putc</title>
<updated>2019-05-23T09:36:48Z</updated>
<author>
<name>Patrick Delaunay</name>
</author>
<published>2019-04-18T15:32:51Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=66dba9a18b04d5eafd1b3bfe11b7584135aadb70'/>
<id>urn:sha1:66dba9a18b04d5eafd1b3bfe11b7584135aadb70</id>
<content type='text'>
For STM32MP, the watchdog is based on DM and the function watchod_reset
call the function uclass_get_device(UCLASS_WDT) to found the driver
associated IWDG2.

As this reset is not mandatory in debug putc (the  uart fifo will be
empty after some us), we can simplify the code by removing this call.

And this patch avoid issue when putc is called before initialization
of DM core, before the parsing of the device tree parsing and each
node bound to driver; that also avoid memory leak.

Signed-off-by: Patrick Delaunay &lt;patrick.delaunay@st.com&gt;
</content>
</entry>
<entry>
<title>serial: stm32: remove unnecessary trace</title>
<updated>2019-05-23T09:36:48Z</updated>
<author>
<name>Patrick Delaunay</name>
</author>
<published>2019-04-18T15:32:50Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=26603c0ea4793943329a949dd930481714dd269a'/>
<id>urn:sha1:26603c0ea4793943329a949dd930481714dd269a</id>
<content type='text'>
Remove the trace indicating the end of the DEBUG initialization

Signed-off-by: Patrick Delaunay &lt;patrick.delaunay@st.com&gt;
</content>
</entry>
<entry>
<title>serial: serial_stm32: Add reset support</title>
<updated>2018-12-15T16:49:56Z</updated>
<author>
<name>Patrice Chotard</name>
</author>
<published>2018-12-04T13:11:36Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=f828fa4d822b61de624a6e8db288d3778a69ee7a'/>
<id>urn:sha1:f828fa4d822b61de624a6e8db288d3778a69ee7a</id>
<content type='text'>
In some cases, UART is configured by early boot stage.
To be sure of the initial state of UART and to avoid
spurious chars on console, reset the serial block before
configuring it.

Signed-off-by: Patrice Chotard &lt;patrice.chotard@st.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>serial: Remove DM_FLAG_PRE_RELOC flag in various drivers</title>
<updated>2018-11-14T17:16:28Z</updated>
<author>
<name>Bin Meng</name>
</author>
<published>2018-10-24T13:36:36Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=4687919684e0e4390b9fc20d1809ecaa9dc3cb81'/>
<id>urn:sha1:4687919684e0e4390b9fc20d1809ecaa9dc3cb81</id>
<content type='text'>
When a driver declares DM_FLAG_PRE_RELOC flag, it wishes to be
bound before relocation. However due to a bug in the DM core,
the flag only takes effect when devices are statically declared
via U_BOOT_DEVICE(). This bug has been fixed recently by commit
"dm: core: Respect drivers with the DM_FLAG_PRE_RELOC flag in
lists_bind_fdt()", but with the fix, it has a side effect that
all existing drivers that declared DM_FLAG_PRE_RELOC flag will
be bound before relocation now. This may expose potential boot
failure on some boards due to insufficient memory during the
pre-relocation stage.

To mitigate this potential impact, the following changes are
implemented:

- Remove DM_FLAG_PRE_RELOC flag in the driver, if the driver
  only supports configuration from device tree (OF_CONTROL)
- Keep DM_FLAG_PRE_RELOC flag in the driver only if the device
  is statically declared via U_BOOT_DEVICE()
- Surround DM_FLAG_PRE_RELOC flag with OF_CONTROL check, for
  drivers that support both statically declared devices and
  configuration from device tree

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>serial: stm32: Replace setparity by setconfig</title>
<updated>2018-09-11T00:20:38Z</updated>
<author>
<name>Patrice Chotard</name>
</author>
<published>2018-08-03T13:07:39Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=fbd5c72d767d04adb780188cb47772ed386fb297'/>
<id>urn:sha1:fbd5c72d767d04adb780188cb47772ed386fb297</id>
<content type='text'>
Replace stm32_serial_setparity by stm32_serial_setconfig
which allows to set serial bits number, parity and stop
bits number.
Only parity setting is implemented.

Signed-off-by: Patrick Delaunay &lt;patrick.delaunay@st.com&gt;
Signed-off-by: Patrice Chotard &lt;patrice.chotard@st.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>serial: stm32: Add setparity support</title>
<updated>2018-05-26T22:19:18Z</updated>
<author>
<name>Patrick Delaunay</name>
</author>
<published>2018-05-17T12:50:45Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=bc709a41caadc3323f912633b646cc8314c6cd01'/>
<id>urn:sha1:bc709a41caadc3323f912633b646cc8314c6cd01</id>
<content type='text'>
Add possibility to update the serial parity used.

Signed-off-by: Patrick Delaunay &lt;patrick.delaunay@st.com&gt;
Signed-off-by: Patrice Chotard &lt;patrice.chotard@st.com&gt;
</content>
</entry>
<entry>
<title>serial: stm32: Fix bits defines name</title>
<updated>2018-05-26T22:19:17Z</updated>
<author>
<name>Patrice Chotard</name>
</author>
<published>2018-05-17T12:50:43Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=be1a6f775e7615f93b7d9ef3bdbcbb335dbfea6e'/>
<id>urn:sha1:be1a6f775e7615f93b7d9ef3bdbcbb335dbfea6e</id>
<content type='text'>
Rename USART_ISR_FLAG_xxx bits to USART_ISR_xxx bits and
USART_ICR_OREF to USART_ICR_ORECF in order to match datasheets.
Sort defines by descendant order.

Signed-off-by: Patrice Chotard &lt;patrice.chotard@st.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>serial: stm32: Add debug uart support</title>
<updated>2018-05-26T22:19:17Z</updated>
<author>
<name>Patrick Delaunay</name>
</author>
<published>2018-05-17T12:50:42Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=215c8bed126313afd8c3b978c95b35ce7252c9c7'/>
<id>urn:sha1:215c8bed126313afd8c3b978c95b35ce7252c9c7</id>
<content type='text'>
Add support for early debug printf, before the availability of
driver model and device tree support.

Signed-off-by: Patrick Delaunay &lt;patrick.delaunay@st.com&gt;
Signed-off-by: Patrice Chotard &lt;patrice.chotard@st.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>SPDX: Convert all of our single license tags to Linux Kernel style</title>
<updated>2018-05-07T13:34:12Z</updated>
<author>
<name>Tom Rini</name>
</author>
<published>2018-05-06T21:58:06Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=83d290c56fab2d38cd1ab4c4cc7099559c1d5046'/>
<id>urn:sha1:83d290c56fab2d38cd1ab4c4cc7099559c1d5046</id>
<content type='text'>
When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from.  So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry.  Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.

In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.

This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents.  There's also a few places where I found we did not have a tag
and have introduced one.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>serial: serial_stm32: Rename status register flags</title>
<updated>2018-04-28T22:32:24Z</updated>
<author>
<name>Patrice Chotard</name>
</author>
<published>2018-04-20T06:59:07Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=8dc4e1fbf439d63082419640b6e797dfdfcc4720'/>
<id>urn:sha1:8dc4e1fbf439d63082419640b6e797dfdfcc4720</id>
<content type='text'>
Uart status register is named USART_ISR on STM32F7, STM32H7
and STM32MP1 SoCs family, but USART_SR only on STM32F4 SoCs.

Use USART_ISR_ prefix instead of USART_SR_ .

Signed-off-by: Patrice Chotard &lt;patrice.chotard@st.com&gt;
</content>
</entry>
</feed>
