# HG changeset patch # User asl # Date 1081684037 0 # Node ID 410822b9fdd50d709643cd56e446c2230cb106c3 # Parent bad894bd648ffa4bdf547677ca19e4b5bfa2681e * include/flash_am29xxxxx_parts.inl: Added support for AM29PL160 top boot block devices and corrected typo. diff --git a/packages/devs/flash/amd/am29xxxxx/current/ChangeLog b/packages/devs/flash/amd/am29xxxxx/current/ChangeLog --- 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 + * include/flash_am29xxxxx_parts.inl: Added support for AM29PL160 top + boot block devices and corrected typo. + 2004-04-06 Gary Thomas * include/flash_am29xxxxx.inl (flash_program_buf): Buffered program diff --git a/packages/devs/flash/amd/am29xxxxx/current/include/flash_am29xxxxx_parts.inl b/packages/devs/flash/amd/am29xxxxx/current/include/flash_am29xxxxx_parts.inl --- 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