changeset 262:3d3a7f481015

Add support for 28F320B3 (from Jani Monoses)
author gthomas
date Mon, 05 Aug 2002 13:31:36 +0000
parents 72947dc266ac
children c0d53837cb68
files packages/devs/flash/intel/28fxxx/current/ChangeLog packages/devs/flash/intel/28fxxx/current/cdl/flash_intel_28fxxx.cdl packages/devs/flash/intel/28fxxx/current/include/flash_28fxxx_parts.inl
diffstat 3 files changed, 69 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/packages/devs/flash/intel/28fxxx/current/ChangeLog
+++ b/packages/devs/flash/intel/28fxxx/current/ChangeLog
@@ -1,3 +1,9 @@
+2002-08-05  Gary Thomas  <gary@chez-thomas.org>
+2002-08-05  Jani Monoses <jani@iv.ro>	
+
+	* include/flash_28fxxx_parts.inl: 
+	* cdl/flash_intel_28fxxx.cdl: Add support for 28F320B3.
+
 2002-03-06  Nick Garnett  <nickg@redhat.com>
 
 	* include/flash_28fxxx.inl: 
--- a/packages/devs/flash/intel/28fxxx/current/cdl/flash_intel_28fxxx.cdl
+++ b/packages/devs/flash/intel/28fxxx/current/cdl/flash_intel_28fxxx.cdl
@@ -9,6 +9,7 @@
 ## -------------------------------------------
 ## This file is part of eCos, the Embedded Configurable Operating System.
 ## Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
+## Copyright (C) 2002 Gary Thomas
 ##
 ## eCos is free software; you can redistribute it and/or modify it under
 ## the terms of the GNU General Public License as published by the Free
@@ -41,7 +42,7 @@
 ######DESCRIPTIONBEGIN####
 #
 # Author(s):      jskov
-# Contributors:   jskov
+# Contributors:   jskov, gthomas
 # Date:           2001-03-21
 #
 #####DESCRIPTIONEND####
@@ -82,6 +83,17 @@ cdl_package CYGPKG_DEVS_FLASH_INTEL_28FX
             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
--- a/packages/devs/flash/intel/28fxxx/current/include/flash_28fxxx_parts.inl
+++ b/packages/devs/flash/intel/28fxxx/current/include/flash_28fxxx_parts.inl
@@ -11,6 +11,7 @@
 // -------------------------------------------
 // This file is part of eCos, the Embedded Configurable Operating System.
 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
+// Copyright (C) 2002 Gary Thomas
 //
 // eCos is free software; you can redistribute it and/or modify it under
 // the terms of the GNU General Public License as published by the Free
@@ -43,7 +44,7 @@
 //#####DESCRIPTIONBEGIN####
 //
 // Author(s):    jskov
-// Contributors: jskov
+// Contributors: jskov, gthomas
 // Date:         2001-08-07
 // Purpose:
 // Description:  Intel 28Fxxx part descriptors
@@ -105,6 +106,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),