comparison packages/devs/flash/intel/28fxxx/current/include/flash_28fxxx_parts.inl @ 262:3d3a7f481015

Add support for 28F320B3 (from Jani Monoses)
author gthomas
date Mon, 05 Aug 2002 13:31:36 +0000
parents d2c90368aeef
children aae52574f8c5
comparison
equal deleted inserted replaced
261:72947dc266ac 262:3d3a7f481015
9 //========================================================================== 9 //==========================================================================
10 //####ECOSGPLCOPYRIGHTBEGIN#### 10 //####ECOSGPLCOPYRIGHTBEGIN####
11 // ------------------------------------------- 11 // -------------------------------------------
12 // This file is part of eCos, the Embedded Configurable Operating System. 12 // This file is part of eCos, the Embedded Configurable Operating System.
13 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc. 13 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
14 // Copyright (C) 2002 Gary Thomas
14 // 15 //
15 // eCos is free software; you can redistribute it and/or modify it under 16 // eCos is free software; you can redistribute it and/or modify it under
16 // the terms of the GNU General Public License as published by the Free 17 // the terms of the GNU General Public License as published by the Free
17 // Software Foundation; either version 2 or (at your option) any later version. 18 // Software Foundation; either version 2 or (at your option) any later version.
18 // 19 //
41 //####ECOSGPLCOPYRIGHTEND#### 42 //####ECOSGPLCOPYRIGHTEND####
42 //========================================================================== 43 //==========================================================================
43 //#####DESCRIPTIONBEGIN#### 44 //#####DESCRIPTIONBEGIN####
44 // 45 //
45 // Author(s): jskov 46 // Author(s): jskov
46 // Contributors: jskov 47 // Contributors: jskov, gthomas
47 // Date: 2001-08-07 48 // Date: 2001-08-07
48 // Purpose: 49 // Purpose:
49 // Description: Intel 28Fxxx part descriptors 50 // Description: Intel 28Fxxx part descriptors
50 // Usage: Should be included from the flash_28fxxx.inl file only. 51 // Usage: Should be included from the flash_28fxxx.inl file only.
51 // 52 //
103 }, 104 },
104 banked : false 105 banked : false
105 }, 106 },
106 #endif 107 #endif
107 108
109 #ifdef CYGHWR_DEVS_FLASH_INTEL_28F320B3
110 { // 28F320B3-T
111 device_id : FLASHWORD(0x8896),
112 block_size : 0x10000 * CYGNUM_FLASH_INTERLEAVE,
113 block_count: 64,
114 device_size: 0x400000 * CYGNUM_FLASH_INTERLEAVE,
115 base_mask : ~(0x400000 * CYGNUM_FLASH_INTERLEAVE - 1),
116 locking : false,
117 buffered_w : false,
118 bootblock : true,
119 bootblocks : { 0x3f0000 * CYGNUM_FLASH_INTERLEAVE,
120 0x002000 * CYGNUM_FLASH_INTERLEAVE,
121 0x002000 * CYGNUM_FLASH_INTERLEAVE,
122 0x002000 * CYGNUM_FLASH_INTERLEAVE,
123 0x002000 * CYGNUM_FLASH_INTERLEAVE,
124 0x002000 * CYGNUM_FLASH_INTERLEAVE,
125 0x002000 * CYGNUM_FLASH_INTERLEAVE,
126 0x002000 * CYGNUM_FLASH_INTERLEAVE,
127 0x002000 * CYGNUM_FLASH_INTERLEAVE,
128 0
129 },
130 banked : false
131 },
132 { // 28F320B3-B
133 device_id : FLASHWORD(0x8897),
134 block_size : 0x10000 * CYGNUM_FLASH_INTERLEAVE,
135 block_count: 64,
136 device_size: 0x400000 * CYGNUM_FLASH_INTERLEAVE,
137 base_mask : ~(0x400000 * CYGNUM_FLASH_INTERLEAVE - 1),
138 locking : false,
139 buffered_w : false,
140 bootblock : true,
141 bootblocks : { 0x000000 * CYGNUM_FLASH_INTERLEAVE,
142 0x002000 * CYGNUM_FLASH_INTERLEAVE,
143 0x002000 * CYGNUM_FLASH_INTERLEAVE,
144 0x002000 * CYGNUM_FLASH_INTERLEAVE,
145 0x002000 * CYGNUM_FLASH_INTERLEAVE,
146 0x002000 * CYGNUM_FLASH_INTERLEAVE,
147 0x002000 * CYGNUM_FLASH_INTERLEAVE,
148 0x002000 * CYGNUM_FLASH_INTERLEAVE,
149 0x002000 * CYGNUM_FLASH_INTERLEAVE,
150 0
151 },
152 banked : false
153 },
154 #endif
155
156
108 #ifdef CYGHWR_DEVS_FLASH_INTEL_28F320S3 157 #ifdef CYGHWR_DEVS_FLASH_INTEL_28F320S3
109 { // 28F320S3 158 { // 28F320S3
110 device_id : FLASHWORD(0x00d4), 159 device_id : FLASHWORD(0x00d4),
111 block_size : 0x10000 * CYGNUM_FLASH_INTERLEAVE, 160 block_size : 0x10000 * CYGNUM_FLASH_INTERLEAVE,
112 block_count: 64, 161 block_count: 64,