Mercurial > ecos
comparison packages/hal/sh/sh2/current/ChangeLog @ 208:e0c0827131d1 ecos
Merge from eCos master repository on 2002-05-20-20:11:54-BST
| author | jlarmour |
|---|---|
| date | Mon, 20 May 2002 22:19:26 +0000 |
| parents | |
| children | d2c90368aeef |
comparison
equal
deleted
inserted
replaced
| 207:74c807ddde34 | 208:e0c0827131d1 |
|---|---|
| 1 2002-05-08 Jesper Skov <jskov@redhat.com> | |
| 2 | |
| 3 * src/sh2_sci.c: Register renaming. | |
| 4 * src/sh2_scif.c: Register renaming. | |
| 5 | |
| 6 * include/sh2_scif.h (_REG_SCSSR): Define. | |
| 7 | |
| 8 * include/mod_regs_ser.h: Register renaming. SCI registers now | |
| 9 contain _SCI_, SCIF registers contain _SCIF_. | |
| 10 | |
| 11 2002-04-30 Jesper Skov <jskov@redhat.com> | |
| 12 | |
| 13 * include/var_intr.h: Renumber the 7044 vectors to get rid of the | |
| 14 gaps. CYGHWR_HAL_SH_SH2_CUSTOM_INTERRUPT_LAYOUT now takes care of | |
| 15 the translation from HW interrupt vectors to the eCos vector | |
| 16 numbers. | |
| 17 | |
| 18 2002-04-24 Jesper Skov <jskov@redhat.com> | |
| 19 | |
| 20 * include/mod_regs_adc.h: Added. | |
| 21 | |
| 22 * include/var_regs.h: Include adc header. | |
| 23 | |
| 24 * include/mod_7044.h (CYGARC_SH_MOD_ADC): Added. | |
| 25 | |
| 26 2002-04-22 Jesper Skov <jskov@redhat.com> | |
| 27 | |
| 28 * include/mod_regs_wdt.h (CYGARC_REG_RSTCSR_W_RSTx_MAGIC, | |
| 29 CYGARC_REG_RSTCSR_W_WOVF_MAGIC): set 5 lsb. | |
| 30 * include/mod_regs_wdt_2.h (CYGARC_REG_RSTCSR_W_RSTx_MAGIC, | |
| 31 CYGARC_REG_RSTCSR_W_WOVF_MAGIC): set 5 lsb. | |
| 32 Also define CYGARC_REG_WTCNT_W. | |
| 33 | |
| 34 * include/var_intr.h (HAL_PLATFORM_RESET): Fixed. Set WTIT flag. | |
| 35 | |
| 36 * src/var_misc.c (hal_interrupt_mask, hal_interrupt_unmask): Add | |
| 37 range for INTC=2 and error for undefined to catch such a bobo | |
| 38 easier next time. | |
| 39 | |
| 40 * include/var_intr.h: Fix access size typos. | |
| 41 | |
| 42 * include/sh2_sci.h: Fix offsets. | |
| 43 | |
| 44 * include/mod_regs_pfc_2.h (CYGARC_REG_PEDR): Added. | |
| 45 | |
| 46 2002-04-18 Jesper Skov <jskov@redhat.com> | |
| 47 | |
| 48 * include/var_regs.h: Include BSC header according to type. | |
| 49 * include/mod_regs_pfc_2.h (CYGARC_REG_PADRH, CYGARC_REG_PADRL): Added. | |
| 50 * include/mod_regs_bsc_2.h: Added. | |
| 51 * include/mod_7044.h: BSC Type 2. | |
| 52 * include/mod_7615.h: BSC Type 1. | |
| 53 | |
| 54 * include/variant.inc: Only disable UBC if type defined. Fix INTC | |
| 55 type 1/2 mixup. | |
| 56 * include/var_regs.h: Include watchdog header according to type. | |
| 57 * include/mod_regs_wdt_2.h: Added. | |
| 58 * include/mod_7615.h: WDT type 1. | |
| 59 * include/mod_7044.h: WDT type 2. | |
| 60 | |
| 61 * src/var_misc.c (cyg_var_enable_caches): Only set mode if the | |
| 62 feature is present. | |
| 63 * include/variant.inc: CYGARC_REG_CCR is 16bit in type 2 CAC | |
| 64 module. | |
| 65 * src/variant.S: Support for type 2 cache. | |
| 66 * include/var_regs.h: Include cache header according to type. | |
| 67 * include/mod_7615.h (CYGARC_SH_MOD_CAC): Type 1. | |
| 68 * include/var_cache.h: Support for type 2. | |
| 69 * include/mod_regs_cac_2.h: Added. | |
| 70 * include/mod_7044.h (CYGARC_SH_MOD_CAC): Type 2. | |
| 71 Also define cache array addresses. | |
| 72 | |
| 73 * src/var_misc.c (hal_interrupt_update_level): 7044 support. | |
| 74 | |
| 75 * include/var_intr.h: Fall-back | |
| 76 CYGPRI_HAL_INTERRUPT_UPDATE_LEVEL_PLF is variant specific. | |
| 77 | |
| 78 2002-04-17 Jesper Skov <jskov@redhat.com> | |
| 79 | |
| 80 * src/var_mk_defs.c: Adjustment for 7044. | |
| 81 * src/variant.S: Same. | |
| 82 | |
| 83 * src/var_misc.c: Most of the functions update to handle INTC type | |
| 84 2. Some still to do. Added hal_delay_us for CMT. | |
| 85 | |
| 86 * include/variant.inc: Clear CMT on init, and clear INTC type 2 | |
| 87 registers. | |
| 88 | |
| 89 * include/var_regs.h: Allow different headers for INT and | |
| 90 PFC. Also include CMT header. | |
| 91 | |
| 92 * include/var_intr.h: Some adjustments for 7044, and vectors for | |
| 93 it. Also define CMT style RTC support. | |
| 94 | |
| 95 * include/sh2_sci.h: Removed error. | |
| 96 * src/sh2_sci.c: Same. | |
| 97 | |
| 98 * include/mod_regs_intc_2.h: Added. | |
| 99 * include/mod_regs_pfc_2.h: Added. | |
| 100 * include/mod_regs_cmt.h: Added. | |
| 101 | |
| 102 * include/mod_regs_cpg.h: Handle type 2. | |
| 103 | |
| 104 * include/mod_7044.h: Enable more modules. No cache windows in | |
| 105 memory map. | |
| 106 | |
| 107 * cdl/hal_sh_sh2.cdl: Added 7044 clock options. | |
| 108 Added 7044 variant option. | |
| 109 | |
| 110 * include/mod_regs_ser.h: Fixed SCI definitions. | |
| 111 | |
| 112 * include/mod_7044.h: Added. | |
| 113 | |
| 114 2002-03-07 Jesper Skov <jskov@redhat.com> | |
| 115 | |
| 116 * include/mod_regs_eth.h (CYGARC_REG_CNDCR): Added more | |
| 117 definitions. | |
| 118 | |
| 119 2002-03-06 Jesper Skov <jskov@redhat.com> | |
| 120 | |
| 121 * src/sh2_scif.c: Added cyg_hal_plf_scif_sync_rxtx that allows | |
| 122 switching mode at runtime. Changed code to respect setting. | |
| 123 * include/sh2_scif.h: Same. | |
| 124 | |
| 125 * cdl/hal_sh_sh2.cdl: Added CYGHWR_HAL_SH_SH2_SCIF_ASYNC_RXTX to | |
| 126 control RX/TX enabling. In async mode (when set), only one of TX | |
| 127 or RX will be set at the same time. | |
| 128 | |
| 129 2002-03-01 Jesper Skov <jskov@redhat.com> | |
| 130 | |
| 131 * cdl/hal_sh_sh2.cdl: Added | |
| 132 CYGHWR_HAL_SH_SH2_SCIF_IRDA_TXRX_COMPENSATION option to control | |
| 133 IrDA TX/RX kludge. | |
| 134 * src/sh2_scif.c: Use above option. Don't force 9600 baud in IrDA | |
| 135 mode. | |
| 136 | |
| 137 2002-02-22 Jesper Skov <jskov@redhat.com> | |
| 138 | |
| 139 * src/sh2_scif.c (cyg_hal_plf_scif_putc): In IrDA mode, eat the | |
| 140 spurious received character after TX has completed. | |
| 141 | |
| 142 2002-02-21 Jesper Skov <jskov@redhat.com> | |
| 143 | |
| 144 * src/sh2_scif.c: Force 9600 baud for IrDA mode | |
| 145 initialization. Disable transmitter when not used in IrDA | |
| 146 mode. Check transmitter state instead of FIFO count for | |
| 147 determining when to cease transmission. | |
| 148 | |
| 149 2002-02-20 Jesper Skov <jskov@redhat.com> | |
| 150 | |
| 151 * include/mod_regs_eth.h: More definitions. | |
| 152 | |
| 153 2002-02-19 Jesper Skov <jskov@redhat.com> | |
| 154 | |
| 155 * include/var_regs.h: Include ethernet definitions. | |
| 156 | |
| 157 * include/mod_7615.h: Has ethernet module. | |
| 158 | |
| 159 * include/mod_regs_eth.h: Added more definitions. | |
| 160 | |
| 161 * include/mod_regs_wdt.h: Added some more definitions. | |
| 162 | |
| 163 * include/var_intr.h (HAL_PLATFORM_RESET): Defined (doesn't work | |
| 164 though). | |
| 165 | |
| 166 * include/mod_7615.h: Disable UBC for now since software emulation | |
| 167 works just fine. | |
| 168 | |
| 169 2002-02-12 Jesper Skov <jskov@redhat.com> | |
| 170 | |
| 171 * include/var_intr.h: Added HAL_CLOCK_VAR_INITIALIZE which does | |
| 172 partial FRT initialization so it can be used from | |
| 173 hal_delay_us. Updated other timer macros. | |
| 174 (HAL_CLOCK_READ): Fix typo. | |
| 175 | |
| 176 * include/mod_regs_frt.h: Renamed 16bit access registers. | |
| 177 | |
| 178 * src/var_misc.c (hal_delay_us): Fixed. | |
| 179 Call HAL_CLOCK_VAR_INITIALIZE from hal_variant_init. | |
| 180 | |
| 181 * include/mod_regs_bsc.h: Changed register locations and made | |
| 182 flags be 32bit constants. | |
| 183 | |
| 184 2002-02-07 Jesper Skov <jskov@redhat.com> | |
| 185 | |
| 186 * src/var_misc.c (hal_delay_us): Fixed typo. Increasy dummy loop | |
| 187 since the typo didn't fix the problem. | |
| 188 | |
| 189 * include/mod_regs_pcm.h: Added. | |
| 190 | |
| 191 * include/var_regs.h: Include PCM. | |
| 192 | |
| 193 * include/mod_7615.h: Added DMA and PCM defs. | |
| 194 | |
| 195 2002-02-06 Jesper Skov <jskov@redhat.com> | |
| 196 | |
| 197 * include/mod_regs_frt.h: Fix comment. | |
| 198 | |
| 199 2002-02-05 Jesper Skov <jskov@redhat.com> | |
| 200 | |
| 201 * src/sh2_scif.c: Set SC2SSR in initialization. Clear errors in | |
| 202 getc function. | |
| 203 | |
| 204 * include/mod_regs_cpg.h (CYGARC_REG_FMR_INIT): Define as value | |
| 205 provided by platform. | |
| 206 | |
| 207 * cdl/hal_sh_sh2.cdl: Variant is big-endian only. | |
| 208 | |
| 209 2002-01-30 Jesper Skov <jskov@redhat.com> | |
| 210 | |
| 211 * include/mod_regs_eth.h: Added. | |
| 212 | |
| 213 * include/mod_regs_pfc.h: Updated for SH7615. | |
| 214 | |
| 215 2002-01-22 Jesper Skov <jskov@redhat.com> | |
| 216 | |
| 217 * cdl/hal_sh_sh2.cdl: Set as type1 clock module. | |
| 218 | |
| 219 * src/sh2_scif.c: Added IrDA mode support. | |
| 220 * include/sh2_scif.h: Same. | |
| 221 | |
| 222 * include/mod_regs_dma.h: Updated for SH7615. | |
| 223 | |
| 224 * include/mod_regs_ser.h: Fixed a typo. | |
| 225 | |
| 226 2002-01-18 Jesper Skov <jskov@redhat.com> | |
| 227 | |
| 228 * src/sh2_sci.c: Added #error about not being updated. | |
| 229 * src/sh2_sci.h: Updated for SH2 naming. | |
| 230 * src/sh2_scif.h: Updated for SH2 naming, and registers. | |
| 231 * src/sh2_scif.c: Updated for changed register names. | |
| 232 * include/mod_regs_ser.h: Updated SCIF register names/values. | |
| 233 | |
| 234 * src/var_misc.c (hal_delay_us): Added. | |
| 235 | |
| 236 * include/variant.inc: Fixed some bade conditional code. | |
| 237 | |
| 238 * include/var_intr.h (HAL_CLOCK_INITIALIZE): Fix typos. Guard | |
| 239 against too large period. | |
| 240 | |
| 241 * include/mod_regs_ubc.h: Updated to match SH7615 (type 2). | |
| 242 | |
| 243 * include/mod_7615.h (CYGARC_SH_MOD_UBC): Is type 2. | |
| 244 | |
| 245 2002-01-17 Jesper Skov <jskov@redhat.com> | |
| 246 | |
| 247 * include/mod_regs_ubc.h: Partially updated. | |
| 248 | |
| 249 * include/mod_regs_wdt.h: Added. | |
| 250 * include/var_regs.h: Include WDT header. | |
| 251 | |
| 252 * src/var_misc.c (hal_interrupt_set_vectors): Updated vector | |
| 253 names. | |
| 254 | |
| 255 * src/variant.S (cyg_hal_ILVL_table): Changed for SH2. | |
| 256 | |
| 257 * src/var_mk_defs.c: Added more interrupt defs. | |
| 258 | |
| 259 * include/var_intr.h (CYGPRI_HAL_INTERRUPT_UPDATE_LEVEL_PLF): | |
| 260 Ignore LVLs 0-3 since they overlap with IRQs | |
| 261 0-3. hal_interrupt_update_level contains code to handle according | |
| 262 to configuration. | |
| 263 | |
| 264 * include/mod_regs_intc.h: Added def. | |
| 265 | |
| 266 * src/var_misc.c: Interrupt configury updated for 7615. | |
| 267 | |
| 268 * include/var_intr.h: Add module identifier to vector names. Set | |
| 269 RTC vector. | |
| 270 | |
| 271 2002-01-16 Jesper Skov <jskov@redhat.com> | |
| 272 | |
| 273 * src/var_mk_defs.c: Removed some defs. | |
| 274 | |
| 275 * src/var_misc.c: Cache init fixed and compiler warnings + typos | |
| 276 fixed. | |
| 277 | |
| 278 * src/sh2_scif.c: Renamed for SH2. | |
| 279 * src/sh2_sci.c: Same. | |
| 280 | |
| 281 * include/var_regs.h: TMU header inclusion removed. | |
| 282 | |
| 283 * include/var_intr.h: Shift vectors down one (to make room for NMI | |
| 284 as vector 0). | |
| 285 | |
| 286 * include/mod_regs_ser.h: Protect SCI defs by CYGARC_SH_MOD_SCI. | |
| 287 | |
| 288 * include/mod_regs_cpg.h: No magic here - CDL provides a hardwired | |
| 289 constant to use. | |
| 290 | |
| 291 * include/mod_regs_bsc.h: Updated to match SH7615. | |
| 292 | |
| 293 * include/mod_7615.h (CYGARC_SH_MOD_BCN): Is type 2. | |
| 294 | |
| 295 * cdl/hal_sh_sh2.cdl: Added CYGHWR_HAL_SH_RTC_PRESCALE. | |
| 296 | |
| 297 * include/mod_regs_frt.h: Added. | |
| 298 | |
| 299 * include/var_intr.h: Added support for eCos RTC driven by FRT module. | |
| 300 | |
| 301 * include/mod_7615.h (CYGARC_SH_MOD_FRT): Added. | |
| 302 * include/var_regs.h: Include FRT header. Removed RTC header inclusion. | |
| 303 | |
| 304 * src/var_misc.c (hal_interrupt_set_vectors): Set VCRx registers | |
| 305 to map the module interrupt sources to specific HWR_EXC vectors. | |
| 306 | |
| 307 * include/var_intr.h: Added SH7615 vectors. | |
| 308 | |
| 309 * cdl/hal_sh_sh2.cdl: Select INTR model header. | |
| 310 | |
| 311 * include/mod_regs_intc.h: Added stuff for 7615 INTC. | |
| 312 | |
| 313 * include/mod_7615.h: Does update the IP on exception. All modules | |
| 314 are type 1. | |
| 315 | |
| 316 2002-01-14 Jesper Skov <jskov@redhat.com> | |
| 317 | |
| 318 * cdl/hal_sh_sh2.cdl: Added exception model header definitions. | |
| 319 | |
| 320 * include/variant.inc: Fixed assembler warning. Change CYG_SR. | |
| 321 | |
| 322 2002-01-11 Jesper Skov <jskov@redhat.com> | |
| 323 | |
| 324 * cdl/hal_sh_sh2.cdl: Changed the clock setup some. | |
| 325 | |
| 326 2002-01-09 Jesper Skov <jskov@redhat.com> | |
| 327 | |
| 328 * cdl/hal_sh_sh2.cdl: Changed to match SH2 caching details. | |
| 329 * src/var_misc.c: Same. | |
| 330 * include/var_cache.h: Same. | |
| 331 * src/variant.S: Same. | |
| 332 | |
| 333 * include/mod_7615.h: Added some 7615 details. | |
| 334 | |
| 335 Cloned from SH3 HAL. | |
| 336 | |
| 337 //=========================================================================== | |
| 338 //####ECOSGPLCOPYRIGHTBEGIN#### | |
| 339 // ------------------------------------------- | |
| 340 // This file is part of eCos, the Embedded Configurable Operating System. | |
| 341 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc. | |
| 342 // | |
| 343 // eCos is free software; you can redistribute it and/or modify it under | |
| 344 // the terms of the GNU General Public License as published by the Free | |
| 345 // Software Foundation; either version 2 or (at your option) any later version. | |
| 346 // | |
| 347 // eCos is distributed in the hope that it will be useful, but WITHOUT ANY | |
| 348 // WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| 349 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
| 350 // for more details. | |
| 351 // | |
| 352 // You should have received a copy of the GNU General Public License along | |
| 353 // with eCos; if not, write to the Free Software Foundation, Inc., | |
| 354 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. | |
| 355 // | |
| 356 // As a special exception, if other files instantiate templates or use macros | |
| 357 // or inline functions from this file, or you compile this file and link it | |
| 358 // with other works to produce a work based on this file, this file does not | |
| 359 // by itself cause the resulting work to be covered by the GNU General Public | |
| 360 // License. However the source code for this file must still be made available | |
| 361 // in accordance with section (3) of the GNU General Public License. | |
| 362 // | |
| 363 // This exception does not invalidate any other reasons why a work based on | |
| 364 // this file might be covered by the GNU General Public License. | |
| 365 // | |
| 366 // Alternative licenses for eCos may be arranged by contacting Red Hat, Inc. | |
| 367 // at http://sources.redhat.com/ecos/ecos-license | |
| 368 // ------------------------------------------- | |
| 369 //####ECOSGPLCOPYRIGHTEND#### | |
| 370 //=========================================================================== |
