# HG changeset patch # User gthomas # Date 1066671455 0 # Node ID 83e860bfbcaafdaf7edb418ec9573b730424c85f # Parent cfe81e17269a963925763d0d0fc4e488835a8874 More AMD devices from Jay Foster 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,11 @@ +2003-10-02 Jay Foster + + * include/flash_am29xxxxx_parts.inl (CYGHWR_DEVS_FLASH_AMD_AM29LV081B, + CYGHWR_DEVS_FLASH_AMD_AM29LV017D, CYGHWR_DEVS_FLASH_AMD_AM29LV033C, + CYGHWR_DEVS_FLASH_AMD_AM29LV065D): + * cdl/flash_amd_am29xxxxx.cdl: Add support for Am29LV081B, Am29LV017D, + Am29LV033C, and Am29LV065D parts. + 2003-09-09 Thomas Koeller * include/flash_am29xxxxx.inl: diff --git a/packages/devs/flash/amd/am29xxxxx/current/cdl/flash_amd_am29xxxxx.cdl b/packages/devs/flash/amd/am29xxxxx/current/cdl/flash_amd_am29xxxxx.cdl --- a/packages/devs/flash/amd/am29xxxxx/current/cdl/flash_amd_am29xxxxx.cdl +++ b/packages/devs/flash/amd/am29xxxxx/current/cdl/flash_amd_am29xxxxx.cdl @@ -226,4 +226,44 @@ cdl_package CYGPKG_DEVS_FLASH_AMD_AM29XX When this option is enabled, the AMD flash driver will be able to recognize and handle the Toshiba TC58FVB800." } + + cdl_option CYGHWR_DEVS_FLASH_AMD_AM29LV081B { + display "AMD AM29LV081B 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 AMD29LV081B + part in the family." + } + + cdl_option CYGHWR_DEVS_FLASH_AMD_AM29LV017D { + display "AMD AM29LV017D 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 AMD29LV017D + part in the family." + } + + cdl_option CYGHWR_DEVS_FLASH_AMD_AM29LV033C { + display "AMD AM29LV033C 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 AMD29LV033C + part in the family." + } + + cdl_option CYGHWR_DEVS_FLASH_AMD_AM29LV065D { + display "AMD AM29LV065D 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 AMD29LV065D + part in the family." + } } 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 @@ -490,6 +490,58 @@ }, #endif +#ifdef CYGHWR_DEVS_FLASH_AMD_AM29LV081B + { // AM29LV081B + device_id : FLASHWORD(0x38), + block_size : 0x10000 * CYGNUM_FLASH_INTERLEAVE, + block_count: 16, + device_size: 0x100000 * CYGNUM_FLASH_INTERLEAVE, + base_mask : ~(0x100000 * CYGNUM_FLASH_INTERLEAVE - 1), + bootblock : false, + banked : false, + bufsiz : 1 + }, +#endif + +#ifdef CYGHWR_DEVS_FLASH_AMD_AM29LV017D + { // AM29LV017D + device_id : FLASHWORD(0xC8), + block_size : 0x10000 * CYGNUM_FLASH_INTERLEAVE, + block_count: 32, + device_size: 0x200000 * CYGNUM_FLASH_INTERLEAVE, + base_mask : ~(0x200000 * CYGNUM_FLASH_INTERLEAVE - 1), + bootblock : false, + banked : false, + bufsiz : 1 + }, +#endif + +#ifdef CYGHWR_DEVS_FLASH_AMD_AM29LV033C + { // AM29LV033C + device_id : FLASHWORD(0xA3), + block_size : 0x10000 * CYGNUM_FLASH_INTERLEAVE, + block_count: 64, + device_size: 0x400000 * CYGNUM_FLASH_INTERLEAVE, + base_mask : ~(0x400000 * CYGNUM_FLASH_INTERLEAVE - 1), + bootblock : false, + banked : false, + bufsiz : 1 + }, +#endif + +#ifdef CYGHWR_DEVS_FLASH_AMD_AM29LV065D + { // AM29LV065D + device_id : FLASHWORD(0x93), + block_size : 0x10000 * CYGNUM_FLASH_INTERLEAVE, + block_count: 128, + device_size: 0x800000 * CYGNUM_FLASH_INTERLEAVE, + base_mask : ~(0x800000 * CYGNUM_FLASH_INTERLEAVE - 1), + bootblock : false, + banked : false, + bufsiz : 1 + }, +#endif + #else // 16 bit devices #ifdef CYGHWR_DEVS_FLASH_AMD_AM29LV128