Thread (7 messages) 7 messages, 4 authors, 2015-12-13
STALE3848d

[PATCH 2/2] serial: amba-pl011: abstract register accessors

From: Russell King - ARM Linux <hidden>
Date: 2015-11-03 16:12:07
Also in: linux-serial

On Tue, Nov 03, 2015 at 09:01:07AM -0600, Timur Tabi wrote:
Finally, note that pl011_putc() is untouched, because that function
does not have access to the 'uap' object.  A separate mechanism
is needed to switch accessors in that function.
Thanks for pointing that out... that's a mistake in my patches.  It's
very difficult to see how we could ever support earlyconsole on ZTE
without massively overhauling the earlycon stuff.  I'll undo the
changes there in my series.

Now, as for this patch...
 	unsigned int (*get_fifosize)(struct amba_device *dev);
+	u16 (*regreadw)(const void __iomem *addr);
+	void (*regwritew)(u16 val, void __iomem *addr);
+	void (*regwriteb)(u8 val, void __iomem *addr);
regwriteb() is used nowhere in this patch.

-- 
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