]> git.sur5r.net Git - u-boot/commit
serial: 16550: Add getfcr accessor
authorMarek Vasut <marex@denx.de>
Thu, 1 Dec 2016 01:06:29 +0000 (02:06 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 19 Dec 2016 17:26:36 +0000 (12:26 -0500)
commit65f83802b7a5b3b06ae1576a8cc5e3b8d83cc8e8
tree269247c142dbaa8cfc0db3c44b0f3eee952b5705
parent8ea05705a70135a94419b0d243666c1b51fe1f8d
serial: 16550: Add getfcr accessor

Add function which allows fetching the default FCR register setting
from platform data for DM , while retaining old behavior for non-DM
by returning UART_FCRVAL.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Tom Rini <trini@konsulko.com>
Cc: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/serial/ns16550.c
include/ns16550.h