serial: ns16550: Read reg-io-width from device tree
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 20 Nov 2018 21:52:35 +0000 (23:52 +0200)
committerSimon Glass <sjg@chromium.org>
Wed, 5 Dec 2018 13:08:35 +0000 (06:08 -0700)
commit4e7207791c05b3ecff916c1b1b1b21401ec29b0b
tree79b9f0991639be7ce1b0692779b9b25928cc9287
parent0af761620f2bb0aac739e1f5c2f5c231bc279599
serial: ns16550: Read reg-io-width from device tree

Cache the value of the reg-io-width property for the future use.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/serial/ns16550.c
include/ns16550.h