summaryrefslogtreecommitdiff
path: root/include/dm/platform_data
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2016-07-13 07:25:35 (GMT)
committerStefano Babic <sbabic@denx.de>2016-07-19 17:52:13 (GMT)
commit83fd908f28ca94baf095ba64b4b8a116dd473cb7 (patch)
tree2bda5b82202dd8ccae1f94662ca937a9ee0a1320 /include/dm/platform_data
parent4beba0668890f23373863dc27230679addd20689 (diff)
downloadu-boot-83fd908f28ca94baf095ba64b4b8a116dd473cb7.tar.xz
dm: imx: serial: Support DTE mode when using driver model
The MXC UART IP can be run in DTE or DCE mode. This depends on the board wiring and the pinmux used and hence is board specific. This extends platform data with a new field to choose wheather DTE mode shall be used. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/dm/platform_data')
-rw-r--r--include/dm/platform_data/serial_mxc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dm/platform_data/serial_mxc.h b/include/dm/platform_data/serial_mxc.h
index 7d3ace2..7bcd280 100644
--- a/include/dm/platform_data/serial_mxc.h
+++ b/include/dm/platform_data/serial_mxc.h
@@ -9,6 +9,7 @@
/* Information about a serial port */
struct mxc_serial_platdata {
struct mxc_uart *reg; /* address of registers in physical memory */
+ bool use_dte;
};
#endif