aboutsummaryrefslogtreecommitdiff
path: root/include/ns16550.h
diff options
context:
space:
mode:
authorMichal Simek2016-02-16 16:17:49 +0100
committerSimon Glass2016-03-17 21:27:39 -0600
commit59b35ddd2684bc2f81352d8cd14037752d9b639b (patch)
tree85df75c6996ff88a3a1ccc1a7d82714b4ed24214 /include/ns16550.h
parent4428f3c87ac90c71d5dae3df0289eb2442b628a8 (diff)
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> Moved the new field to the end of the struct to avoid problems: Signed-off-by: Simon Glass <sjg@chromium.org>
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 4e620676c45..1311f4cb919 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;