diff --context --ignore-all-space --recursive /opt/ecos/cvs_13_01_05/ecos-2.0.x/packages/devs/flash/atmel/at49xxxx/current/ChangeLog ecos-2.0.x/packages/devs/flash/atmel/at49xxxx/current/ChangeLog *** /opt/ecos/cvs_13_01_05/ecos-2.0.x/packages/devs/flash/atmel/at49xxxx/current/ChangeLog Wed Dec 1 11:11:55 2004 --- ecos-2.0.x/packages/devs/flash/atmel/at49xxxx/current/ChangeLog Tue Feb 15 11:53:33 2005 *************** *** 1,3 **** --- 1,8 ---- + 2005-02-15 Jacques Tinembart + + * include/flash_at49xxxx.inl, include/flash_at49xxxx_parts.inl: + add support for AT49LV161 and AT49BV322A + 2004-11-12 Andrew Lunn * include/flash_at49xxxx_parts.inl: Give a compiler error if the diff --context --ignore-all-space --recursive /opt/ecos/cvs_13_01_05/ecos-2.0.x/packages/devs/flash/atmel/at49xxxx/current/include/flash_at49xxxx.inl ecos-2.0.x/packages/devs/flash/atmel/at49xxxx/current/include/flash_at49xxxx.inl *** /opt/ecos/cvs_13_01_05/ecos-2.0.x/packages/devs/flash/atmel/at49xxxx/current/include/flash_at49xxxx.inl Wed Dec 1 11:11:55 2004 --- ecos-2.0.x/packages/devs/flash/atmel/at49xxxx/current/include/flash_at49xxxx.inl Sat Feb 12 12:34:06 2005 *************** *** 47,52 **** --- 47,53 ---- // // Author(s): Jani Monoses // Contributors: Cristian Vlasin , tdrury, jlarmour + // J. Tinembart // Date: 2002-06-24 // Purpose: // Description: *************** *** 77,84 **** --- 78,90 ---- #define FLASH_Busy FLASHWORD( 0x40 ) // "Toggle" bit, I/O 6 #define FLASH_InverseData FLASHWORD( 0x80 ) // I/O 7, Inverse data + #ifdef CYGHWR_DEVS_FLASH_ATMEL_AT49LV161 + #define FLASH_Setup_Addr1 (0x555) + #define FLASH_Setup_Addr2 (0xAAA) + #else #define FLASH_Setup_Addr1 (0x5555) #define FLASH_Setup_Addr2 (0x2AAA) + #endif #define FLASH_Setup_Code1 FLASHWORD( 0xAA ) #define FLASH_Setup_Code2 FLASHWORD( 0x55 ) #define FLASH_Setup_Erase FLASHWORD( 0x80 ) diff --context --ignore-all-space --recursive /opt/ecos/cvs_13_01_05/ecos-2.0.x/packages/devs/flash/atmel/at49xxxx/current/include/flash_at49xxxx_parts.inl ecos-2.0.x/packages/devs/flash/atmel/at49xxxx/current/include/flash_at49xxxx_parts.inl *** /opt/ecos/cvs_13_01_05/ecos-2.0.x/packages/devs/flash/atmel/at49xxxx/current/include/flash_at49xxxx_parts.inl Wed Dec 1 11:11:56 2004 --- ecos-2.0.x/packages/devs/flash/atmel/at49xxxx/current/include/flash_at49xxxx_parts.inl Sat Feb 12 12:37:10 2005 *************** *** 45,50 **** --- 45,51 ---- // // Author(s): jlarmour,Jani Monoses // Contributors: Jani Monoses , Cristian Vlasin , tdrury + // J. Tinembart // Date: 2003-07-14 // Purpose: Should be included from the flash_at49xxxx.inl file only. // Description: Atmel AT49xxxx part descriptions *************** *** 149,155 **** #endif #if defined(CYGHWR_DEVS_FLASH_ATMEL_AT49BV1604A) || \ defined(CYGHWR_DEVS_FLASH_ATMEL_AT49BV1614A) || \ ! defined(CYGHWR_DEVS_FLASH_ATMEL_AT49LV1614A) { // AT49BV/LV8011 // the following ID is true for both 8 and 16 bit CYGNUM_FLASH_WIDTH device_id : FLASHWORD(0xC0), --- 150,157 ---- #endif #if defined(CYGHWR_DEVS_FLASH_ATMEL_AT49BV1604A) || \ defined(CYGHWR_DEVS_FLASH_ATMEL_AT49BV1614A) || \ ! defined(CYGHWR_DEVS_FLASH_ATMEL_AT49LV1614A) || \ ! defined(CYGHWR_DEVS_FLASH_ATMEL_AT49LV161) { // AT49BV/LV8011 // the following ID is true for both 8 and 16 bit CYGNUM_FLASH_WIDTH device_id : FLASHWORD(0xC0), *************** *** 171,176 **** --- 173,200 ---- } }, #endif + #if defined(CYGHWR_DEVS_FLASH_ATMEL_AT49BV322A) + { // AT49BV322A + // the following ID is true for both 8 and 16 bit CYGNUM_FLASH_WIDTH + device_id : FLASHWORD(0xC8), + 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 + } + }, + #endif #if defined(CYGHWR_DEVS_FLASH_ATMEL_AT29LV200BB) { // AT29LV200BB device_id : FLASHWORD(0x22BF),