]> git.baikalelectronics.ru Git - kernel.git/commit
serial: of: set port iomem size from devicetree
authorMans Rullgard <mans@mansr.com>
Sun, 8 Mar 2015 14:30:05 +0000 (14:30 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Mar 2015 21:50:33 +0000 (22:50 +0100)
commit1a48bf2349c9a186a305c399067a79a219d2e836
tree805ffa5b96b791f9abd055f9dc9add186ced2f06
parenteee55a6ae647c1b496f6acf2c56eb71da5c8202f
serial: of: set port iomem size from devicetree

Make the 8250 driver reserve exactly the mmio region specified
in the devicetree. This prevents conflicts between UPIO_AU type
UARTs and other devices mapped closer than the default size of
0x1000 (or 0x100 for RT2880).

Signed-off-by: Mans Rullgard <mans@mansr.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/of_serial.c