changeset 1582:410822b9fdd5

* include/flash_am29xxxxx_parts.inl: Added support for AM29PL160 top boot block devices and corrected typo.
author asl
date Sun, 11 Apr 2004 11:47:17 +0000
parents bad894bd648f
children 3d8f3b1724be
files packages/devs/flash/amd/am29xxxxx/current/ChangeLog packages/devs/flash/amd/am29xxxxx/current/include/flash_am29xxxxx_parts.inl
diffstat 2 files changed, 23 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/packages/devs/flash/amd/am29xxxxx/current/ChangeLog
+++ b/packages/devs/flash/amd/am29xxxxx/current/ChangeLog
@@ -1,3 +1,7 @@
+2004-04-08  Bob Koninckx <bob.koninckx@o-3s.com>
+	* include/flash_am29xxxxx_parts.inl: Added support for AM29PL160 top
+	boot block devices and corrected typo.
+
 2004-04-06  Gary Thomas  <gary@mlbassoc.com>
 
 	* include/flash_am29xxxxx.inl (flash_program_buf): Buffered program
--- a/packages/devs/flash/amd/am29xxxxx/current/include/flash_am29xxxxx_parts.inl
+++ b/packages/devs/flash/amd/am29xxxxx/current/include/flash_am29xxxxx_parts.inl
@@ -612,7 +612,24 @@
     },
 #endif
 #ifdef CYGHWR_DEVS_FLASH_AMD_AM29PL160
-    {   // AM29PL160
+    {   // AM29PL160-T
+	    device_id  : FLASHWORD(0x2227),
+		block_size : 0x00040000 * CYGNUM_FLASH_INTERLEAVE,
+		block_count: 8,
+        device_size: 0x00200000 * CYGNUM_FLASH_INTERLEAVE,
+        base_mask  : ~(0x00200000 * CYGNUM_FLASH_INTERLEAVE - 1),
+        bootblock  : true,
+		bootblocks : { 0x1c0000 * CYGNUM_FLASH_INTERLEAVE,
+					   0x038000 * CYGNUM_FLASH_INTERLEAVE,
+					   0x002000 * CYGNUM_FLASH_INTERLEAVE,
+					   0x002000 * CYGNUM_FLASH_INTERLEAVE,
+					   0x004000 * CYGNUM_FLASH_INTERLEAVE,
+					   _LAST_BOOTBLOCK
+					 },
+        banked     : false,
+        bufsiz     : 1
+	},
+    {   // AM29PL160-B
         device_id  : FLASHWORD(0x2245),
         block_size : 0x00040000 * CYGNUM_FLASH_INTERLEAVE,
         block_count: 8,
@@ -934,7 +951,7 @@
                        0
                      },
         bufsiz     : 1
-    }
+    },
 #endif
 #ifdef CYGHWR_DEVS_FLASH_AMD_AM29LV400
     {   // AM29LV400-T