summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-10-29 19:09:00 (GMT)
committerSimon Glass <sjg@chromium.org>2014-11-21 07:09:58 (GMT)
commit0f65f48b6480ea18497675b30e5463dfd0c60cbe (patch)
tree6d844f49311785204d3abfe57e16c34467c8604c /arch
parent62137fc0ab31f352c6e4e2444c2336d5c6a08887 (diff)
downloadu-boot-0f65f48b6480ea18497675b30e5463dfd0c60cbe.tar.xz
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