Thread (35 messages) 35 messages, 7 authors, 2015-12-24
STALE3829d

[PATCH 05/12] tty: amba-pl011: add register lookup table

From: Russell King - ARM Linux <hidden>
Date: 2015-12-24 15:40:27
Also in: linux-serial

On Thu, Dec 24, 2015 at 09:35:52AM -0600, Timur Tabi wrote:
On Thu, Dec 24, 2015 at 9:05 AM, Russell King - ARM Linux
[off-list ref] wrote:
quoted
On Thu, Dec 24, 2015 at 09:03:12AM -0600, Timur Tabi wrote:
quoted
On Thu, Dec 24, 2015 at 12:54 AM, Huang Shijie [off-list ref] wrote:
quoted
My kernel cmdline:
  console=ttyAMA0,115200 earlycon=pl011,0x7ff80000 root=/dev/sda1 rootwait verbose debug sky2.mac_address=0x00,0x02,0xF7,0x00,0x63,0x3C dtb=r1a57.dtb
earlycon is broken with Russell's patches.  My patch fixes it, but
only for standard pl011 devices.
No, it shouldn't be.  Earlycon uses pl011_putc() which remains exactly
the same as it was before these patches.
        while (readl(port->membase + REG_FR) & UART01x_FR_TXFF)

is broken because REG_FR is equal to 1.
Patch 4, which changes to the REG_* stuff, does not (explicitly) touch
this because it _will_ break stuff.

-- 
RMK's Patch system: http://www.arm.linux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help