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]

Flash - add 28F320B3


Index: devs/flash/intel/28fxxx/current/ChangeLog
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/devs/flash/intel/28fxxx/current/ChangeLog,v
retrieving revision 1.9
diff -u -5 -p -r1.9 ChangeLog
--- devs/flash/intel/28fxxx/current/ChangeLog	23 May 2002 23:01:01 -0000	1.9
+++ devs/flash/intel/28fxxx/current/ChangeLog	5 Aug 2002 13:30:03 -0000
@@ -1,5 +1,11 @@
+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: 
 	Added CYGHWR_FLASH_WRITE_ENABLE() and CYGHWR_FLASH_WRITE_DISABLE()
 	macro calls to enable and disable FLASH writing in platform
Index: devs/flash/intel/28fxxx/current/cdl/flash_intel_28fxxx.cdl
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/devs/flash/intel/28fxxx/current/cdl/flash_intel_28fxxx.cdl,v
retrieving revision 1.5
diff -u -5 -p -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:30:30 -0000
@@ -7,10 +7,11 @@
 # ====================================================================
 #####ECOSGPLCOPYRIGHTBEGIN####
 ## -------------------------------------------
 ## 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
 ## Software Foundation; either version 2 or (at your option) any later version.
 ##
@@ -39,11 +40,11 @@
 #####ECOSGPLCOPYRIGHTEND####
 # ====================================================================
 ######DESCRIPTIONBEGIN####
 #
 # Author(s):      jskov
-# Contributors:   jskov
+# Contributors:   jskov, gthomas
 # Date:           2001-03-21
 #
 #####DESCRIPTIONEND####
 #
 # ====================================================================
@@ -79,10 +80,21 @@ cdl_package CYGPKG_DEVS_FLASH_INTEL_28FX
         description   "
             When this option is enabled, the Intel flash driver will be
             able to recognize and handle the 28F160S5
             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
         implements    CYGHWR_IO_FLASH_BLOCK_LOCKING
Index: devs/flash/intel/28fxxx/current/include/flash_28fxxx_parts.inl
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/devs/flash/intel/28fxxx/current/include/flash_28fxxx_parts.inl,v
retrieving revision 1.5
diff -u -5 -p -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:30:04 -0000
@@ -9,10 +9,11 @@
 //==========================================================================
 //####ECOSGPLCOPYRIGHTBEGIN####
 // -------------------------------------------
 // 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
 // Software Foundation; either version 2 or (at your option) any later version.
 //
@@ -41,11 +42,11 @@
 //####ECOSGPLCOPYRIGHTEND####
 //==========================================================================
 //#####DESCRIPTIONBEGIN####
 //
 // Author(s):    jskov
-// Contributors: jskov
+// Contributors: jskov, gthomas
 // Date:         2001-08-07
 // Purpose:
 // Description:  Intel 28Fxxx part descriptors
 // Usage:        Should be included from the flash_28fxxx.inl file only.
 //
@@ -102,10 +103,58 @@
                        0
                      },
         banked     : false
     },
 #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),
         block_size : 0x10000 * CYGNUM_FLASH_INTERLEAVE,




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