mtd/include/linux/mtd onenand.h,1.3,1.4

kyungmin.park at samsung.com kyungmin.park at samsung.com
Sat Sep 3 02:20:08 EDT 2005


Update of /home/cvs/mtd/include/linux/mtd
In directory phoenix.infradead.org:/tmp/cvs-serv7037/include/linux/mtd

Modified Files:
	onenand.h 
Log Message:
[PATCH] OneNAND: Update OMAP OneNAND mapping using device driver model

        - Update OMAP OneNAND mapping file using device driver model
        - Remove board specific macro and values.


Index: onenand.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/mtd/onenand.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- onenand.h	3 Sep 2005 06:15:45 -0000	1.3
+++ onenand.h	3 Sep 2005 06:20:05 -0000	1.4
@@ -115,10 +115,18 @@
 	void			*priv;
 };
 
+/*
+ * Helper macros
+ */
 #define ONENAND_CURRENT_BUFFERRAM(this)		(this->bufferram_index)
 #define ONENAND_NEXT_BUFFERRAM(this)		(this->bufferram_index ^ 1)
 #define ONENAND_SET_NEXT_BUFFERRAM(this)	(this->bufferram_index ^= 1)
 
+#define ONENAND_GET_SYS_CFG1(this)					\
+	(this->read_word(this->base + ONENAND_REG_SYS_CFG1))
+#define ONENAND_SET_SYS_CFG1(v, this)					\
+	(this->write_word(v, this->base + ONENAND_REG_SYS_CFG1))
+
 /*
  * Options bits
  */





More information about the linux-mtd-cvs mailing list