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]

Typo and new flash device


patch corrects a typo and adds support for amd29pl160 top boot block
devices

Regards,
Bob
? devs_flash.patch
Index: amd/am29xxxxx/current/ChangeLog
===================================================================
RCS file: /cvs/o3s/software/ecos/packages/devs/flash/amd/am29xxxxx/current/ChangeLog,v
retrieving revision 1.1.1.4
retrieving revision 1.5
diff -u -5 -r1.1.1.4 -r1.5
--- amd/am29xxxxx/current/ChangeLog	24 Nov 2003 19:46:45 -0000	1.1.1.4
+++ amd/am29xxxxx/current/ChangeLog	8 Apr 2004 20:00:08 -0000	1.5
@@ -1,5 +1,9 @@
+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.
+
 2003-10-21  Jay Foster   <jay@systech.com>
 
 	* include/flash_am29xxxxx_parts.inl (CYGHWR_DEVS_FLASH_AMD_AM29LV033C):
 	Fixed device definition to allow erasing of the upper half of the
 	device.  The Sector Protect Verify command would erroneously report
Index: amd/am29xxxxx/current/cdl/flash_amd_am29xxxxx.cdl
===================================================================
RCS file: /cvs/o3s/software/ecos/packages/devs/flash/amd/am29xxxxx/current/cdl/flash_amd_am29xxxxx.cdl,v
retrieving revision 1.1.1.3
retrieving revision 1.3
diff -u -5 -r1.1.1.3 -r1.3
Index: amd/am29xxxxx/current/include/flash_am29xxxxx_parts.inl
===================================================================
RCS file: /cvs/o3s/software/ecos/packages/devs/flash/amd/am29xxxxx/current/include/flash_am29xxxxx_parts.inl,v
retrieving revision 1.1.1.4
retrieving revision 1.4
diff -u -5 -r1.1.1.4 -r1.4
--- amd/am29xxxxx/current/include/flash_am29xxxxx_parts.inl	24 Nov 2003 19:46:45 -0000	1.1.1.4
+++ amd/am29xxxxx/current/include/flash_am29xxxxx_parts.inl	8 Apr 2004 20:00:08 -0000	1.4
@@ -610,11 +610,28 @@
         banked     : false,
         bufsiz     : 1
     },
 #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,
         device_size: 0x00200000 * CYGNUM_FLASH_INTERLEAVE,
         base_mask  : ~(0x00200000 * CYGNUM_FLASH_INTERLEAVE - 1),
@@ -932,11 +949,11 @@
                        0x400000 * CYGNUM_FLASH_INTERLEAVE,
                        0x100000 * CYGNUM_FLASH_INTERLEAVE,
                        0
                      },
         bufsiz     : 1
-    }
+    },
 #endif
 #ifdef CYGHWR_DEVS_FLASH_AMD_AM29LV400
     {   // AM29LV400-T
         device_id  : FLASHWORD(0x22b9),
         block_size : 0x10000 * CYGNUM_FLASH_INTERLEAVE,
Index: powerpc/ec555/current/ChangeLog
===================================================================
RCS file: /cvs/o3s/software/ecos/packages/devs/flash/powerpc/ec555/current/ChangeLog,v
retrieving revision 1.1.1.1
diff -u -5 -r1.1.1.1 ChangeLog
--- powerpc/ec555/current/ChangeLog	7 Jun 2003 09:02:13 -0000	1.1.1.1
+++ powerpc/ec555/current/ChangeLog	8 Apr 2004 21:09:36 -0000
@@ -1,5 +1,9 @@
+2004-04-08  Bob Koninckx  <bob.koninckx@o-3s.com>
+	* src/powerpc_ec555_flash.c: Adapted flash start address to new memory
+    map. Up to 16 MB of flash is now supported.
+
 2002-04-24  Bob Koninckx  <bob.koninckx@mech.kuleuven.ac.be>
 
 	* New package.
 
 //===========================================================================
Index: powerpc/ec555/current/src/powerpc_ec555_flash.c
===================================================================
RCS file: /cvs/o3s/software/ecos/packages/devs/flash/powerpc/ec555/current/src/powerpc_ec555_flash.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -5 -r1.1.1.1 -r1.2
--- powerpc/ec555/current/src/powerpc_ec555_flash.c	7 Jun 2003 09:02:13 -0000	1.1.1.1
+++ powerpc/ec555/current/src/powerpc_ec555_flash.c	8 Apr 2004 20:50:58 -0000	1.2
@@ -51,14 +51,14 @@
 //==========================================================================
 
 //--------------------------------------------------------------------------
 // Device properties
 
-#define CYGNUM_FLASH_INTERLEAVE	(2)
-#define CYGNUM_FLASH_SERIES	(1)
-#define CYGNUM_FLASH_WIDTH      (16)
-#define CYGNUM_FLASH_BASE 	(0x00800000)
+#define CYGNUM_FLASH_INTERLEAVE	     (2)
+#define CYGNUM_FLASH_SERIES	         (1)
+#define CYGNUM_FLASH_WIDTH          (16)
+#define CYGNUM_FLASH_BASE 	(0x02000000)
 
 //--------------------------------------------------------------------------
 // Platform specific extras
 
 //--------------------------------------------------------------------------

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