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