1 |
786 |
skrzyp |
2006-01-27 Will Wagner
|
2 |
|
|
|
3 |
|
|
* include/ppc8xx.h: Add definition for frame and parity errors in BD ctrl.
|
4 |
|
|
Changed macro calculating SMCMR CLEN.
|
5 |
|
|
|
6 |
|
|
2004-04-01 Robert Chenault
|
7 |
|
|
|
8 |
|
|
* include/ppc8xx.h: Add definition for 8 bytes to spi_pram structure
|
9 |
|
|
(for a total of 48 bytes) as is done in the i2c_pram structure. Then
|
10 |
|
|
remove the equivalent 8 reserved bytes in the scc_pram structure.
|
11 |
|
|
|
12 |
|
|
2003-09-08 Gary Thomas
|
13 |
|
|
|
14 |
|
|
* src/quicc_smc1.c: Fix baud rate clock setup - was off by 1.
|
15 |
|
|
Reported by Tord Andersson
|
16 |
|
|
|
17 |
|
|
2003-03-31 Gary Thomas
|
18 |
|
|
|
19 |
|
|
* src/quicc_smc1.c (cyg_hal_sccx_init_channel): Proper handling
|
20 |
|
|
(signal routing) for SCC3 - differs on 850 and 850T!
|
21 |
|
|
|
22 |
|
|
2003-03-31 Jonathan Larmour
|
23 |
|
|
|
24 |
|
|
* src/quicc_smc1.c (cyg_hal_smcx_init_channel):
|
25 |
|
|
(cyg_hal_sccx_init_channel):
|
26 |
|
|
|
27 |
|
|
* src/cpm.c: Include for memset().
|
28 |
|
|
(_mpc8xx_reset_cpm): use CPM busy flag to check reset completion.
|
29 |
|
|
* src/quicc_smc1.c: Include for memset().
|
30 |
|
|
(cyg_hal_smcx_init_channel): Don't reset CPM here - let variant
|
31 |
|
|
initialization do it. Only let through RX interrupts.
|
32 |
|
|
(cyg_hal_sccx_init_channel): Ditto.
|
33 |
|
|
|
34 |
|
|
2003-03-23 Gary Thomas
|
35 |
|
|
|
36 |
|
|
* src/quicc_smc1.c: Use new baud rate generator allocation functions.
|
37 |
|
|
Merge SMC and SCC output functions.
|
38 |
|
|
|
39 |
|
|
* src/cpm.c: Add new function to allocate and manage the baud rate
|
40 |
|
|
generators. Used by all serial drivers.
|
41 |
|
|
|
42 |
|
|
* include/ppc8xx.h: Some common definitions moved here from various
|
43 |
|
|
QUICC serial files.
|
44 |
|
|
|
45 |
|
|
* cdl/hal_powerpc_quicc.cdl: Add interface for SCC4 (not implemented
|
46 |
|
|
by any platform yet)
|
47 |
|
|
|
48 |
|
|
2003-03-20 Gary Thomas
|
49 |
|
|
|
50 |
|
|
* src/cpm.c (_mpc8xx_allocBd): Improve "best guess" for intial DPRAM
|
51 |
|
|
allocation to use a value which is likely not to conflict with old
|
52 |
|
|
versions of RedBoot.
|
53 |
|
|
|
54 |
|
|
2003-03-18 Gary Thomas
|
55 |
|
|
|
56 |
|
|
* src/quicc_smc1.c (cyg_hal_sccx_init_channel): Update initialization
|
57 |
|
|
for SCC2 - *CAUTION* not tested on actual hardware.
|
58 |
|
|
|
59 |
|
|
2003-03-06 Gary Thomas
|
60 |
|
|
|
61 |
|
|
* src/cpm.c: Handle case where DPRAM allocation is unknown.
|
62 |
|
|
|
63 |
|
|
* include/ppc8xx.h: Define limits of CPM/DPRAM space.
|
64 |
|
|
|
65 |
|
|
2003-03-05 Gary Thomas
|
66 |
|
|
|
67 |
|
|
* src/quicc_smc1.c: Need to flush data cache because the serial
|
68 |
|
|
driver may set use buffers in cacheable memory. Without this,
|
69 |
|
|
diag_printf() falls over if the serial driver is ever used.
|
70 |
|
|
|
71 |
|
|
* src/cpm.c: New file with CPM/DPRAM support.
|
72 |
|
|
|
73 |
|
|
* include/ppc8xx.h:
|
74 |
|
|
* cdl/hal_powerpc_quicc.cdl: Split out support for CPM/DPRAM.
|
75 |
|
|
|
76 |
|
|
2002-11-26 Gary Thomas
|
77 |
|
|
|
78 |
|
|
* src/quicc_smc1.c: Initialize BD allocation point. Note that it is
|
79 |
|
|
different from when the CPM get's reset directly. This is to allow
|
80 |
|
|
sharing of the space between ROM (RedBoot) code and applications.
|
81 |
|
|
|
82 |
|
|
* cdl/hal_powerpc_quicc.cdl: Move platform define here, where it belongs.
|
83 |
|
|
|
84 |
|
|
2002-11-25 Gary Thomas
|
85 |
|
|
|
86 |
|
|
* src/quicc_smc1.c: Support any combination of SMC1/SMC2 and
|
87 |
|
|
SCC1/SCC2/SCC3 [or at least lay foundation for it]
|
88 |
|
|
|
89 |
|
|
* cdl/hal_powerpc_quicc.cdl: Add more controls over port layout.
|
90 |
|
|
|
91 |
|
|
2002-07-18 Gary Thomas
|
92 |
|
|
|
93 |
|
|
* src/quicc_smc1.c (cyg_hal_scc1_init_channel): Fix init which
|
94 |
|
|
failed from power-up - wrong channel in CP command!
|
95 |
|
|
|
96 |
|
|
2002-07-11 Gary Thomas
|
97 |
|
|
|
98 |
|
|
* src/quicc_smc1.c:
|
99 |
|
|
* include/quicc_smc1.h:
|
100 |
|
|
* cdl/hal_powerpc_quicc.cdl: Add support for SCC1 as a serial
|
101 |
|
|
console (for newer chips which have this available).
|
102 |
|
|
|
103 |
|
|
2002-06-25 Gary Thomas
|
104 |
|
|
|
105 |
|
|
* src/quicc_smc1.c:
|
106 |
|
|
* cdl/hal_powerpc_quicc.cdl: Use more common CDL name for baudrate
|
107 |
|
|
CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL_BAUD.
|
108 |
|
|
|
109 |
|
|
2002-05-30 Jesper Skov
|
110 |
|
|
|
111 |
|
|
* src/quicc_smc1.c: Fix warning.
|
112 |
|
|
|
113 |
|
|
2001-09-10 Jonathan Larmour
|
114 |
|
|
|
115 |
|
|
* cdl/hal_powerpc_quicc.cdl (CYGNUM_HAL_QUICC_DIAG_BAUD):
|
116 |
|
|
234000->230400 typo.
|
117 |
|
|
|
118 |
|
|
2001-07-31 Jonathan Larmour
|
119 |
|
|
2001-07-31 Christoph Csebits
|
120 |
|
|
|
121 |
|
|
* include/ppc8xx.h: 4 SCCs are supported by MPC860T, so don't
|
122 |
|
|
reserve space.
|
123 |
|
|
|
124 |
|
|
2001-01-26 Jesper Skov
|
125 |
|
|
|
126 |
|
|
* src/quicc_smc1.c: Removed CYGSEM_HAL_VIRTUAL_VECTOR_DIAG check.
|
127 |
|
|
|
128 |
|
|
2001-01-15 Gary Thomas
|
129 |
|
|
|
130 |
|
|
* src/quicc_smc1.c: Provide for multiple serial input buffers
|
131 |
|
|
since the single buffer/descriptor model fails miserably on some
|
132 |
|
|
newer chips [at least 855T].
|
133 |
|
|
|
134 |
|
|
2001-01-03 Gary Thomas
|
135 |
|
|
|
136 |
|
|
* include/ppc8xx.h: Layout of I2C and IDMA was [slightly] wrong.
|
137 |
|
|
|
138 |
|
|
2000-08-30 Jesper Skov
|
139 |
|
|
|
140 |
|
|
* src/quicc_smc1.c (cyg_hal_plf_serial_init_channel): Move all
|
141 |
|
|
init code to init_channel.
|
142 |
|
|
|
143 |
|
|
2000-06-30 Jesper Skov
|
144 |
|
|
|
145 |
|
|
* src/quicc_smc1.c: calling i/f macro changes.
|
146 |
|
|
|
147 |
|
|
2000-06-28 Jesper Skov
|
148 |
|
|
|
149 |
|
|
* include/quicc_smc1.h:
|
150 |
|
|
* src/quicc_smc1.c: Cleanup.
|
151 |
|
|
|
152 |
|
|
2000-06-26 Jesper Skov
|
153 |
|
|
|
154 |
|
|
* include/quicc_smc1.h:
|
155 |
|
|
* src/quicc_smc1.c: Added non-block/timout features. Reworked
|
156 |
|
|
Ctrl-c support code.
|
157 |
|
|
|
158 |
|
|
2000-06-22 Jesper Skov
|
159 |
|
|
|
160 |
|
|
* src/quicc_smc1.c: Fix compiler warning. Add functions to deal
|
161 |
|
|
with ctrl-c interrupts from the device.
|
162 |
|
|
|
163 |
|
|
2000-06-21 Jesper Skov
|
164 |
|
|
|
165 |
|
|
* src/quicc_smc1.c:
|
166 |
|
|
* include/quicc_smc1.h:
|
167 |
|
|
Allow callers to specify base. Added code to initialize vector
|
168 |
|
|
procs table.
|
169 |
|
|
|
170 |
|
|
2000-06-16 Jesper Skov
|
171 |
|
|
|
172 |
|
|
* src/quicc_smc1.c (hal_ctrlc_isr): Check that interrupt is
|
173 |
|
|
generated by serial controller.
|
174 |
|
|
|
175 |
|
|
2000-06-13 Jesper Skov
|
176 |
|
|
|
177 |
|
|
* src/quicc_smc1.c:
|
178 |
|
|
* include/quicc_smc1.h:
|
179 |
|
|
Added ctrlc handling for use via virtual vector table.
|
180 |
|
|
|
181 |
|
|
2000-03-03 Gary Thomas
|
182 |
|
|
|
183 |
|
|
* src/quicc_smc1.c: Use common CPM defines (now in ppc8xx.h).
|
184 |
|
|
|
185 |
|
|
* include/ppc8xx.h: Add some generic defines for CPM. Also
|
186 |
|
|
refine ucode area for easier use (someday).
|
187 |
|
|
|
188 |
|
|
start-serialize-newcdl
|
189 |
|
|
2000-02-29 Gary Thomas
|
190 |
|
|
|
191 |
|
|
* src/quicc_smc1.c (UART_BAUD_RATE): Use CDL option for baud rate.
|
192 |
|
|
|
193 |
|
|
* cdl/hal_powerpc_quicc.cdl: Add option to control diag serial
|
194 |
|
|
baud rate, rather than being fixed at 38400.
|
195 |
|
|
|
196 |
|
|
end-serialize-newcdl
|
197 |
|
|
2000-02-21 Gary Thomas
|
198 |
|
|
|
199 |
|
|
* src/quicc_smc1.c (UART_BIT_RATE): Handle system clock speeds
|
200 |
|
|
which are not integer multiples of MHz, e.g. 33.33 MHz.
|
201 |
|
|
|
202 |
|
|
2000-02-04 Jesper Skov
|
203 |
|
|
|
204 |
|
|
* src/quicc_smc1.c (cyg_quicc_smc1_uart_rcvchar): Get frequency
|
205 |
|
|
from new CYGHWR_HAL_POWERPC_BOARD_SPEED variable.
|
206 |
|
|
|
207 |
|
|
2000-02-03 Jesper Skov
|
208 |
|
|
|
209 |
|
|
* src/quicc_smc1.c: CYG_HAL_POWERPC_x->CYGPKG_...
|
210 |
|
|
|
211 |
|
|
1999-09-02 Gary Thomas
|
212 |
|
|
|
213 |
|
|
* src/quicc_smc1.c (init_smc1_uart): Generalize baud rate computation.
|
214 |
|
|
|
215 |
|
|
1999-09-01 Gary Thomas
|
216 |
|
|
|
217 |
|
|
* include/ppc8xx.h: Add some missing definitions (MAR, MBMR).
|
218 |
|
|
|
219 |
|
|
1999-06-27 Gary Thomas
|
220 |
|
|
|
221 |
|
|
* src/quicc_smc1.c: Many changes which allow these routines to
|
222 |
|
|
cooperate when the SMC is being used by a serial "driver" as well.
|
223 |
|
|
In particular, remove "hard coded" resources on the SMC.
|
224 |
|
|
Note: there is some lingering problem with the transmit routines
|
225 |
|
|
[globally] after the serial driver re-inits the SMC. Of course
|
226 |
|
|
this problem is intermittent, so it's hard to fix.
|
227 |
|
|
|
228 |
|
|
1999-06-24 Hugo Tyson
|
229 |
|
|
|
230 |
|
|
* src/quicc_smc1.c (cyg_hal_gdb_isr): Add this routine to trap ^C
|
231 |
|
|
events and stop the system, if CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT.
|
232 |
|
|
|
233 |
|
|
1999-06-24 Hugo Tyson
|
234 |
|
|
|
235 |
|
|
* src/quicc_smc1.c (cyg_quicc_init_smc1): Remove unused, commented
|
236 |
|
|
out code, that was left over from CygMon version of this file.
|
237 |
|
|
|
238 |
|
|
1999-06-18 Hugo Tyson
|
239 |
|
|
|
240 |
|
|
* src/quicc_smc1.c (init_smc1_uart): Use default 38400 Baud,
|
241 |
|
|
because it is better.
|
242 |
|
|
|
243 |
|
|
1999-06-18 Jesper Skov
|
244 |
|
|
|
245 |
|
|
* include/pkgconf/hal_quicc.h: Fixed CDL description.
|
246 |
|
|
|
247 |
|
|
1999-06-17 Hugo Tyson
|
248 |
|
|
|
249 |
|
|
* src/quicc_smc1.c (init_smc1_uart): Initialize the baud rate
|
250 |
|
|
depending on the system clock setting.
|
251 |
|
|
|
252 |
|
|
1999-06-15 Hugo Tyson
|
253 |
|
|
|
254 |
|
|
* src/quicc_smc1.c: Moved include of ppc8xx.h
|
255 |
|
|
|
256 |
|
|
* src/ppc8xx.h: Removed, to...
|
257 |
|
|
|
258 |
|
|
* include/ppc8xx.h: New file. Moved here so that platform startup
|
259 |
|
|
code can share it.
|
260 |
|
|
|
261 |
|
|
1999-06-10 Hugo Tyson
|
262 |
|
|
|
263 |
|
|
* src/quicc_smc1.c: Make this file safe for compilation even when
|
264 |
|
|
no PowerPC 860 is in use; pkgconf can enable this component for
|
265 |
|
|
any target, potentially.
|
266 |
|
|
|
267 |
|
|
1999-06-10 Hugo Tyson
|
268 |
|
|
|
269 |
|
|
* ChangeLog: Component created, based partly on the FADS work and
|
270 |
|
|
on CygMon's serial IO code for the MBX860, to support the Motorola
|
271 |
|
|
MBX860 QUICC serial controller for basic IO.
|
272 |
|
|
Initially only used in the neighbouring platform component
|
273 |
|
|
HAL_POWERPC_MBX [hal/powerpc/mbx/....]
|
274 |
|
|
|
275 |
|
|
* include/quicc_smc1.h
|
276 |
|
|
* include/pkgconf/hal_quicc.h
|
277 |
|
|
* src/PKGconf.mak
|
278 |
|
|
* src/ppc8xx.h
|
279 |
|
|
* src/quicc_smc1.c
|
280 |
|
|
New files.
|
281 |
|
|
|
282 |
|
|
//===========================================================================
|
283 |
|
|
// ####GPLCOPYRIGHTBEGIN####
|
284 |
|
|
// -------------------------------------------
|
285 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
286 |
|
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
|
287 |
|
|
//
|
288 |
|
|
// This program is free software; you can redistribute it and/or modify
|
289 |
|
|
// it under the terms of the GNU General Public License as published by
|
290 |
|
|
// the Free Software Foundation; either version 2 or (at your option) any
|
291 |
|
|
// later version.
|
292 |
|
|
//
|
293 |
|
|
// This program is distributed in the hope that it will be useful, but
|
294 |
|
|
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
295 |
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
296 |
|
|
// General Public License for more details.
|
297 |
|
|
//
|
298 |
|
|
// You should have received a copy of the GNU General Public License
|
299 |
|
|
// along with this program; if not, write to the
|
300 |
|
|
// Free Software Foundation, Inc., 51 Franklin Street,
|
301 |
|
|
// Fifth Floor, Boston, MA 02110-1301, USA.
|
302 |
|
|
// -------------------------------------------
|
303 |
|
|
// ####GPLCOPYRIGHTEND####
|
304 |
|
|
//===========================================================================
|