annotate packages/devs/flash/atmel/at49xxxx/current/cdl/flash_atmel_at49xxxx.cdl @ 1731:a24c2d6d8afa

* cdl/flash_atmel_at49xxxx.cdl: Fixed typo in CYGHWR_IO_FLASH_DEVICE_LEGACY.
author asl
date Thu, 30 Sep 2004 18:10:03 +0000
parents d4ce7bf7bdb7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1014
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
1 # ====================================================================
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
2 #
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
3 # flash_atmel_at49xxxx.cdl
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
4 #
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
5 # FLASH memory - Hardware support for Atmel AT49xxxx parts
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
6 #
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
7 # ====================================================================
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
8 #####ECOSGPLCOPYRIGHTBEGIN####
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
9 ## -------------------------------------------
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
10 ## This file is part of eCos, the Embedded Configurable Operating System.
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
11 ## Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
12 ##
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
13 ## eCos is free software; you can redistribute it and/or modify it under
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
14 ## the terms of the GNU General Public License as published by the Free
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
15 ## Software Foundation; either version 2 or (at your option) any later version.
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
16 ##
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
17 ## eCos is distributed in the hope that it will be useful, but WITHOUT ANY
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
18 ## WARRANTY; without even the implied warranty of MERCHANTABILITY or
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
19 ## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
20 ## for more details.
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
21 ##
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
22 ## You should have received a copy of the GNU General Public License along
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
23 ## with eCos; if not, write to the Free Software Foundation, Inc.,
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
24 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
25 ##
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
26 ## As a special exception, if other files instantiate templates or use macros
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
27 ## or inline functions from this file, or you compile this file and link it
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
28 ## with other works to produce a work based on this file, this file does not
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
29 ## by itself cause the resulting work to be covered by the GNU General Public
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
30 ## License. However the source code for this file must still be made available
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
31 ## in accordance with section (3) of the GNU General Public License.
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
32 ##
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
33 ## This exception does not invalidate any other reasons why a work based on
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
34 ## this file might be covered by the GNU General Public License.
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
35 ##
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
36 ## Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
37 ## at http://sources.redhat.com/ecos/ecos-license/
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
38 ## -------------------------------------------
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
39 #####ECOSGPLCOPYRIGHTEND####
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
40 # ====================================================================
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
41 ######DESCRIPTIONBEGIN####
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
42 #
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
43 # Author(s): jani@iv.ro
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
44 # Contributors:
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
45 # Date: 2002-06-24
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
46 #
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
47 #####DESCRIPTIONEND####
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
48 #
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
49 # ====================================================================
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
50
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
51 cdl_package CYGPKG_DEVS_FLASH_ATMEL_AT49XXXX {
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
52 display "Atmel AT49XXXX FLASH memory support"
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
53 description "FLASH memory device support for Atmel AT49XXXX"
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
54 parent CYGPKG_IO_FLASH
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
55 active_if CYGPKG_IO_FLASH
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
56
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
57 active_if CYGINT_DEVS_FLASH_ATMEL_AT49XXXX_REQUIRED
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
58
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
59 implements CYGHWR_IO_FLASH_DEVICE
1731
a24c2d6d8afa * cdl/flash_atmel_at49xxxx.cdl: Fixed typo in
asl
parents: 1704
diff changeset
60 implements CYGHWR_IO_FLASH_DEVICE_LEGACY
1704
d4ce7bf7bdb7 Indicate that these drivers need the legacy device API.
asl
parents: 1658
diff changeset
61
1014
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
62 include_dir cyg/io
1658
79f7073a7a00 * cdl/flash_atmel_at49xxxx.cdl:
jlarmour
parents: 1109
diff changeset
63
79f7073a7a00 * cdl/flash_atmel_at49xxxx.cdl:
jlarmour
parents: 1109
diff changeset
64 cdl_option CYGHWR_DEVS_FLASH_ATMEL_AT49XXXX_ERASE_BUG_WORKAROUND {
79f7073a7a00 * cdl/flash_atmel_at49xxxx.cdl:
jlarmour
parents: 1109
diff changeset
65 display "AT91FR40162 erase bug workaround"
79f7073a7a00 * cdl/flash_atmel_at49xxxx.cdl:
jlarmour
parents: 1109
diff changeset
66 flavor bool
79f7073a7a00 * cdl/flash_atmel_at49xxxx.cdl:
jlarmour
parents: 1109
diff changeset
67 default_value 0
79f7073a7a00 * cdl/flash_atmel_at49xxxx.cdl:
jlarmour
parents: 1109
diff changeset
68 description "
79f7073a7a00 * cdl/flash_atmel_at49xxxx.cdl:
jlarmour
parents: 1109
diff changeset
69 The flash chips used in Atmel AT91FR40162 microcontrollers have a silicon bug
79f7073a7a00 * cdl/flash_atmel_at49xxxx.cdl:
jlarmour
parents: 1109
diff changeset
70 that causes erase operations to be unreliable unless any data to be erased is
79f7073a7a00 * cdl/flash_atmel_at49xxxx.cdl:
jlarmour
parents: 1109
diff changeset
71 cleared first, see http://www.atmel.com/dyn/resources/prod_documents/doc6076.pdf.
79f7073a7a00 * cdl/flash_atmel_at49xxxx.cdl:
jlarmour
parents: 1109
diff changeset
72 Selecting this option enables that workaround. Of course, erase operations will be
79f7073a7a00 * cdl/flash_atmel_at49xxxx.cdl:
jlarmour
parents: 1109
diff changeset
73 slower then."
79f7073a7a00 * cdl/flash_atmel_at49xxxx.cdl:
jlarmour
parents: 1109
diff changeset
74 }
1014
d8106c7ccb64 Added Flash support for EB40A, EB42 and EB55.
nickg
parents:
diff changeset
75 }
1109
765b70faae43 add missing eof
jlarmour
parents: 1014
diff changeset
76
765b70faae43 add missing eof
jlarmour
parents: 1014
diff changeset
77 # EOF flash_atmel_49xxxx.cdl