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]

am29lv128 support


Hi,

I added support for the AM29LV128 flash chip to the AMD flash driver.


diff -ru packages-orig/devs/flash/amd/am29xxxxx/current/ChangeLog packages/devs/flash/amd/am29xxxxx/current/ChangeLog
--- packages-orig/devs/flash/amd/am29xxxxx/current/ChangeLog	2003-08-20 10:57:50.000000000 +0200
+++ packages/devs/flash/amd/am29xxxxx/current/ChangeLog	2003-09-05 10:48:58.000000000 +0200
@@ -1,3 +1,9 @@
+2003-09-04  Thomas Koeller <thomas.koeller@baslerweb.com>
+
+    * include/flash_am29xxxxx_parts.inl (CYGHWR_DEVS_FLASH_AMD_AM29LV128):
+    * cdl/flash_amd_am29xxxxx.cdl: 
+    Add support for Am29LV128 part.
+
 2003-08-17  Bart Veer  <bartv@ecoscentric.com>
 
 	* include/flash_am29xxxxx.inl:
diff -ru packages-orig/devs/flash/amd/am29xxxxx/current/cdl/flash_amd_am29xxxxx.cdl packages/devs/flash/amd/am29xxxxx/current/cdl/flash_amd_am29xxxxx.cdl
--- packages-orig/devs/flash/amd/am29xxxxx/current/cdl/flash_amd_am29xxxxx.cdl	2003-08-20 10:57:50.000000000 +0200
+++ packages/devs/flash/amd/am29xxxxx/current/cdl/flash_amd_am29xxxxx.cdl	2003-09-05 10:48:58.000000000 +0200
@@ -77,6 +77,16 @@
             part in the family."
     }
 
+    cdl_option CYGHWR_DEVS_FLASH_AMD_AM29LV128 {
+        display       "AMD AM29LV128 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 AMD29LV128
+            part in the family."
+    }
+
     cdl_option CYGHWR_DEVS_FLASH_AMD_AM29LV160 {
         display       "AMD AM29LV160 flash memory support"
         default_value 0
diff -ru packages-orig/devs/flash/amd/am29xxxxx/current/include/flash_am29xxxxx_parts.inl packages/devs/flash/amd/am29xxxxx/current/include/flash_am29xxxxx_parts.inl
--- packages-orig/devs/flash/amd/am29xxxxx/current/include/flash_am29xxxxx_parts.inl	2003-08-20 10:57:50.000000000 +0200
+++ packages/devs/flash/amd/am29xxxxx/current/include/flash_am29xxxxx_parts.inl	2003-09-05 10:48:58.000000000 +0200
@@ -473,6 +473,17 @@
 
 #else // 16 bit devices
 
+#ifdef CYGHWR_DEVS_FLASH_AMD_AM29LV128
+    {   // AM29LV128
+        device_id  : FLASHWORD(0x227e),
+        block_size : 0x10000 * CYGNUM_FLASH_INTERLEAVE,
+        block_count: 256,
+        device_size: 0x1000000 * CYGNUM_FLASH_INTERLEAVE,
+        base_mask  : ~(0x1000000 * CYGNUM_FLASH_INTERLEAVE - 1),
+        bootblock  : false,
+        banked     : false
+    },
+#endif
 #ifdef CYGHWR_DEVS_FLASH_AMD_AM29LV160
     {   // MBM29LV160-T | AM29LV160-T
         device_id  : FLASHWORD(0x22c4),


--------------------------------------------------

Thomas Koeller, Software Development

Basler Vision Technologies
An der Strusbek 60-62
22926 Ahrensburg
Germany

Tel +49 (4102) 463-162
Fax +49 (4102) 463-239

mailto:thomas.koeller@baslerweb.com
http://www.baslerweb.com

==============================


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