1 2006-01-27 Will Wagner <willw@carallon.com>
3 * include/ppc8xx.h: Add definition for frame and parity errors in BD ctrl.
4 Changed macro calculating SMCMR CLEN.
6 2004-04-01 Robert Chenault <robertchenault@yahoo.com>
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.
12 2003-09-08 Gary Thomas <gary@mlbassoc.com>
14 * src/quicc_smc1.c: Fix baud rate clock setup - was off by 1.
15 Reported by Tord Andersson <Tord.Andersson@combitechsystems.com>
17 2003-03-31 Gary Thomas <gary@mlbassoc.com>
19 * src/quicc_smc1.c (cyg_hal_sccx_init_channel): Proper handling
20 (signal routing) for SCC3 - differs on 850 and 850T!
22 2003-03-31 Jonathan Larmour <jifl@eCosCentric.com>
24 * src/quicc_smc1.c (cyg_hal_smcx_init_channel):
25 (cyg_hal_sccx_init_channel):
27 * src/cpm.c: Include <string.h> for memset().
28 (_mpc8xx_reset_cpm): use CPM busy flag to check reset completion.
29 * src/quicc_smc1.c: Include <string.h> 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.
34 2003-03-23 Gary Thomas <gary@mlbassoc.com>
36 * src/quicc_smc1.c: Use new baud rate generator allocation functions.
37 Merge SMC and SCC output functions.
39 * src/cpm.c: Add new function to allocate and manage the baud rate
40 generators. Used by all serial drivers.
42 * include/ppc8xx.h: Some common definitions moved here from various
45 * cdl/hal_powerpc_quicc.cdl: Add interface for SCC4 (not implemented
48 2003-03-20 Gary Thomas <gary@mlbassoc.com>
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
54 2003-03-18 Gary Thomas <gary@mlbassoc.com>
56 * src/quicc_smc1.c (cyg_hal_sccx_init_channel): Update initialization
57 for SCC2 - *CAUTION* not tested on actual hardware.
59 2003-03-06 Gary Thomas <gary@mlbassoc.com>
61 * src/cpm.c: Handle case where DPRAM allocation is unknown.
63 * include/ppc8xx.h: Define limits of CPM/DPRAM space.
65 2003-03-05 Gary Thomas <gary@mlbassoc.com>
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.
71 * src/cpm.c: New file with CPM/DPRAM support.
74 * cdl/hal_powerpc_quicc.cdl: Split out support for CPM/DPRAM.
76 2002-11-26 Gary Thomas <gthomas@ecoscentric.com>
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.
82 * cdl/hal_powerpc_quicc.cdl: Move platform define here, where it belongs.
84 2002-11-25 Gary Thomas <gthomas@ecoscentric.com>
86 * src/quicc_smc1.c: Support any combination of SMC1/SMC2 and
87 SCC1/SCC2/SCC3 [or at least lay foundation for it]
89 * cdl/hal_powerpc_quicc.cdl: Add more controls over port layout.
91 2002-07-18 Gary Thomas <gary@chez-thomas.org>
93 * src/quicc_smc1.c (cyg_hal_scc1_init_channel): Fix init which
94 failed from power-up - wrong channel in CP command!
96 2002-07-11 Gary Thomas <gary@chez-thomas.org>
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).
103 2002-06-25 Gary Thomas <gary@chez-thomas.org>
106 * cdl/hal_powerpc_quicc.cdl: Use more common CDL name for baudrate
107 CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL_BAUD.
109 2002-05-30 Jesper Skov <jskov@redhat.com>
111 * src/quicc_smc1.c: Fix warning.
113 2001-09-10 Jonathan Larmour <jlarmour@redhat.com>
115 * cdl/hal_powerpc_quicc.cdl (CYGNUM_HAL_QUICC_DIAG_BAUD):
118 2001-07-31 Jonathan Larmour <jlarmour@redhat.com>
119 2001-07-31 Christoph Csebits <christoph.csebits@frequentis.com>
121 * include/ppc8xx.h: 4 SCCs are supported by MPC860T, so don't
124 2001-01-26 Jesper Skov <jskov@redhat.com>
126 * src/quicc_smc1.c: Removed CYGSEM_HAL_VIRTUAL_VECTOR_DIAG check.
128 2001-01-15 Gary Thomas <gthomas@redhat.com>
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].
134 2001-01-03 Gary Thomas <gthomas@redhat.com>
136 * include/ppc8xx.h: Layout of I2C and IDMA was [slightly] wrong.
138 2000-08-30 Jesper Skov <jskov@redhat.com>
140 * src/quicc_smc1.c (cyg_hal_plf_serial_init_channel): Move all
141 init code to init_channel.
143 2000-06-30 Jesper Skov <jskov@redhat.com>
145 * src/quicc_smc1.c: calling i/f macro changes.
147 2000-06-28 Jesper Skov <jskov@redhat.com>
149 * include/quicc_smc1.h:
150 * src/quicc_smc1.c: Cleanup.
152 2000-06-26 Jesper Skov <jskov@redhat.com>
154 * include/quicc_smc1.h:
155 * src/quicc_smc1.c: Added non-block/timout features. Reworked
158 2000-06-22 Jesper Skov <jskov@redhat.com>
160 * src/quicc_smc1.c: Fix compiler warning. Add functions to deal
161 with ctrl-c interrupts from the device.
163 2000-06-21 Jesper Skov <jskov@redhat.com>
166 * include/quicc_smc1.h:
167 Allow callers to specify base. Added code to initialize vector
170 2000-06-16 Jesper Skov <jskov@redhat.com>
172 * src/quicc_smc1.c (hal_ctrlc_isr): Check that interrupt is
173 generated by serial controller.
175 2000-06-13 Jesper Skov <jskov@redhat.com>
178 * include/quicc_smc1.h:
179 Added ctrlc handling for use via virtual vector table.
181 2000-03-03 Gary Thomas <gthomas@redhat.com>
183 * src/quicc_smc1.c: Use common CPM defines (now in ppc8xx.h).
185 * include/ppc8xx.h: Add some generic defines for CPM. Also
186 refine ucode area for easier use (someday).
188 start-serialize-newcdl
189 2000-02-29 Gary Thomas <gthomas@cygnus.co.uk>
191 * src/quicc_smc1.c (UART_BAUD_RATE): Use CDL option for baud rate.
193 * cdl/hal_powerpc_quicc.cdl: Add option to control diag serial
194 baud rate, rather than being fixed at 38400.
197 2000-02-21 Gary Thomas <gthomas@cygnus.co.uk>
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.
202 2000-02-04 Jesper Skov <jskov@redhat.com>
204 * src/quicc_smc1.c (cyg_quicc_smc1_uart_rcvchar): Get frequency
205 from new CYGHWR_HAL_POWERPC_BOARD_SPEED variable.
207 2000-02-03 Jesper Skov <jskov@redhat.com>
209 * src/quicc_smc1.c: CYG_HAL_POWERPC_x->CYGPKG_...
211 1999-09-02 Gary Thomas <gthomas@cygnus.co.uk>
213 * src/quicc_smc1.c (init_smc1_uart): Generalize baud rate computation.
215 1999-09-01 Gary Thomas <gthomas@cygnus.co.uk>
217 * include/ppc8xx.h: Add some missing definitions (MAR, MBMR).
219 1999-06-27 Gary Thomas <gthomas@cygnus.co.uk>
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.
228 1999-06-24 Hugo Tyson <hmt@cygnus.co.uk>
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.
233 1999-06-24 Hugo Tyson <hmt@cygnus.co.uk>
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.
238 1999-06-18 Hugo Tyson <hmt@cygnus.co.uk>
240 * src/quicc_smc1.c (init_smc1_uart): Use default 38400 Baud,
241 because it is better.
243 1999-06-18 Jesper Skov <jskov@cygnus.co.uk>
245 * include/pkgconf/hal_quicc.h: Fixed CDL description.
247 1999-06-17 Hugo Tyson <hmt@cygnus.co.uk>
249 * src/quicc_smc1.c (init_smc1_uart): Initialize the baud rate
250 depending on the system clock setting.
252 1999-06-15 Hugo Tyson <hmt@cygnus.co.uk>
254 * src/quicc_smc1.c: Moved include of ppc8xx.h
256 * src/ppc8xx.h: Removed, to...
258 * include/ppc8xx.h: New file. Moved here so that platform startup
261 1999-06-10 Hugo Tyson <hmt@cygnus.co.uk>
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.
267 1999-06-10 Hugo Tyson <hmt@cygnus.co.uk>
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/....]
275 * include/quicc_smc1.h
276 * include/pkgconf/hal_quicc.h
282 //===========================================================================
283 //####ECOSGPLCOPYRIGHTBEGIN####
284 // -------------------------------------------
285 // This file is part of eCos, the Embedded Configurable Operating System.
286 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
288 // eCos is free software; you can redistribute it and/or modify it under
289 // the terms of the GNU General Public License as published by the Free
290 // Software Foundation; either version 2 or (at your option) any later version.
292 // eCos is distributed in the hope that it will be useful, but WITHOUT ANY
293 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
294 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
297 // You should have received a copy of the GNU General Public License along
298 // with eCos; if not, write to the Free Software Foundation, Inc.,
299 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
301 // As a special exception, if other files instantiate templates or use macros
302 // or inline functions from this file, or you compile this file and link it
303 // with other works to produce a work based on this file, this file does not
304 // by itself cause the resulting work to be covered by the GNU General Public
305 // License. However the source code for this file must still be made available
306 // in accordance with section (3) of the GNU General Public License.
308 // This exception does not invalidate any other reasons why a work based on
309 // this file might be covered by the GNU General Public License.
311 // Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
312 // at http://sources.redhat.com/ecos/ecos-license/
313 // -------------------------------------------
314 //####ECOSGPLCOPYRIGHTEND####
315 //===========================================================================