summaryrefslogtreecommitdiff
path: root/include/ns16550.h
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2016-02-16 16:05:23 +0100
committerMichal Simek <michal.simek@xilinx.com>2016-02-22 16:21:10 +0100
commitd9a3bec682f9756621615f4306718a356a3230e3 (patch)
tree60d313b23d9b671bf88eedfce54f196cf76c5643 /include/ns16550.h
parent39bc1a8c8f5eb3238a3349bd4810fabac4118104 (diff)
downloadu-boot-d9a3bec682f9756621615f4306718a356a3230e3.tar.gz
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 <michal.simek@xilinx.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/ns16550.h')
-rw-r--r--include/ns16550.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ns16550.h b/include/ns16550.h
index 4e620676c4..5eeacd6ff9 100644
--- a/include/ns16550.h
+++ b/include/ns16550.h
@@ -54,6 +54,7 @@
*/
struct ns16550_platdata {
unsigned long base;
+ int reg_offset;
int reg_shift;
int clock;
};