summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-10-02 01:57:27 (GMT)
committerSimon Glass <sjg@chromium.org>2014-10-22 16:36:56 (GMT)
commita8ba569cba1e79f97438c1643ddc08f3ca7bffef (patch)
tree99aab36f444d11bf6a6bdd5a80de65a2815cfc6b /include
parent441d0cfff151852120a04acceffcd79195d36336 (diff)
downloadu-boot-a8ba569cba1e79f97438c1643ddc08f3ca7bffef.tar.xz
dm: imx: serial: Support driver model in the MXC serial driver
Add driver model support with this driver. Boards which use this driver should define platform data in their board files. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/serial_mxc.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/serial_mxc.h b/include/serial_mxc.h
new file mode 100644
index 0000000..7d3ace2
--- /dev/null
+++ b/include/serial_mxc.h
@@ -0,0 +1,14 @@
+/*
+ * Copyright (c) 2014 Google, Inc
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef __serial_mxc_h
+#define __serial_mxc_h
+
+/* Information about a serial port */
+struct mxc_serial_platdata {
+ struct mxc_uart *reg; /* address of registers in physical memory */
+};
+
+#endif