summaryrefslogtreecommitdiff
path: root/arch/xtensa/platforms/xtfpga/include/platform/serial.h
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2012-11-05 07:37:14 +0400
committerChris Zankel <chris@zankel.net>2012-12-18 21:10:24 -0800
commit0d456bad36d42d16022be045c8a53ddbb59ee478 (patch)
tree3c135bfcf37d6ccf45fd9ac4f739df95e181d416 /arch/xtensa/platforms/xtfpga/include/platform/serial.h
parentda844a81779e2bb263eca4ecb1046541fdb11cf8 (diff)
downloadlinux-0d456bad36d42d16022be045c8a53ddbb59ee478.tar.gz
linux-0d456bad36d42d16022be045c8a53ddbb59ee478.tar.bz2
linux-0d456bad36d42d16022be045c8a53ddbb59ee478.zip
xtensa: add support for the XTFPGA boards
The Avnet LX60/LX110/LX200 board is an FPGA board that can be configured with an Xtensa processor and an OpenCores Ethernet device. Signed-off-by: Chris Zankel <chris@zankel.net> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa/platforms/xtfpga/include/platform/serial.h')
-rw-r--r--arch/xtensa/platforms/xtfpga/include/platform/serial.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/xtensa/platforms/xtfpga/include/platform/serial.h b/arch/xtensa/platforms/xtfpga/include/platform/serial.h
new file mode 100644
index 000000000000..14d8f7beebfd
--- /dev/null
+++ b/arch/xtensa/platforms/xtfpga/include/platform/serial.h
@@ -0,0 +1,18 @@
+/*
+ * arch/xtensa/platform/xtavnet/include/platform/serial.h
+ *
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License. See the file "COPYING" in the main directory of this archive
+ * for more details.
+ *
+ * Copyright (C) 2001, 2006 Tensilica Inc.
+ */
+
+#ifndef __ASM_XTENSA_XTAVNET_SERIAL_H
+#define __ASM_XTENSA_XTAVNET_SERIAL_H
+
+#include <platform/hardware.h>
+
+#define BASE_BAUD (*(long *)XTFPGA_CLKFRQ_VADDR / 16)
+
+#endif /* __ASM_XTENSA_XTAVNET_SERIAL_H */