1 |
786 |
skrzyp |
2009-04-02 John Dallaway
|
2 |
|
|
|
3 |
|
|
* cdl/spi_at91.cdl: Fix typographical error for
|
4 |
|
|
CYGINT_DEVS_SPI_ARM_AT91_HAS_BUS1. [ Bugzilla 1000737 ]
|
5 |
|
|
|
6 |
|
|
2009-02-16 Jonathan Larmour
|
7 |
|
|
|
8 |
|
|
* src/spi_at91.c (cyg_spi_at91_bus_init): Partially revert change of
|
9 |
|
|
2009-02-11. Define an empty CYGBLD_ATTRIB_C_INIT_PRI and rely on
|
10 |
|
|
spi_at91_init.cxx to call, in case the compiler does not supply
|
11 |
|
|
that macro (e.g. if too old).
|
12 |
|
|
* cdl/spi_at91.cdl: Revert change of 2009-02-11.
|
13 |
|
|
* src/spi_at91_init.cxx: Revive. Set priority to CYG_INIT_BUS_SPI.
|
14 |
|
|
Conditionalise on CYGBLD_ATTRIB_C_INIT_PRI.
|
15 |
|
|
|
16 |
|
|
2009-02-12 Nick Garnett
|
17 |
|
|
|
18 |
|
|
* cdl/spi_at91.cdl: Add a requires for CYGPKG_ERROR.
|
19 |
|
|
|
20 |
|
|
2009-02-11 Bart Veer
|
21 |
|
|
|
22 |
|
|
* src/spi_at91.c (cyg_spi_at91_bus_init): turn into a prioritized
|
23 |
|
|
constructor, make it a static and rename.
|
24 |
|
|
|
25 |
|
|
* cdl/spi_at91.cdl: remove src/spi_at91_init.cxx
|
26 |
|
|
|
27 |
|
|
* src/spi_at91_init.cxx: removed, no longer needed.
|
28 |
|
|
|
29 |
|
|
2008-10-19 Igor B. Poretsky
|
30 |
|
|
|
31 |
|
|
* src/spi_at91.c: Typo fixes from var_io.h. Correctly calculate
|
32 |
|
|
the board rate. Before it was two times too fast.
|
33 |
|
|
|
34 |
|
|
2006-09-27 Andrew Lunn
|
35 |
|
|
|
36 |
|
|
* src/spi_at91.c (spi_at91_transaction_begin): Don't use #ifdef
|
37 |
|
|
inside a macro invocation. The compiler throws a wobbly.
|
38 |
|
|
|
39 |
|
|
2006-09-07 John Eigelaar
|
40 |
|
|
|
41 |
|
|
* src/spi_at91.c: Fixed the chip select functions.
|
42 |
|
|
Changed the Mode Register setup as to disable the Mode Failure
|
43 |
|
|
Detaction for variants that support it. The Mode Failure Detection
|
44 |
|
|
breaks because NPCS0 is not connected, we are using GPIO, and is
|
45 |
|
|
thus floating.
|
46 |
|
|
|
47 |
|
|
2006-06-01 John Eigelaar
|
48 |
|
|
|
49 |
|
|
* src/spi_at91.c:
|
50 |
|
|
* cdl/spi_at91.cdl:
|
51 |
|
|
* include/spi_at91.h: Generalize so that multiple SPI
|
52 |
|
|
busses can be driven.
|
53 |
|
|
|
54 |
|
|
2006-05-19 Andrew Lunn
|
55 |
|
|
|
56 |
|
|
* src/spi_at91.c: Use the AT91 GPIO/PIO macros to aid
|
57 |
|
|
portability between different AT91 device.
|
58 |
|
|
|
59 |
|
|
2004-11-11 Sebastian Block
|
60 |
|
|
|
61 |
|
|
* src/spi_at91.c: Fixed negation of the chip select signal when
|
62 |
|
|
not using a 4 to 16 decoder
|
63 |
|
|
|
64 |
|
|
2004-10-13 Savin Zlobec
|
65 |
|
|
|
66 |
|
|
* src/spi_at91.c: Fixed a typo in spi_at91_transfer reported by
|
67 |
|
|
Nicolas Brouard.
|
68 |
|
|
|
69 |
|
|
2004-08-31 Savin Zlobec
|
70 |
|
|
|
71 |
|
|
* include/spi_at91.h:
|
72 |
|
|
* src/spi_at91.c:
|
73 |
|
|
Moved SPI registers and bits defines to HAL headers, added support
|
74 |
|
|
for 4 to 16 decoder of chip select signals, support for transfers
|
75 |
|
|
larger than 2^16 and per device configurable delay between two
|
76 |
|
|
transfers.
|
77 |
|
|
* cdl/spi_at91.cdl:
|
78 |
|
|
Added option to enable support for 4 to 16 decoder of chip select
|
79 |
|
|
signals.
|
80 |
|
|
|
81 |
|
|
2004-08-27 Savin Zlobec
|
82 |
|
|
|
83 |
|
|
* cdl/spi_at91.cdl:
|
84 |
|
|
* include/spi_at91.h:
|
85 |
|
|
* src/spi_at91.c:
|
86 |
|
|
* src/spi_at91_init.cxx:
|
87 |
|
|
Atmel AT91 SPI bus driver implementation.
|
88 |
|
|
|
89 |
|
|
|
90 |
|
|
|
91 |
|
|
//===========================================================================
|
92 |
|
|
// ####GPLCOPYRIGHTBEGIN####
|
93 |
|
|
// -------------------------------------------
|
94 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
95 |
|
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2009 Free Software Foundation, Inc.
|
96 |
|
|
//
|
97 |
|
|
// This program is free software; you can redistribute it and/or modify
|
98 |
|
|
// it under the terms of the GNU General Public License as published by
|
99 |
|
|
// the Free Software Foundation; either version 2 or (at your option) any
|
100 |
|
|
// later version.
|
101 |
|
|
//
|
102 |
|
|
// This program is distributed in the hope that it will be useful, but
|
103 |
|
|
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
104 |
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
105 |
|
|
// General Public License for more details.
|
106 |
|
|
//
|
107 |
|
|
// You should have received a copy of the GNU General Public License
|
108 |
|
|
// along with this program; if not, write to the
|
109 |
|
|
// Free Software Foundation, Inc., 51 Franklin Street,
|
110 |
|
|
// Fifth Floor, Boston, MA 02110-1301, USA.
|
111 |
|
|
// -------------------------------------------
|
112 |
|
|
// ####GPLCOPYRIGHTEND####
|
113 |
|
|
//===========================================================================
|