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]

Intel 28fxxxx flash: Add Intel 28F800B5 parts.


Hi,

This patch adds support for Intel 28F800B5-T (top boot block) and
28F800B5-B (bottom boot block) parts to the Intel 28Fxxxx flash driver.
These aren't StrataFlash parts and have no CFI device information so
they cannot be used with the strata driver.

David Vrabel
-- 
David Vrabel, Design Engineer

Arcom, Clifton Road           Tel: +44 (0)1223 411200 ext. 3233
Cambridge CB1 7EA, UK         Web: http://www.arcom.com/
%status
pending
%patch
Index: packages/devs/flash/intel/28fxxx/current/ChangeLog
===================================================================
--- packages/devs/flash/intel/28fxxx/current/ChangeLog.orig	2005-04-22 14:42:08.000000000 +0100
+++ packages/devs/flash/intel/28fxxx/current/ChangeLog	2005-04-22 14:44:52.000000000 +0100
@@ -1,5 +1,8 @@
 2005-04-22  David Vrabel  <dvrabel@arcom.com>
 
+	* cdl/flash_intel_28fxxx.cdl, include/flash_28fxxx_parts.inl: Add
+	Intel 28F800B5-T and 28F800B5-B parts.
+
 	* include/flash_28fxxx.inl: Correct flash_program_buf prototype.
 
 2002-12-12  Gary Thomas  <gthomas@ecoscentric.com>
Index: packages/devs/flash/intel/28fxxx/current/cdl/flash_intel_28fxxx.cdl
===================================================================
--- packages/devs/flash/intel/28fxxx/current/cdl/flash_intel_28fxxx.cdl.orig	2005-04-22 14:28:47.000000000 +0100
+++ packages/devs/flash/intel/28fxxx/current/cdl/flash_intel_28fxxx.cdl	2005-04-22 14:42:09.000000000 +0100
@@ -116,6 +116,16 @@
             part in the family."
     }
 
+    cdl_option CYGHWR_DEVS_FLASH_INTEL_28F800B5 {
+        display       "Intel 28F800B5 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 28F800B5
+            part in the family."
+    }
+
     cdl_option CYGHWR_DEVS_FLASH_SHARP_LH28F016SCT_Z4 {
         display       "Sharp LH28F016SCT-Z4 flash memory support"
         default_value 0
Index: packages/devs/flash/intel/28fxxx/current/include/flash_28fxxx_parts.inl
===================================================================
--- packages/devs/flash/intel/28fxxx/current/include/flash_28fxxx_parts.inl.orig	2005-04-22 14:28:47.000000000 +0100
+++ packages/devs/flash/intel/28fxxx/current/include/flash_28fxxx_parts.inl	2005-04-22 14:42:09.000000000 +0100
@@ -209,6 +209,43 @@
     },
 #endif
 
+#ifdef CYGHWR_DEVS_FLASH_INTEL_28F800B5
+    {   // 28F800B5-T
+        device_id  : FLASHWORD(0x889c),
+        block_size : 0x20000 * CYGNUM_FLASH_INTERLEAVE,
+        block_count: 8,
+        device_size: 0x100000 * CYGNUM_FLASH_INTERLEAVE,
+        base_mask  : ~(0x100000 * CYGNUM_FLASH_INTERLEAVE - 1),
+        locking    : false,
+        buffered_w : false,
+        bootblock  : true,
+        bootblocks : { 0xE0000,
+                       0x18000,
+                       0x2000,
+                       0x2000,
+                       0x4000
+                     },
+        banked     : false
+    },
+    {   // 28F800B5-B
+        device_id  : FLASHWORD(0x889d),
+        block_size : 0x20000 * CYGNUM_FLASH_INTERLEAVE,
+        block_count: 8,
+        device_size: 0x100000 * CYGNUM_FLASH_INTERLEAVE,
+        base_mask  : ~(0x100000 * CYGNUM_FLASH_INTERLEAVE - 1),
+        locking    : false,
+        buffered_w : false,
+        bootblock  : true,
+        bootblocks : { 0x00000,
+                       0x4000,
+                       0x2000,
+                       0x2000,
+                       0x18000
+                     },
+        banked     : false
+    },
+#endif
+
 #endif // 16 bit devices
 
 

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