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]

Add AMD AM29LV081B Flash Support


Attached patch adds support for the AMD AM29LV081B flash device.

cvs server: Diffing am29xxxxx
cvs server: Diffing am29xxxxx/current
Index: am29xxxxx/current/ChangeLog
===================================================================
RCS file:
/cvs/ecos/ecos/packages/devs/flash/amd/am29xxxxx/current/ChangeLog,v
retrieving revision 1.21
diff -u -5 -p -r1.21 ChangeLog
--- am29xxxxx/current/ChangeLog	11 Feb 2003 15:02:19 -0000	1.21
+++ am29xxxxx/current/ChangeLog	25 Feb 2003 16:29:09 -0000
@@ -1,5 +1,9 @@
+2003-02-25  Jay Foster   <jay at systech dot com>
+
+	Add support for AM29LV081B 1MB flash device.
+
 2003-02-11  Gary Thomas  <gary at mlbassoc dot com>
 
 	* include/flash_am29xxxxx_parts.inl:
 	Fix identifier code for AM29LV320DT.
 
cvs server: Diffing am29xxxxx/current/cdl
Index: am29xxxxx/current/cdl/flash_amd_am29xxxxx.cdl
===================================================================
RCS file:
/cvs/ecos/ecos/packages/devs/flash/amd/am29xxxxx/current/cdl/flash_amd_am29x
xxxx.cdl,v
retrieving revision 1.12
diff -u -5 -p -r1.12 flash_amd_am29xxxxx.cdl
--- am29xxxxx/current/cdl/flash_amd_am29xxxxx.cdl	22 Jan 2003 04:45:53
-0000	1.12
+++ am29xxxxx/current/cdl/flash_amd_am29xxxxx.cdl	25 Feb 2003 16:29:09
-0000
@@ -194,6 +194,16 @@ cdl_package CYGPKG_DEVS_FLASH_AMD_AM29XX
         implements    CYGINT_DEVS_FLASH_AMD_VARIANTS
         description   "
             When this option is enabled, the AMD flash driver will be
             able to recognize and handle the Toshiba TC58FVB800."
     }
+
+    cdl_option CYGHWR_DEVS_FLASH_AMD_AM29LV081B {
+        display       "AMD AM29LV081B flash memory support"
+        default_value 0
+        implements    CYGINT_DEVS_FLASH_AMD_VARIANTS
+        description   "
+            When this option is enabled, the AMD flash driver will be
+            able to recognize and handle the AMD29LV081B
+            part in the family."
+    }
 }
cvs server: Diffing am29xxxxx/current/include
Index: am29xxxxx/current/include/flash_am29xxxxx_parts.inl
===================================================================
RCS file:
/cvs/ecos/ecos/packages/devs/flash/amd/am29xxxxx/current/include/flash_am29x
xxxx_parts.inl,v
retrieving revision 1.13
diff -u -5 -p -r1.13 flash_am29xxxxx_parts.inl
--- am29xxxxx/current/include/flash_am29xxxxx_parts.inl	11 Feb 2003 15:02:19
-0000	1.13
+++ am29xxxxx/current/include/flash_am29xxxxx_parts.inl	25 Feb 2003 16:29:09
-0000
@@ -468,10 +468,21 @@
                        _LAST_BOOTBLOCK
                      },
         banked     : false
     },
 #endif
+#ifdef CYGHWR_DEVS_FLASH_AMD_AM29LV081B
+    {   // AM29LV081B
+        device_id  : FLASHWORD(0x38),
+        block_size : 0x10000 * CYGNUM_FLASH_INTERLEAVE,
+        block_count: 16,
+        device_size: 0x100000 * CYGNUM_FLASH_INTERLEAVE,
+        base_mask  : ~(0x100000 * CYGNUM_FLASH_INTERLEAVE - 1),
+        bootblock  : false,
+        banked     : false
+    },
+#endif
 
 #else // 16 bit devices
 
 #ifdef CYGHWR_DEVS_FLASH_AMD_AM29LV160
     {   // MBM29LV160-T | AM29LV160-T


Jay Foster
jay at systech dot com


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