This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

one more flash type in 28Fxxx


Gary,
this adds the 28F320B3 part to the generic 28F driver
I tested it with edb7xxx and it works.It is like the already
supported C3 part but without locking.

Index: devs/flash/intel/28fxxx//current/cdl/flash_intel_28fxxx.cdl
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/flash/intel/28fxxx/current/cdl/flash_intel_28fxxx.cdl,v
retrieving revision 1.5
diff -u -r1.5 flash_intel_28fxxx.cdl
--- devs/flash/intel/28fxxx//current/cdl/flash_intel_28fxxx.cdl	23 May 2002 23:01:01 -0000	1.5
+++ devs/flash/intel/28fxxx//current/cdl/flash_intel_28fxxx.cdl	5 Aug 2002 13:05:31 -0000
@@ -82,6 +82,17 @@
             part in the family."
     }
 
+    cdl_option CYGHWR_DEVS_FLASH_INTEL_28F320B3 {
+        display       "Intel 28F320B3 flash memory support"
+        default_value 0
+        implements    CYGINT_DEVS_FLASH_INTEL_VARIANTS
+        description   "
+            When this option is enabled, the Intel flash driver will be
+            able to recognize and handle the 28F320B3
+            part in the family."
+    }
+
+
     cdl_option CYGHWR_DEVS_FLASH_INTEL_28F320C3 {
         display       "Intel 28F320C3 flash memory support"
         default_value 0
Index: devs/flash/intel/28fxxx//current/include/flash_28fxxx_parts.inl
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/flash/intel/28fxxx/current/include/flash_28fxxx_parts.inl,v
retrieving revision 1.5
diff -u -r1.5 flash_28fxxx_parts.inl
--- devs/flash/intel/28fxxx//current/include/flash_28fxxx_parts.inl	23 May 2002 23:01:01 -0000	1.5
+++ devs/flash/intel/28fxxx//current/include/flash_28fxxx_parts.inl	5 Aug 2002 13:05:32 -0000
@@ -105,6 +105,54 @@
     },
 #endif
 
+#ifdef CYGHWR_DEVS_FLASH_INTEL_28F320B3
+    {   // 28F320B3-T
+        device_id  : FLASHWORD(0x8896),
+        block_size : 0x10000 * CYGNUM_FLASH_INTERLEAVE,
+        block_count: 64,
+        device_size: 0x400000 * CYGNUM_FLASH_INTERLEAVE,
+        base_mask  : ~(0x400000 * CYGNUM_FLASH_INTERLEAVE - 1),
+        locking    : false,
+        buffered_w : false,
+        bootblock  : true,
+        bootblocks : { 0x3f0000 * CYGNUM_FLASH_INTERLEAVE,
+                       0x002000 * CYGNUM_FLASH_INTERLEAVE,
+                       0x002000 * CYGNUM_FLASH_INTERLEAVE,
+                       0x002000 * CYGNUM_FLASH_INTERLEAVE,
+                       0x002000 * CYGNUM_FLASH_INTERLEAVE,
+                       0x002000 * CYGNUM_FLASH_INTERLEAVE,
+                       0x002000 * CYGNUM_FLASH_INTERLEAVE,
+                       0x002000 * CYGNUM_FLASH_INTERLEAVE,
+                       0x002000 * CYGNUM_FLASH_INTERLEAVE,
+                       0
+                     },
+        banked     : false
+    },
+    {   // 28F320B3-B
+        device_id  : FLASHWORD(0x8897),
+        block_size : 0x10000 * CYGNUM_FLASH_INTERLEAVE,
+        block_count: 64,
+        device_size: 0x400000 * CYGNUM_FLASH_INTERLEAVE,
+        base_mask  : ~(0x400000 * CYGNUM_FLASH_INTERLEAVE - 1),
+        locking    : false,
+        buffered_w : false,
+        bootblock  : true,
+        bootblocks : { 0x000000 * CYGNUM_FLASH_INTERLEAVE,
+                       0x002000 * CYGNUM_FLASH_INTERLEAVE,
+                       0x002000 * CYGNUM_FLASH_INTERLEAVE,
+                       0x002000 * CYGNUM_FLASH_INTERLEAVE,
+                       0x002000 * CYGNUM_FLASH_INTERLEAVE,
+                       0x002000 * CYGNUM_FLASH_INTERLEAVE,
+                       0x002000 * CYGNUM_FLASH_INTERLEAVE,
+                       0x002000 * CYGNUM_FLASH_INTERLEAVE,
+                       0x002000 * CYGNUM_FLASH_INTERLEAVE,
+                       0
+                     },
+        banked     : false
+    },
+#endif
+
+
 #ifdef CYGHWR_DEVS_FLASH_INTEL_28F320S3
     {   // 28F320S3
         device_id  : FLASHWORD(0x00d4),


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]