Specific the directory for all hw and cfg module. Use double quote for cfg and hw...
[bertos.git] / bertos / drv / dataflash.h
index 61858167b66f3f92461f0760b5732e72af622e3c..e9ef00af9a37be0c956d7b03d41d5e5f98fd0f0e 100644 (file)
@@ -32,8 +32,8 @@
  *
  * \brief Function library for AT45DB081D Flash memory.
  *
- *
  * \version $Id: dataflash.h 20677 2008-02-19 14:29:52Z batt $
+ *
  * \author Daniele Basile <asterix@develer.com>
  */
 
 #ifndef DRV_DATAFLASH_H
 #define DRV_DATAFLASH_H
 
-#include <kern/kfile.h>
 #include <cfg/compiler.h>
 
-#include <appconfig.h>
-
+#include <kern/kfile.h>
 
 /**
  * Type definitions for dflash memory.
@@ -72,9 +70,10 @@ typedef void (dataflash_setCS_t)(bool);
  */
 typedef enum DataflashType
 {
-       DFT_AT45DB041B,
+       DFT_AT45DB041B = 0,
        DFT_AT45DB081D,
        DFT_AT45DB161D,
+       DFT_AT45DB642D,
        DFT_CNT
 } DataflashType;