1 |
786 |
skrzyp |
2008-11-18 Bart Veer
|
2 |
|
|
|
3 |
|
|
* whole package. Replace the original M68K port.
|
4 |
|
|
|
5 |
|
|
2008-11-17 Bart Veer
|
6 |
|
|
|
7 |
|
|
* cdl/hal_m68k_mcd5272.cdl, cdl/gpio.cdl, include/proc_arch.h,
|
8 |
|
|
include/proc_cache.h, include/proc.inc, include/proc_intr.h,
|
9 |
|
|
include/proc_io.h, src/mcf5272.c, src/mcf5272_profile.S: minor
|
10 |
|
|
clean-ups.
|
11 |
|
|
|
12 |
|
|
2008-09-02 Bart Veer
|
13 |
|
|
|
14 |
|
|
* include/proc_arch.h: allow platform HALs to override the
|
15 |
|
|
PROC_INIT() macro.
|
16 |
|
|
|
17 |
|
|
2007-07-27 John Dallaway
|
18 |
|
|
|
19 |
|
|
* cdl/hal_m68k_mcf52xx.cdl: Reference per-package documentation.
|
20 |
|
|
|
21 |
|
|
2006-10-13 Bart Veer
|
22 |
|
|
|
23 |
|
|
* include/proc_io.h (HAL_MCF52xx_ETHx_TXBD_DEF): fix naming of the
|
24 |
|
|
TXBD error conditions.
|
25 |
|
|
|
26 |
|
|
2006-10-09 Bart Veer
|
27 |
|
|
|
28 |
|
|
* include/proc.inc: add utility macros for low-level bootstrap
|
29 |
|
|
(flash remapping etc.) to simplify most platform HALs.
|
30 |
|
|
|
31 |
|
|
2006-09-11 Bart Veer
|
32 |
|
|
|
33 |
|
|
* cdl/gpio.cdl, cdl/hal_m68k_mcf52xx.cdl, src/gpio.c :
|
34 |
|
|
Rationalize pin naming.
|
35 |
|
|
|
36 |
|
|
2006-09-10 Bart Veer
|
37 |
|
|
|
38 |
|
|
* include/proc.inc: take care to OR in the CSBR0 BW bits as per
|
39 |
|
|
the pin sampling on reset. Use more verbose names to distinguish
|
40 |
|
|
between registers and their values.
|
41 |
|
|
|
42 |
|
|
* include/proc_io.h (HAL_MCF52xx_MBAR): provide a default
|
43 |
|
|
definition if the platform HAL has not specified one.
|
44 |
|
|
|
45 |
|
|
2006-09-08 Bart Veer
|
46 |
|
|
|
47 |
|
|
* cdl/hal_m68k_mcf5272.cdl: GPIO is now largely handled by the
|
48 |
|
|
processor HAL instead of the platform HAL. Diagnostics are now
|
49 |
|
|
handled by the variant HAL.
|
50 |
|
|
|
51 |
|
|
* src/mcf5272.c: add processor initialization code. The processor
|
52 |
|
|
HAL now largely takes care of GPIO pins, interrupts and
|
53 |
|
|
exceptions, so less has to be done by the platform HAL.
|
54 |
|
|
|
55 |
|
|
* src/mcf5272_profile.S: fix typo.
|
56 |
|
|
|
57 |
|
|
* include/proc_io.h: update to match variant HAL changes. The
|
58 |
|
|
processor HAL now picks up variant HAL definitions for the UARTs,
|
59 |
|
|
ethernet and QSPI which are largely compatible with the 5282.
|
60 |
|
|
|
61 |
|
|
* include/proc_intr.h: use HAL_DELAY_US() from the architectural
|
62 |
|
|
HAL. Add a reset macro which activates the watchdog.
|
63 |
|
|
|
64 |
|
|
* include/proc_cache.h: use updated register definitions.
|
65 |
|
|
|
66 |
|
|
* include/proc_arch.h: add processor init function and idle thread
|
67 |
|
|
action.
|
68 |
|
|
|
69 |
|
|
* include/proc.inc: add macros for handling the flash remapping,
|
70 |
|
|
system registers, and memory initialization.
|
71 |
|
|
|
72 |
|
|
* src/spi.c: instantiate the on-chip SPI bus device here.
|
73 |
|
|
|
74 |
|
|
* tests/iram1.c: new testcase for MCF5272 on-chip RAM
|
75 |
|
|
|
76 |
|
|
* cdl/gpio.cdl, src/gpio.c: make it easier for platform HALs to
|
77 |
|
|
define the GPIO pin connectivity.
|
78 |
|
|
|
79 |
|
|
2006-09-06 Nick Garnett
|
80 |
|
|
|
81 |
|
|
* include/proc_io.h (HAL_MCF5272_QSPI_QCRn_QSPI_CS_CSn): Added
|
82 |
|
|
this macro to permit easier definition of demultiplexed SPI chip
|
83 |
|
|
selects.
|
84 |
|
|
|
85 |
|
|
2005-04-15 Jonathan Larmour
|
86 |
|
|
|
87 |
|
|
* cdl/hal_m68k_mcf5272.cdl: Define a HAL processor variant header in
|
88 |
|
|
|
89 |
|
|
|
90 |
|
|
2005-02-21 Bart Veer
|
91 |
|
|
|
92 |
|
|
* include/proc_intr.h (HAL_CLOCK_INITIALIZE): fix initialization
|
93 |
|
|
values. Both the prescaler and the period were off by one.
|
94 |
|
|
Reported by Matthew Miller.
|
95 |
|
|
|
96 |
|
|
* src/mcf5272.c (hal_enable_profile_timer): similar adjustment for
|
97 |
|
|
the profile timer.
|
98 |
|
|
|
99 |
|
|
2005-02-20 Bart Veer
|
100 |
|
|
|
101 |
|
|
* include/proc_intr.h: implement HAL_CLOCK_LATENCY()
|
102 |
|
|
|
103 |
|
|
2004-10-04 Bart Veer
|
104 |
|
|
|
105 |
|
|
* include/proc_io.h (HAL_MCF5272_PBCNT_PBCNT5_TA): add missing
|
106 |
|
|
GPIO pin definition
|
107 |
|
|
|
108 |
|
|
2004-06-24 Bart Veer
|
109 |
|
|
|
110 |
|
|
* include/proc.inc, src/mcf5272.c: move cacr and icr_pri shadow
|
111 |
|
|
copies from .data to .fixed_vectors, so that they can be shared
|
112 |
|
|
between RedBoot and the application.
|
113 |
|
|
|
114 |
|
|
2004-06-22 Bart Veer
|
115 |
|
|
|
116 |
|
|
* include/proc_intr.h (HAL_DELAY_US): try to give accurate timings
|
117 |
|
|
irrespective of whether or not the icache is enabled
|
118 |
|
|
|
119 |
|
|
2004-05-17 Bart Veer
|
120 |
|
|
|
121 |
|
|
* include/proc_io.h: add more SPI-related definitions
|
122 |
|
|
|
123 |
|
|
2004-03-08 Bart Veer
|
124 |
|
|
|
125 |
|
|
* include/proc_io.h (HAL_MCF52xx_ETH0_PROC_INIT): only connect the
|
126 |
|
|
phy pins if the ethernet driver expects a phy.
|
127 |
|
|
|
128 |
|
|
* cdl/hal_m68k_mcf5272.cdl: add calculated options for the legal
|
129 |
|
|
ISR priority range.
|
130 |
|
|
|
131 |
|
|
2004-02-11 Bart Veer
|
132 |
|
|
|
133 |
|
|
* include/proc_io.h: move cacr/acr/rambar/rombar definitions from
|
134 |
|
|
variant to processor HAL. Add processor-specific ethernet
|
135 |
|
|
initialization macro to allow the ethernet driver to be shared
|
136 |
|
|
between different coldfire processors. Add new HAL_MCF52xx() macro
|
137 |
|
|
to facilitate device driver sharing.
|
138 |
|
|
|
139 |
|
|
* include/proc_cache.h: cacr defines are now processor-specific,
|
140 |
|
|
rather than defined by the 52xx variant HAL.
|
141 |
|
|
|
142 |
|
|
* include/proc.inc: rework ISR vector extraction macros, to save
|
143 |
|
|
an instruction in the main VSR
|
144 |
|
|
|
145 |
|
|
2003-11-13 Bart Veer
|
146 |
|
|
|
147 |
|
|
* src/mcf5272.c: fix typo in header
|
148 |
|
|
|
149 |
|
|
2003-09-26 Bart Veer
|
150 |
|
|
|
151 |
|
|
* doc/mcf5272.sgml, cdl/hal_m68k_mcf5272.sgml,
|
152 |
|
|
include/proc_intr.h, src/mcf5272.c, src/mcf5272_profile.S:
|
153 |
|
|
Implement a profiling timer.
|
154 |
|
|
|
155 |
|
|
2003-07-22 Bart Veer
|
156 |
|
|
|
157 |
|
|
* doc/mcf5272.sgml: fix various typos etc.
|
158 |
|
|
|
159 |
|
|
2003-07-17 Bart Veer
|
160 |
|
|
|
161 |
|
|
* doc/mcf5272.sgml: Add documentation
|
162 |
|
|
|
163 |
|
|
2003-07-08 Bart Veer
|
164 |
|
|
|
165 |
|
|
* include/proc_io.h:
|
166 |
|
|
Make some UART definitions MCF52xx rather than MCF5272, so that
|
167 |
|
|
the generic driver can test for these and adapt to what the
|
168 |
|
|
current MCF52xx processor actually supports
|
169 |
|
|
|
170 |
|
|
2003-07-05 Bart Veer
|
171 |
|
|
|
172 |
|
|
* include/proc_intr.h (HAL_MCF5272_EXTERNAL_INTERRUPTS):
|
173 |
|
|
Fix handling of external interrupts
|
174 |
|
|
|
175 |
|
|
2003-06-04 Bart Veer
|
176 |
|
|
|
177 |
|
|
* New version of the M68K support
|
178 |
|
|
|
179 |
|
|
//===========================================================================
|
180 |
|
|
// ####GPLCOPYRIGHTBEGIN####
|
181 |
|
|
// -------------------------------------------
|
182 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
183 |
|
|
// Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
184 |
|
|
//
|
185 |
|
|
// This program is free software; you can redistribute it and/or modify
|
186 |
|
|
// it under the terms of the GNU General Public License as published by
|
187 |
|
|
// the Free Software Foundation; either version 2 or (at your option) any
|
188 |
|
|
// later version.
|
189 |
|
|
//
|
190 |
|
|
// This program is distributed in the hope that it will be useful, but
|
191 |
|
|
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
192 |
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
193 |
|
|
// General Public License for more details.
|
194 |
|
|
//
|
195 |
|
|
// You should have received a copy of the GNU General Public License
|
196 |
|
|
// along with this program; if not, write to the
|
197 |
|
|
// Free Software Foundation, Inc., 51 Franklin Street,
|
198 |
|
|
// Fifth Floor, Boston, MA 02110-1301, USA.
|
199 |
|
|
// -------------------------------------------
|
200 |
|
|
// ####GPLCOPYRIGHTEND####
|
201 |
|
|
//===========================================================================
|