summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-10-29 13:09:00 -0600
committerSimon Glass <sjg@chromium.org>2014-11-21 08:09:58 +0100
commit0f65f48b6480ea18497675b30e5463dfd0c60cbe (patch)
tree6d844f49311785204d3abfe57e16c34467c8604c /arch
parent62137fc0ab31f352c6e4e2444c2336d5c6a08887 (diff)
downloadu-boot-imx-0f65f48b6480ea18497675b30e5463dfd0c60cbe.zip
u-boot-imx-0f65f48b6480ea18497675b30e5463dfd0c60cbe.tar.gz
u-boot-imx-0f65f48b6480ea18497675b30e5463dfd0c60cbe.tar.bz2
dm: at91: Add driver model support for the serial driver
Add driver model support while retaining the existing legacy code. This allows the driver to support boards that have converted to driver model as well as those that have not. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/arch-at91/atmel_serial.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-at91/atmel_serial.h b/arch/arm/include/asm/arch-at91/atmel_serial.h
new file mode 100644
index 0000000..5bc094b
--- /dev/null
+++ b/arch/arm/include/asm/arch-at91/atmel_serial.h
@@ -0,0 +1,15 @@
+/*
+ * Copyright (c) 2014 Google, Inc
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef _ATMEL_SERIAL_H
+#define _ATMEL_SERIAL_H
+
+/* Information about a serial port */
+struct atmel_serial_platdata {
+ uint32_t base_addr;
+};
+
+#endif