This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Add AM29DL322 Support
- From: Mark Salter <msalter at redhat dot com>
- To: ecos-patches at sources dot redhat dot com
- Date: Wed, 4 Dec 2002 17:20:55 -0500 (EST)
- Subject: Add AM29DL322 Support
Index: devs/flash/amd/am29xxxxx/current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/flash/amd/am29xxxxx/current/ChangeLog,v
retrieving revision 1.18
diff -u -p -5 -r1.18 ChangeLog
--- devs/flash/amd/am29xxxxx/current/ChangeLog 25 Nov 2002 23:19:56 -0000 1.18
+++ devs/flash/amd/am29xxxxx/current/ChangeLog 4 Dec 2002 22:14:23 -0000
@@ -1,5 +1,10 @@
+2002-12-04 Mark Salter <msalter@redhat.com>
+
+ * include/flash_am29xxxxx_parts.inl:
+ * cdl/flash_amd_am29xxxxx.cdl: Add support for AM29DL322.
+
2002-11-25 Gary Thomas <gthomas@ecoscentric.com>
* include/flash_am29xxxxx_parts.inl (CYGHWR_DEVS_FLASH_AMD_AM29DL640D):
Now tested in 16 bit configurations.
Index: devs/flash/amd/am29xxxxx/current/cdl/flash_amd_am29xxxxx.cdl
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/flash/amd/am29xxxxx/current/cdl/flash_amd_am29xxxxx.cdl,v
retrieving revision 1.10
diff -u -p -5 -r1.10 flash_amd_am29xxxxx.cdl
--- devs/flash/amd/am29xxxxx/current/cdl/flash_amd_am29xxxxx.cdl 11 Oct 2002 20:09:24 -0000 1.10
+++ devs/flash/amd/am29xxxxx/current/cdl/flash_amd_am29xxxxx.cdl 4 Dec 2002 22:14:23 -0000
@@ -126,10 +126,20 @@ cdl_package CYGPKG_DEVS_FLASH_AMD_AM29XX
When this option is enabled, the AMD flash driver will be
able to recognize and handle the AMD29LV640
part in the family."
}
+ cdl_option CYGHWR_DEVS_FLASH_AMD_AM29DL322D {
+ display "AMD AM29DL322D 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 AM29DL322D
+ part in the family."
+ }
+
cdl_option CYGHWR_DEVS_FLASH_AMD_AM29DL324D {
display "AMD AM29DL324D flash memory support"
default_value 0
implements CYGINT_DEVS_FLASH_AMD_VARIANTS
description "
Index: devs/flash/amd/am29xxxxx/current/include/flash_am29xxxxx_parts.inl
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/flash/amd/am29xxxxx/current/include/flash_am29xxxxx_parts.inl,v
retrieving revision 1.10
diff -u -p -5 -r1.10 flash_am29xxxxx_parts.inl
--- devs/flash/amd/am29xxxxx/current/include/flash_am29xxxxx_parts.inl 25 Nov 2002 23:19:57 -0000 1.10
+++ devs/flash/amd/am29xxxxx/current/include/flash_am29xxxxx_parts.inl 4 Dec 2002 22:14:23 -0000
@@ -199,10 +199,58 @@
_LAST_BOOTBLOCK
},
banked : false
},
#endif
+#ifdef CYGHWR_DEVS_FLASH_AMD_AM29DL322D
+ { // AM29DL322D-T
+ device_id : FLASHWORD(0x55),
+ block_size : 0x10000 * CYGNUM_FLASH_INTERLEAVE,
+ block_count: 64,
+ device_size: 0x400000 * CYGNUM_FLASH_INTERLEAVE,
+ base_mask : ~(0x400000 * CYGNUM_FLASH_INTERLEAVE - 1),
+ 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,
+ _LAST_BOOTBLOCK
+ },
+ banked : true,
+ banks : { 0x380000 * CYGNUM_FLASH_INTERLEAVE,
+ 0
+ }
+ },
+ { // AM29DL322D-B
+ device_id : FLASHWORD(0x56),
+ block_size : 0x10000 * CYGNUM_FLASH_INTERLEAVE,
+ block_count: 64,
+ device_size: 0x400000 * CYGNUM_FLASH_INTERLEAVE,
+ base_mask : ~(0x400000 * CYGNUM_FLASH_INTERLEAVE - 1),
+ 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,
+ _LAST_BOOTBLOCK
+ },
+ banked : true,
+ banks : { 0x80000 * CYGNUM_FLASH_INTERLEAVE,
+ 0
+ }
+ },
+#endif
#ifdef CYGHWR_DEVS_FLASH_AMD_AM29DL324D
{ // AM29DL324D-T
device_id : FLASHWORD(0x5c),
block_size : 0x10000 * CYGNUM_FLASH_INTERLEAVE,
block_count: 64,
Index: devs/flash/mn10300/asb2303/current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/flash/mn10300/asb2303/current/ChangeLog,v
retrieving revision 1.1
diff -u -p -5 -r1.1 ChangeLog
--- devs/flash/mn10300/asb2303/current/ChangeLog 14 Nov 2002 17:53:25 -0000 1.1
+++ devs/flash/mn10300/asb2303/current/ChangeLog 4 Dec 2002 22:14:23 -0000
@@ -1,5 +1,8 @@
+2002-12-04 Mark Salter <msalter@redhat.com>
+
+ * cdl/flash_asb2303.cdl: Support AM29DL322D.
//===========================================================================
//####ECOSGPLCOPYRIGHTBEGIN####
// -------------------------------------------
// This file is part of eCos, the Embedded Configurable Operating System.
Index: devs/flash/mn10300/asb2303/current/cdl/flash_asb2303.cdl
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/flash/mn10300/asb2303/current/cdl/flash_asb2303.cdl,v
retrieving revision 1.1
diff -u -p -5 -r1.1 flash_asb2303.cdl
--- devs/flash/mn10300/asb2303/current/cdl/flash_asb2303.cdl 14 Nov 2002 17:53:25 -0000 1.1
+++ devs/flash/mn10300/asb2303/current/cdl/flash_asb2303.cdl 4 Dec 2002 22:14:23 -0000
@@ -74,8 +74,9 @@ cdl_package CYGPKG_DEVS_FLASH_MN10300_AS
description "
This option controls which bank of flash will be programmable."
}
implements CYGINT_DEVS_FLASH_AMD_AM29XXXXX_REQUIRED
+ requires CYGHWR_DEVS_FLASH_AMD_AM29DL322D
requires CYGHWR_DEVS_FLASH_AMD_AM29DL324D
requires CYGHWR_DEVS_FLASH_AMD_AM29LV800
}
Index: devs/flash/mn10300/asb2305/current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/flash/mn10300/asb2305/current/ChangeLog,v
retrieving revision 1.2
diff -u -p -5 -r1.2 ChangeLog
--- devs/flash/mn10300/asb2305/current/ChangeLog 23 May 2002 23:01:02 -0000 1.2
+++ devs/flash/mn10300/asb2305/current/ChangeLog 4 Dec 2002 22:14:23 -0000
@@ -1,5 +1,9 @@
+2002-12-04 Mark Salter <msalter@redhat.com>
+
+ * cdl/flash_asb2305.cdl: Support AM29DL322D.
+
2001-06-08 Jesper Skov <jskov@redhat.com>
From dhowells@redhat.com
* src/mn10300_asb2305_flash.c: New package/file(s).
* cdl/flash_asb2305.cdl: Same.
Index: devs/flash/mn10300/asb2305/current/cdl/flash_asb2305.cdl
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/flash/mn10300/asb2305/current/cdl/flash_asb2305.cdl,v
retrieving revision 1.2
diff -u -p -5 -r1.2 flash_asb2305.cdl
--- devs/flash/mn10300/asb2305/current/cdl/flash_asb2305.cdl 23 May 2002 23:01:03 -0000 1.2
+++ devs/flash/mn10300/asb2305/current/cdl/flash_asb2305.cdl 4 Dec 2002 22:14:23 -0000
@@ -74,8 +74,9 @@ cdl_package CYGPKG_DEVS_FLASH_MN10300_AS
description "
This option controls which bank of flash will be programmable."
}
implements CYGINT_DEVS_FLASH_AMD_AM29XXXXX_REQUIRED
+ requires CYGHWR_DEVS_FLASH_AMD_AM29DL322D
requires CYGHWR_DEVS_FLASH_AMD_AM29DL324D
requires CYGHWR_DEVS_FLASH_AMD_AM29LV800
}