From 59b35ddd2684bc2f81352d8cd14037752d9b639b Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Tue, 16 Feb 2016 16:17:49 +0100 Subject: dm: ns16550: Add support for reg-offset property reg-offset is the part of standard 8250 binding in the kernel. It is shifting start of address space by reg-offset. On Xilinx platform this offset is typically 0x1000. Signed-off-by: Michal Simek Reviewed-by: Simon Glass Reviewed-by: Tom Rini Moved the new field to the end of the struct to avoid problems: Signed-off-by: Simon Glass --- include/ns16550.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/ns16550.h b/include/ns16550.h index 4e620676c4..1311f4cb91 100644 --- a/include/ns16550.h +++ b/include/ns16550.h @@ -56,6 +56,7 @@ struct ns16550_platdata { unsigned long base; int reg_shift; int clock; + int reg_offset; }; struct udevice; -- cgit v1.2.3