asm-generic: add legacy I/O header files
[firefly-linux-kernel-4.4.55.git] / include / asm-generic / serial.h
diff --git a/include/asm-generic/serial.h b/include/asm-generic/serial.h
new file mode 100644 (file)
index 0000000..5e29109
--- /dev/null
@@ -0,0 +1,13 @@
+#ifndef __ASM_GENERIC_SERIAL_H
+#define __ASM_GENERIC_SERIAL_H
+
+/*
+ * This should not be an architecture specific #define, oh well.
+ *
+ * Traditionally, it just describes i8250 and related serial ports
+ * that have this clock rate.
+ */
+
+#define BASE_BAUD (1843200 / 16)
+
+#endif /* __ASM_GENERIC_SERIAL_H */