summaryrefslogtreecommitdiffstats
path: root/arch/arm
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/arm
parent62137fc0ab31f352c6e4e2444c2336d5c6a08887 (diff)
downloadtalos-obmc-uboot-0f65f48b6480ea18497675b30e5463dfd0c60cbe.tar.gz
talos-obmc-uboot-0f65f48b6480ea18497675b30e5463dfd0c60cbe.zip
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/arm')
-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 0000000000..5bc094b355
--- /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
OpenPOWER on IntegriCloud