]> git.sur5r.net Git - u-boot/commit
dm: ns16550: Add support for reg-offset property
authorMichal Simek <michal.simek@xilinx.com>
Tue, 16 Feb 2016 15:17:49 +0000 (16:17 +0100)
committerSimon Glass <sjg@chromium.org>
Fri, 18 Mar 2016 03:27:39 +0000 (21:27 -0600)
commit59b35ddd2684bc2f81352d8cd14037752d9b639b
tree85df75c6996ff88a3a1ccc1a7d82714b4ed24214
parent4428f3c87ac90c71d5dae3df0289eb2442b628a8
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>
drivers/serial/ns16550.c
include/ns16550.h