<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/serial, branch v2014.10-rc1</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/serial?h=v2014.10-rc1</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/serial?h=v2014.10-rc1'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2014-07-28T10:26:21Z</updated>
<entry>
<title>Merge branch 'u-boot-ti/master' into 'u-boot-arm/master'</title>
<updated>2014-07-28T10:26:21Z</updated>
<author>
<name>Albert ARIBAUD</name>
<email>albert.u.boot@aribaud.net</email>
</author>
<published>2014-07-28T10:26:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b1cdd8baa14f518288ceddb391d6587c1ecb3174'/>
<id>urn:sha1:b1cdd8baa14f518288ceddb391d6587c1ecb3174</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'u-boot-sh/rmobile' into 'u-boot-arm/master'</title>
<updated>2014-07-28T08:54:54Z</updated>
<author>
<name>Albert ARIBAUD</name>
<email>albert.u.boot@aribaud.net</email>
</author>
<published>2014-07-28T08:54:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=48b3ed217f58487c583d59575d7dfe2aafbb738d'/>
<id>urn:sha1:48b3ed217f58487c583d59575d7dfe2aafbb738d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>keystone2: use CONFIG_SOC_KEYSTONE in common places</title>
<updated>2014-07-25T20:26:11Z</updated>
<author>
<name>Khoronzhuk, Ivan</name>
<email>ivan.khoronzhuk@ti.com</email>
</author>
<published>2014-07-15T21:59:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7c387646060c6221836b332f5d0e0c9771ab99c1'/>
<id>urn:sha1:7c387646060c6221836b332f5d0e0c9771ab99c1</id>
<content type='text'>
Use CONFIG_SOC_KEYSTONE in common places instead of defining
a lot of "if def .. || if def " for different Keystone2 SoC types.

Acked-by: Murali Karicheri &lt;m-karicheri2@ti.com&gt;
Signed-off-by: Ivan Khoronzhuk &lt;ivan.khoronzhuk@ti.com&gt;
</content>
</entry>
<entry>
<title>serial: sh: Add support R8A7794</title>
<updated>2014-07-24T05:03:46Z</updated>
<author>
<name>Nobuhiro Iwamatsu</name>
<email>nobuhiro.iwamatsu.yj@renesas.com</email>
</author>
<published>2014-06-24T08:03:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2f972a3c62f775dd662f1710416a065f5f001dd5'/>
<id>urn:sha1:2f972a3c62f775dd662f1710416a065f5f001dd5</id>
<content type='text'>
This adds the preset value to register for R8A7794.

Signed-off-by: Nobuhiro Iwamatsu &lt;nobuhiro.iwamatsu.yj@renesas.com&gt;
</content>
</entry>
<entry>
<title>Add a flag indicating when the serial console is ready</title>
<updated>2014-07-23T13:07:25Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2014-07-23T12:55:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=093f79ab88d57b800283b0a172c17167699f4243'/>
<id>urn:sha1:093f79ab88d57b800283b0a172c17167699f4243</id>
<content type='text'>
For sandbox we have a fallback console which is used very early in
U-Boot, before serial drivers are available. Rather than try to guess
when to switch to the real console, add a flag so we can be sure. This
makes sure that sandbox can always output a panic() message, for example,
and avoids silent failure (which is very annoying in sandbox).

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>stdio: Pass device pointer to stdio methods</title>
<updated>2014-07-23T13:07:23Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2014-07-23T12:54:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=709ea543b92489e7729d2d7ddd6c9f451e52158c'/>
<id>urn:sha1:709ea543b92489e7729d2d7ddd6c9f451e52158c</id>
<content type='text'>
At present stdio device functions do not get any clue as to which stdio
device is being acted on. Some implementations go to great lengths to work
around this, such as defining a whole separate set of functions for each
possible device.

For driver model we need to associate a stdio_dev with a device. It doesn't
seem possible to continue with this work-around approach.

Instead, add a stdio_dev pointer to each of the stdio member functions.

Note: The serial drivers have the same problem, but it is not strictly
necessary to fix that to get driver model running. Also, if we convert
serial over to driver model the problem will go away.

Code size increases by 244 bytes for Thumb2 and 428 for PowerPC.

22: stdio: Pass device pointer to stdio methods
       arm: (for 2/2 boards)  all +244.0  bss -4.0  text +248.0
   powerpc: (for 1/1 boards)  all +428.0  text +428.0

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Marek Vasut &lt;marex@denx.de&gt;
Reviewed-by: Marek Vasut &lt;marex@denx.de&gt;
</content>
</entry>
<entry>
<title>serial: ns16550: use a const variable instead of macro</title>
<updated>2014-07-22T11:44:25Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.m@jp.panasonic.com</email>
</author>
<published>2014-07-11T11:29:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5b9587ae31e26c5d6fd04ff0ef8cd7541b5abf56'/>
<id>urn:sha1:5b9587ae31e26c5d6fd04ff0ef8cd7541b5abf56</id>
<content type='text'>
Just for type checking.

Signed-off-by: Masahiro Yamada &lt;yamada.m@jp.panasonic.com&gt;
Cc: Marek Vasut &lt;marex@denx.de&gt;
Acked-by: Marek Vasut &lt;marex@denx.de&gt;
</content>
</entry>
<entry>
<title>serial: ns16550: use DIV_ROUND_CLOSEST macro to compute the divisor</title>
<updated>2014-07-22T11:44:25Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.m@jp.panasonic.com</email>
</author>
<published>2014-07-11T11:29:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f8c7c2033df1f8aa1cd329292f01e87972d84535'/>
<id>urn:sha1:f8c7c2033df1f8aa1cd329292f01e87972d84535</id>
<content type='text'>
The function still returns the same value.

The comment block is no longer necessary because our intention is
clear enough by using DIV_ROUND_CLOSEST() macro.

Signed-off-by: Masahiro Yamada &lt;yamada.m@jp.panasonic.com&gt;
</content>
</entry>
<entry>
<title>serial: ns16550: drop CONFIG_OMAP1610 from the special case</title>
<updated>2014-07-22T11:44:25Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.m@jp.panasonic.com</email>
</author>
<published>2014-07-11T11:29:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=841977df21e5f2c1276ae5a33cca3ac4fb976ad9'/>
<id>urn:sha1:841977df21e5f2c1276ae5a33cca3ac4fb976ad9</id>
<content type='text'>
If CONFIG_OMAP1610 is defined, the code returning the fixed value (26)
is enabled. But this case is covered by the following code.

(CONFIG_SYS_NS16550_CLK + (gd-&gt;baudrate * (MODE_X_DIV / 2))) /
    (MODE_X_DIV * gd-&gt;baudrate)
= (48000000 + (115200 * (16 / 2))) / (16 * 115200)
= 48921600 / 1843200
= 26

The "#ifdef CONFIG_OMAP1610" was added by commit 6f21347d more than
ten years ago. In those days, the divide-and-round was not used.
I guess that is why this weird code was added here.

Signed-off-by: Masahiro Yamada &lt;yamada.m@jp.panasonic.com&gt;
Cc: Tom Rini &lt;trini@ti.com&gt;
Cc: Rishi Bhattacharya &lt;rishi@ti.com&gt;
</content>
</entry>
<entry>
<title>serial_mxc: disable new features of autobaud detection</title>
<updated>2014-05-28T15:37:47Z</updated>
<author>
<name>Eric Nelson</name>
<email>eric.nelson@boundarydevices.com</email>
</author>
<published>2014-05-14T23:58:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3a5648259014abba09ea7f243b244b60660d4358'/>
<id>urn:sha1:3a5648259014abba09ea7f243b244b60660d4358</id>
<content type='text'>
Bit 7 of UCR3 is described in the i.MX3x/i.MX5x/i.MX6x
reference manuals as follows:

	Autobaud Detection Not Improved-. Disables new features of
	autobaud detection (See Baud Rate Automatic Detection
        Protocol, for more details).

	0 Autobaud detection new features selected
	1 Keep old autobaud detection mechanism

On at least i.MX6DQ, i.MX6DLS and i.MX53, the "new features"
occasionally cause the receiver to get out of sync and
continuously produce received characters of '\xff'.

This patch disables the "new feature" on all boards, since
there's no support for auto-baud in U-Boot on any of them.

More details are available in this post on i.MX Community:
	https://community.freescale.com/message/403254

Signed-off-by: Eric Nelson &lt;eric.nelson@boundarydevices.com&gt;
Tested-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Acked-by: Stefano Babic &lt;sbabic@denx.de&gt;
</content>
</entry>
</feed>
