1 2004-04-01 Robert Chenault <robertchenault@yahoo.com>
3 * include/ppc8xx.h: Add definition for 8 bytes to spi_pram structure
4 (for a total of 48 bytes) as is done in the i2c_pram structure. Then
5 remove the equivalent 8 reserved bytes in the scc_pram structure.
7 2003-09-08 Gary Thomas <gary@mlbassoc.com>
9 * src/quicc_smc1.c: Fix baud rate clock setup - was off by 1.
10 Reported by Tord Andersson <Tord.Andersson@combitechsystems.com>
12 2003-03-31 Gary Thomas <gary@mlbassoc.com>
14 * src/quicc_smc1.c (cyg_hal_sccx_init_channel): Proper handling
15 (signal routing) for SCC3 - differs on 850 and 850T!
17 2003-03-31 Jonathan Larmour <jifl@eCosCentric.com>
19 * src/quicc_smc1.c (cyg_hal_smcx_init_channel):
20 (cyg_hal_sccx_init_channel):
22 * src/cpm.c: Include <string.h> for memset().
23 (_mpc8xx_reset_cpm): use CPM busy flag to check reset completion.
24 * src/quicc_smc1.c: Include <string.h> for memset().
25 (cyg_hal_smcx_init_channel): Don't reset CPM here - let variant
26 initialization do it. Only let through RX interrupts.
27 (cyg_hal_sccx_init_channel): Ditto.
29 2003-03-23 Gary Thomas <gary@mlbassoc.com>
31 * src/quicc_smc1.c: Use new baud rate generator allocation functions.
32 Merge SMC and SCC output functions.
34 * src/cpm.c: Add new function to allocate and manage the baud rate
35 generators. Used by all serial drivers.
37 * include/ppc8xx.h: Some common definitions moved here from various
40 * cdl/hal_powerpc_quicc.cdl: Add interface for SCC4 (not implemented
43 2003-03-20 Gary Thomas <gary@mlbassoc.com>
45 * src/cpm.c (_mpc8xx_allocBd): Improve "best guess" for intial DPRAM
46 allocation to use a value which is likely not to conflict with old
49 2003-03-18 Gary Thomas <gary@mlbassoc.com>
51 * src/quicc_smc1.c (cyg_hal_sccx_init_channel): Update initialization
52 for SCC2 - *CAUTION* not tested on actual hardware.
54 2003-03-06 Gary Thomas <gary@mlbassoc.com>
56 * src/cpm.c: Handle case where DPRAM allocation is unknown.
58 * include/ppc8xx.h: Define limits of CPM/DPRAM space.
60 2003-03-05 Gary Thomas <gary@mlbassoc.com>
62 * src/quicc_smc1.c: Need to flush data cache because the serial
63 driver may set use buffers in cacheable memory. Without this,
64 diag_printf() falls over if the serial driver is ever used.
66 * src/cpm.c: New file with CPM/DPRAM support.
69 * cdl/hal_powerpc_quicc.cdl: Split out support for CPM/DPRAM.
71 2002-11-26 Gary Thomas <gthomas@ecoscentric.com>
73 * src/quicc_smc1.c: Initialize BD allocation point. Note that it is
74 different from when the CPM get's reset directly. This is to allow
75 sharing of the space between ROM (RedBoot) code and applications.
77 * cdl/hal_powerpc_quicc.cdl: Move platform define here, where it belongs.
79 2002-11-25 Gary Thomas <gthomas@ecoscentric.com>
81 * src/quicc_smc1.c: Support any combination of SMC1/SMC2 and
82 SCC1/SCC2/SCC3 [or at least lay foundation for it]
84 * cdl/hal_powerpc_quicc.cdl: Add more controls over port layout.
86 2002-07-18 Gary Thomas <gary@chez-thomas.org>
88 * src/quicc_smc1.c (cyg_hal_scc1_init_channel): Fix init which
89 failed from power-up - wrong channel in CP command!
91 2002-07-11 Gary Thomas <gary@chez-thomas.org>
94 * include/quicc_smc1.h:
95 * cdl/hal_powerpc_quicc.cdl: Add support for SCC1 as a serial
96 console (for newer chips which have this available).
98 2002-06-25 Gary Thomas <gary@chez-thomas.org>
101 * cdl/hal_powerpc_quicc.cdl: Use more common CDL name for baudrate
102 CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL_BAUD.
104 2002-05-30 Jesper Skov <jskov@redhat.com>
106 * src/quicc_smc1.c: Fix warning.
108 2001-09-10 Jonathan Larmour <jlarmour@redhat.com>
110 * cdl/hal_powerpc_quicc.cdl (CYGNUM_HAL_QUICC_DIAG_BAUD):
113 2001-07-31 Jonathan Larmour <jlarmour@redhat.com>
114 2001-07-31 Christoph Csebits <christoph.csebits@frequentis.com>
116 * include/ppc8xx.h: 4 SCCs are supported by MPC860T, so don't
119 2001-01-26 Jesper Skov <jskov@redhat.com>
121 * src/quicc_smc1.c: Removed CYGSEM_HAL_VIRTUAL_VECTOR_DIAG check.
123 2001-01-15 Gary Thomas <gthomas@redhat.com>
125 * src/quicc_smc1.c: Provide for multiple serial input buffers
126 since the single buffer/descriptor model fails miserably on some
127 newer chips [at least 855T].
129 2001-01-03 Gary Thomas <gthomas@redhat.com>
131 * include/ppc8xx.h: Layout of I2C and IDMA was [slightly] wrong.
133 2000-08-30 Jesper Skov <jskov@redhat.com>
135 * src/quicc_smc1.c (cyg_hal_plf_serial_init_channel): Move all
136 init code to init_channel.
138 2000-06-30 Jesper Skov <jskov@redhat.com>
140 * src/quicc_smc1.c: calling i/f macro changes.
142 2000-06-28 Jesper Skov <jskov@redhat.com>
144 * include/quicc_smc1.h:
145 * src/quicc_smc1.c: Cleanup.
147 2000-06-26 Jesper Skov <jskov@redhat.com>
149 * include/quicc_smc1.h:
150 * src/quicc_smc1.c: Added non-block/timout features. Reworked
153 2000-06-22 Jesper Skov <jskov@redhat.com>
155 * src/quicc_smc1.c: Fix compiler warning. Add functions to deal
156 with ctrl-c interrupts from the device.
158 2000-06-21 Jesper Skov <jskov@redhat.com>
161 * include/quicc_smc1.h:
162 Allow callers to specify base. Added code to initialize vector
165 2000-06-16 Jesper Skov <jskov@redhat.com>
167 * src/quicc_smc1.c (hal_ctrlc_isr): Check that interrupt is
168 generated by serial controller.
170 2000-06-13 Jesper Skov <jskov@redhat.com>
173 * include/quicc_smc1.h:
174 Added ctrlc handling for use via virtual vector table.
176 2000-03-03 Gary Thomas <gthomas@redhat.com>
178 * src/quicc_smc1.c: Use common CPM defines (now in ppc8xx.h).
180 * include/ppc8xx.h: Add some generic defines for CPM. Also
181 refine ucode area for easier use (someday).
183 start-serialize-newcdl
184 2000-02-29 Gary Thomas <gthomas@cygnus.co.uk>
186 * src/quicc_smc1.c (UART_BAUD_RATE): Use CDL option for baud rate.
188 * cdl/hal_powerpc_quicc.cdl: Add option to control diag serial
189 baud rate, rather than being fixed at 38400.
192 2000-02-21 Gary Thomas <gthomas@cygnus.co.uk>
194 * src/quicc_smc1.c (UART_BIT_RATE): Handle system clock speeds
195 which are not integer multiples of MHz, e.g. 33.33 MHz.
197 2000-02-04 Jesper Skov <jskov@redhat.com>
199 * src/quicc_smc1.c (cyg_quicc_smc1_uart_rcvchar): Get frequency
200 from new CYGHWR_HAL_POWERPC_BOARD_SPEED variable.
202 2000-02-03 Jesper Skov <jskov@redhat.com>
204 * src/quicc_smc1.c: CYG_HAL_POWERPC_x->CYGPKG_...
206 1999-09-02 Gary Thomas <gthomas@cygnus.co.uk>
208 * src/quicc_smc1.c (init_smc1_uart): Generalize baud rate computation.
210 1999-09-01 Gary Thomas <gthomas@cygnus.co.uk>
212 * include/ppc8xx.h: Add some missing definitions (MAR, MBMR).
214 1999-06-27 Gary Thomas <gthomas@cygnus.co.uk>
216 * src/quicc_smc1.c: Many changes which allow these routines to
217 cooperate when the SMC is being used by a serial "driver" as well.
218 In particular, remove "hard coded" resources on the SMC.
219 Note: there is some lingering problem with the transmit routines
220 [globally] after the serial driver re-inits the SMC. Of course
221 this problem is intermittent, so it's hard to fix.
223 1999-06-24 Hugo Tyson <hmt@cygnus.co.uk>
225 * src/quicc_smc1.c (cyg_hal_gdb_isr): Add this routine to trap ^C
226 events and stop the system, if CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT.
228 1999-06-24 Hugo Tyson <hmt@cygnus.co.uk>
230 * src/quicc_smc1.c (cyg_quicc_init_smc1): Remove unused, commented
231 out code, that was left over from CygMon version of this file.
233 1999-06-18 Hugo Tyson <hmt@cygnus.co.uk>
235 * src/quicc_smc1.c (init_smc1_uart): Use default 38400 Baud,
236 because it is better.
238 1999-06-18 Jesper Skov <jskov@cygnus.co.uk>
240 * include/pkgconf/hal_quicc.h: Fixed CDL description.
242 1999-06-17 Hugo Tyson <hmt@cygnus.co.uk>
244 * src/quicc_smc1.c (init_smc1_uart): Initialize the baud rate
245 depending on the system clock setting.
247 1999-06-15 Hugo Tyson <hmt@cygnus.co.uk>
249 * src/quicc_smc1.c: Moved include of ppc8xx.h
251 * src/ppc8xx.h: Removed, to...
253 * include/ppc8xx.h: New file. Moved here so that platform startup
256 1999-06-10 Hugo Tyson <hmt@cygnus.co.uk>
258 * src/quicc_smc1.c: Make this file safe for compilation even when
259 no PowerPC 860 is in use; pkgconf can enable this component for
260 any target, potentially.
262 1999-06-10 Hugo Tyson <hmt@cygnus.co.uk>
264 * ChangeLog: Component created, based partly on the FADS work and
265 on CygMon's serial IO code for the MBX860, to support the Motorola
266 MBX860 QUICC serial controller for basic IO.
267 Initially only used in the neighbouring platform component
268 HAL_POWERPC_MBX [hal/powerpc/mbx/....]
270 * include/quicc_smc1.h
271 * include/pkgconf/hal_quicc.h
277 //===========================================================================
278 //####ECOSGPLCOPYRIGHTBEGIN####
279 // -------------------------------------------
280 // This file is part of eCos, the Embedded Configurable Operating System.
281 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
283 // eCos is free software; you can redistribute it and/or modify it under
284 // the terms of the GNU General Public License as published by the Free
285 // Software Foundation; either version 2 or (at your option) any later version.
287 // eCos is distributed in the hope that it will be useful, but WITHOUT ANY
288 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
289 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
292 // You should have received a copy of the GNU General Public License along
293 // with eCos; if not, write to the Free Software Foundation, Inc.,
294 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
296 // As a special exception, if other files instantiate templates or use macros
297 // or inline functions from this file, or you compile this file and link it
298 // with other works to produce a work based on this file, this file does not
299 // by itself cause the resulting work to be covered by the GNU General Public
300 // License. However the source code for this file must still be made available
301 // in accordance with section (3) of the GNU General Public License.
303 // This exception does not invalidate any other reasons why a work based on
304 // this file might be covered by the GNU General Public License.
306 // Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
307 // at http://sources.redhat.com/ecos/ecos-license/
308 // -------------------------------------------
309 //####ECOSGPLCOPYRIGHTEND####
310 //===========================================================================