# HG changeset patch # User gthomas # Date 1028554296 0 # Node ID 3d3a7f481015de84f7bf389f136d28035503e244 # Parent 72947dc266acb2938c88a37ad37193fc468f52cf Add support for 28F320B3 (from Jani Monoses) diff --git a/packages/devs/flash/intel/28fxxx/current/ChangeLog b/packages/devs/flash/intel/28fxxx/current/ChangeLog --- a/packages/devs/flash/intel/28fxxx/current/ChangeLog +++ b/packages/devs/flash/intel/28fxxx/current/ChangeLog @@ -1,3 +1,9 @@ +2002-08-05 Gary Thomas +2002-08-05 Jani Monoses + + * include/flash_28fxxx_parts.inl: + * cdl/flash_intel_28fxxx.cdl: Add support for 28F320B3. + 2002-03-06 Nick Garnett * include/flash_28fxxx.inl: diff --git a/packages/devs/flash/intel/28fxxx/current/cdl/flash_intel_28fxxx.cdl b/packages/devs/flash/intel/28fxxx/current/cdl/flash_intel_28fxxx.cdl --- a/packages/devs/flash/intel/28fxxx/current/cdl/flash_intel_28fxxx.cdl +++ b/packages/devs/flash/intel/28fxxx/current/cdl/flash_intel_28fxxx.cdl @@ -9,6 +9,7 @@ ## ------------------------------------------- ## This file is part of eCos, the Embedded Configurable Operating System. ## Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc. +## Copyright (C) 2002 Gary Thomas ## ## eCos is free software; you can redistribute it and/or modify it under ## the terms of the GNU General Public License as published by the Free @@ -41,7 +42,7 @@ ######DESCRIPTIONBEGIN#### # # Author(s): jskov -# Contributors: jskov +# Contributors: jskov, gthomas # Date: 2001-03-21 # #####DESCRIPTIONEND#### @@ -82,6 +83,17 @@ cdl_package CYGPKG_DEVS_FLASH_INTEL_28FX part in the family." } + cdl_option CYGHWR_DEVS_FLASH_INTEL_28F320B3 { + display "Intel 28F320B3 flash memory support" + default_value 0 + implements CYGINT_DEVS_FLASH_INTEL_VARIANTS + description " + When this option is enabled, the Intel flash driver will be + able to recognize and handle the 28F320B3 + part in the family." + } + + cdl_option CYGHWR_DEVS_FLASH_INTEL_28F320C3 { display "Intel 28F320C3 flash memory support" default_value 0 diff --git a/packages/devs/flash/intel/28fxxx/current/include/flash_28fxxx_parts.inl b/packages/devs/flash/intel/28fxxx/current/include/flash_28fxxx_parts.inl --- a/packages/devs/flash/intel/28fxxx/current/include/flash_28fxxx_parts.inl +++ b/packages/devs/flash/intel/28fxxx/current/include/flash_28fxxx_parts.inl @@ -11,6 +11,7 @@ // ------------------------------------------- // This file is part of eCos, the Embedded Configurable Operating System. // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc. +// Copyright (C) 2002 Gary Thomas // // eCos is free software; you can redistribute it and/or modify it under // the terms of the GNU General Public License as published by the Free @@ -43,7 +44,7 @@ //#####DESCRIPTIONBEGIN#### // // Author(s): jskov -// Contributors: jskov +// Contributors: jskov, gthomas // Date: 2001-08-07 // Purpose: // Description: Intel 28Fxxx part descriptors @@ -105,6 +106,54 @@ }, #endif +#ifdef CYGHWR_DEVS_FLASH_INTEL_28F320B3 + { // 28F320B3-T + device_id : FLASHWORD(0x8896), + block_size : 0x10000 * CYGNUM_FLASH_INTERLEAVE, + block_count: 64, + device_size: 0x400000 * CYGNUM_FLASH_INTERLEAVE, + base_mask : ~(0x400000 * CYGNUM_FLASH_INTERLEAVE - 1), + locking : false, + buffered_w : false, + 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, + 0 + }, + banked : false + }, + { // 28F320B3-B + device_id : FLASHWORD(0x8897), + block_size : 0x10000 * CYGNUM_FLASH_INTERLEAVE, + block_count: 64, + device_size: 0x400000 * CYGNUM_FLASH_INTERLEAVE, + base_mask : ~(0x400000 * CYGNUM_FLASH_INTERLEAVE - 1), + locking : false, + buffered_w : false, + 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, + 0 + }, + banked : false + }, +#endif + + #ifdef CYGHWR_DEVS_FLASH_INTEL_28F320S3 { // 28F320S3 device_id : FLASHWORD(0x00d4),