diff options
| author | Marek Vasut <[email protected]> | 2016-12-01 02:06:29 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2016-12-19 12:26:36 -0500 |
| commit | 65f83802b7a5b3b06ae1576a8cc5e3b8d83cc8e8 (patch) | |
| tree | 269247c142dbaa8cfc0db3c44b0f3eee952b5705 /include | |
| parent | 8ea05705a70135a94419b0d243666c1b51fe1f8d (diff) | |
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 <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Simon Glass <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/ns16550.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ns16550.h b/include/ns16550.h index 1311f4cb919..45fd68b65d7 100644 --- a/include/ns16550.h +++ b/include/ns16550.h @@ -57,6 +57,7 @@ struct ns16550_platdata { int reg_shift; int clock; int reg_offset; + u32 fcr; }; struct udevice; |
