summaryrefslogtreecommitdiff
path: root/include/smsc_lpc47m.h
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2014-12-15 17:13:47 -0500
committerTom Rini <trini@ti.com>2014-12-15 17:13:47 -0500
commitb9206e61f3d87535ac4f4b0b858e674fd1edfeaf (patch)
treef7fc5d96b6b4b783dbccf2619157caf4faf66b5b /include/smsc_lpc47m.h
parent6983951a612aeecd906521e31de83d7fae309950 (diff)
parent7cbd74f7484e9a58f7109e74e81002fee029b2f7 (diff)
downloadu-boot-imx-b9206e61f3d87535ac4f4b0b858e674fd1edfeaf.zip
u-boot-imx-b9206e61f3d87535ac4f4b0b858e674fd1edfeaf.tar.gz
u-boot-imx-b9206e61f3d87535ac4f4b0b858e674fd1edfeaf.tar.bz2
Merge git://git.denx.de/u-boot-x86
Diffstat (limited to 'include/smsc_lpc47m.h')
-rw-r--r--include/smsc_lpc47m.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/smsc_lpc47m.h b/include/smsc_lpc47m.h
new file mode 100644
index 0000000..bffd622
--- /dev/null
+++ b/include/smsc_lpc47m.h
@@ -0,0 +1,19 @@
+/*
+ * Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef _SMSC_LPC47M_H_
+#define _SMSC_LPC47M_H_
+
+/**
+ * Configure the base I/O port of the specified serial device and enable the
+ * serial device.
+ *
+ * @dev: High 8 bits = Super I/O port, low 8 bits = logical device number.
+ * @iobase: Processor I/O port address to assign to this serial device.
+ */
+void lpc47m_enable_serial(u16 dev, u16 iobase);
+
+#endif /* _SMSC_LPC47M_H_ */