aboutsummaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-s3c2410/osiris-cpld.h
diff options
context:
space:
mode:
authorBen Dooks2006-03-20 17:10:02 +0000
committerRussell King2006-03-21 22:06:00 +0000
commit110d322b29c08d8cf1dba599fd45ad2b9752a4bb (patch)
tree5175c4f762db0146aa2c01d3916f0f5ab113bf2c /include/asm-arm/arch-s3c2410/osiris-cpld.h
parenta61ea9326d9ba94bcdc21f36bb74aa203657c58f (diff)
[ARM] 3327/1: S3C2410 - add osiris machine support
Patch from Ben Dooks Support for Simtec IM2440D20 CPU modules (Osiris) Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/arch-s3c2410/osiris-cpld.h')
-rw-r--r--include/asm-arm/arch-s3c2410/osiris-cpld.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/asm-arm/arch-s3c2410/osiris-cpld.h b/include/asm-arm/arch-s3c2410/osiris-cpld.h
new file mode 100644
index 000000000000..e9d1ae1f354f
--- /dev/null
+++ b/include/asm-arm/arch-s3c2410/osiris-cpld.h
@@ -0,0 +1,25 @@
+/* linux/include/asm-arm/arch-s3c2410/osiris-cpld.h
+ *
+ * (c) 2005 Simtec Electronics
+ * http://www.simtec.co.uk/products/
+ * Ben Dooks <ben@simtec.co.uk>
+ *
+ * OSIRIS - CPLD control constants
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __ASM_ARCH_OSIRISCPLD_H
+#define __ASM_ARCH_OSIRISCPLD_H
+
+/* CTRL1 - NAND WP control */
+
+#define OSIRIS_CTRL1_NANDSEL (0x3)
+#define OSIRIS_CTRL1_BOOT_INT (1<<3)
+#define OSIRIS_CTRL1_PCMCIA (1<<4)
+#define OSIRIS_CTRL1_PCMCIA_nWAIT (1<<6)
+#define OSIRIS_CTRL1_PCMCIA_nIOIS16 (1<<7)
+
+#endif /* __ASM_ARCH_OSIRISCPLD_H */