Commit f5e0d03970409feb3c77ab0107d5dece6b7d45c9
1 parent
8d352247ec
Exists in
master
and in
54 other branches
Add support for wrPPMC7xx/74xx boards
Patch from Richard Danter, 12 Aug 2005
Showing 16 changed files with 1703 additions and 4 deletions Inline Diff
CHANGELOG
1 | ====================================================================== | 1 | ====================================================================== |
2 | Changes since U-Boot 1.1.4: | 2 | Changes since U-Boot 1.1.4: |
3 | ====================================================================== | 3 | ====================================================================== |
4 | 4 | ||
5 | * Add support for wrPPMC7xx/74xx boards | ||
6 | Patch from Richard Danter, 12 Aug 2005 | ||
7 | |||
5 | * Add support for gth2 board | 8 | * Add support for gth2 board |
6 | Patch by Thomas Lange, Aug 11 2005 | 9 | Patch by Thomas Lange, Aug 11 2005 |
7 | 10 | ||
8 | * Add support for CONFIG_SERIAL_MULTI on MPC5xxx | 11 | * Add support for CONFIG_SERIAL_MULTI on MPC5xxx |
9 | Patch by Martin Krause, 8 Jun 2006 | 12 | Patch by Martin Krause, 8 Jun 2006 |
10 | 13 | ||
11 | This patch supports two serial consoles on boards with | 14 | This patch supports two serial consoles on boards with |
12 | a MPC5xxx CPU. The console can be switched at runtime | 15 | a MPC5xxx CPU. The console can be switched at runtime |
13 | by setting stdin, stdout and stderr to the desired serial | 16 | by setting stdin, stdout and stderr to the desired serial |
14 | interface (serial0 or serial1). The PSCs to be used as | 17 | interface (serial0 or serial1). The PSCs to be used as |
15 | console port are definded by CONFIG_PSC_CONSOLE | 18 | console port are definded by CONFIG_PSC_CONSOLE |
16 | and CONFIG_PSC_CONSOLE2. | 19 | and CONFIG_PSC_CONSOLE2. |
17 | See README.serial_multi for details. | 20 | See README.serial_multi for details. |
18 | 21 | ||
19 | * Bugfix in I2C initialisation on S3C2400. | 22 | * Bugfix in I2C initialisation on S3C2400. |
20 | If the bus is blocked because of a previously interrupted | 23 | If the bus is blocked because of a previously interrupted |
21 | transfer, up to eleven clocks are generated on the I2CSCL | 24 | transfer, up to eleven clocks are generated on the I2CSCL |
22 | line to complete the transfer and to free the bus. | 25 | line to complete the transfer and to free the bus. |
23 | With this fix pin I2CSCL (PG6) is really configured as GPIO | 26 | With this fix pin I2CSCL (PG6) is really configured as GPIO |
24 | so the clock pulses are really generated. | 27 | so the clock pulses are really generated. |
25 | Patch by Martin Krause, 04 Apr 2006 | 28 | Patch by Martin Krause, 04 Apr 2006 |
26 | 29 | ||
27 | * Fix DDR6 errata on TQM834x boards | 30 | * Fix DDR6 errata on TQM834x boards |
28 | Patch by Thomas Waehner, 07 Mar 2006 | 31 | Patch by Thomas Waehner, 07 Mar 2006 |
29 | 32 | ||
30 | * Remove obsolete flash driver board/tqm5200/flash.c | 33 | * Remove obsolete flash driver board/tqm5200/flash.c |
31 | Patch by Martin Krause, 11 Jan 2006 | 34 | Patch by Martin Krause, 11 Jan 2006 |
32 | 35 | ||
33 | * Update configuration for CMC-PU2 board | 36 | * Update configuration for CMC-PU2 board |
34 | Patch by Martin Krause, 17 Nov 2005 | 37 | Patch by Martin Krause, 17 Nov 2005 |
35 | 38 | ||
36 | * Add support for PS/2 keyboard on TQM85xx board | 39 | * Add support for PS/2 keyboard on TQM85xx board |
37 | Patch by Martin Krause, 07 Nov 2005 | 40 | Patch by Martin Krause, 07 Nov 2005 |
38 | 41 | ||
39 | Tested on a STK85XX baseboard. Make sure the PS/2 controller | 42 | Tested on a STK85XX baseboard. Make sure the PS/2 controller |
40 | has been programmed. Jumper Settings: X66 1-2, 9-10; X61 2-3 | 43 | has been programmed. Jumper Settings: X66 1-2, 9-10; X61 2-3 |
41 | 44 | ||
42 | * Fix TRAB channel switching delay for trab_fkt.bin standalone applikation | 45 | * Fix TRAB channel switching delay for trab_fkt.bin standalone applikation |
43 | In tsc2000_read_channel() the delay after setting the multiplexer | 46 | In tsc2000_read_channel() the delay after setting the multiplexer |
44 | to a temperature channel is increased from 1,5 ms to 10 ms. This | 47 | to a temperature channel is increased from 1,5 ms to 10 ms. This |
45 | is to allow the multiplexer inputs to stabilize after huge steps | 48 | is to allow the multiplexer inputs to stabilize after huge steps |
46 | of the input signal level. | 49 | of the input signal level. |
47 | Patch by Martin Krause, 08 Nov 2005 | 50 | Patch by Martin Krause, 08 Nov 2005 |
48 | 51 | ||
49 | * Adjust TQM5200 make targets | 52 | * Adjust TQM5200 make targets |
50 | Make the automatic CS configuration the default. | 53 | Make the automatic CS configuration the default. |
51 | The dedicated configurations CONFIG_TQM5200_AA, CONFIG_TQM5200_AB | 54 | The dedicated configurations CONFIG_TQM5200_AA, CONFIG_TQM5200_AB |
52 | and CONFIG_TQM5200_AC are removed. | 55 | and CONFIG_TQM5200_AC are removed. |
53 | "TQM5200_config" is now the default for STK52XX.200 base boards. | 56 | "TQM5200_config" is now the default for STK52XX.200 base boards. |
54 | On a STK52XX.100 base board "TQM5200_STK100_config" must be used. | 57 | On a STK52XX.100 base board "TQM5200_STK100_config" must be used. |
55 | Patch by Martin Krause, 07 Nov 2005 | 58 | Patch by Martin Krause, 07 Nov 2005 |
56 | 59 | ||
57 | * Fix setting of environment variable "ver" on trab board | 60 | * Fix setting of environment variable "ver" on trab board |
58 | The environment variable "ver" is now set before | 61 | The environment variable "ver" is now set before |
59 | do_auto_update() is called, so that "ver" can be used | 62 | do_auto_update() is called, so that "ver" can be used |
60 | in USB update scripts. | 63 | in USB update scripts. |
61 | Patch by Martin Krause, 27 Oct 2005 | 64 | Patch by Martin Krause, 27 Oct 2005 |
62 | 65 | ||
63 | * Fix wrong usage of udelay() in led_blink() on trab board | 66 | * Fix wrong usage of udelay() in led_blink() on trab board |
64 | Patch by Martin Krause, 27 Oct 2005 | 67 | Patch by Martin Krause, 27 Oct 2005 |
65 | 68 | ||
66 | * Fix udelay bug in vfd.c for trab board | 69 | * Fix udelay bug in vfd.c for trab board |
67 | Patch by Martin Krause, 27 Oct 2005 | 70 | Patch by Martin Krause, 27 Oct 2005 |
68 | 71 | ||
69 | * Disable JFFS2 support for trab board | 72 | * Disable JFFS2 support for trab board |
70 | Patch by Martin Krause, 27 Oct 2005 | 73 | Patch by Martin Krause, 27 Oct 2005 |
71 | 74 | ||
72 | * Change mtdparts definition on trab board to match current flash map | 75 | * Change mtdparts definition on trab board to match current flash map |
73 | Patch by Martin Krause, 27 Oct 2005 | 76 | Patch by Martin Krause, 27 Oct 2005 |
74 | 77 | ||
75 | * Fix memory init problems on MCC200 board | 78 | * Fix memory init problems on MCC200 board |
76 | 79 | ||
77 | * Fix IxEthDB.h to compile again | 80 | * Fix IxEthDB.h to compile again |
78 | Patch by Stefan Roese, 14 Jun 2006 | 81 | Patch by Stefan Roese, 14 Jun 2006 |
79 | 82 | ||
80 | * Minor cleanup for PCS440EP board | 83 | * Minor cleanup for PCS440EP board |
81 | Patch by Stefan Roese, 13 Jun 2006 | 84 | Patch by Stefan Roese, 13 Jun 2006 |
82 | 85 | ||
83 | * Add MCF5282 support (without preloader) | 86 | * Add MCF5282 support (without preloader) |
84 | relocate ichache_State to ram | 87 | relocate ichache_State to ram |
85 | u-boot can run from internal flash | 88 | u-boot can run from internal flash |
86 | Add EB+MCF-EV123 board support. | 89 | Add EB+MCF-EV123 board support. |
87 | Add m68k Boards to MAKEALL | 90 | Add m68k Boards to MAKEALL |
88 | Patch from Jens Scharsig, 08 Aug 2005 | 91 | Patch from Jens Scharsig, 08 Aug 2005 |
89 | 92 | ||
90 | * Nios II - Add Altera EP1C20, EP1S10 and EP1S40 boards | 93 | * Nios II - Add Altera EP1C20, EP1S10 and EP1S40 boards |
91 | Patch by Scott McNutt, 08 Jun 2006 | 94 | Patch by Scott McNutt, 08 Jun 2006 |
92 | 95 | ||
93 | * Nios II - Add EPCS Controller bootrom work-around | 96 | * Nios II - Add EPCS Controller bootrom work-around |
94 | -When booting from an epcs controller, the epcs bootrom may leave the | 97 | -When booting from an epcs controller, the epcs bootrom may leave the |
95 | slave select in an asserted state causing soft reset hang. This | 98 | slave select in an asserted state causing soft reset hang. This |
96 | patch ensures slave select is negated at reset. | 99 | patch ensures slave select is negated at reset. |
97 | Patch by Scott McNutt, 08 Jun 2006 | 100 | Patch by Scott McNutt, 08 Jun 2006 |
98 | 101 | ||
99 | * Update PK1C20 board | 102 | * Update PK1C20 board |
100 | -Update base addresses for standard configuration | 103 | -Update base addresses for standard configuration |
101 | -Eliminate use of CACHE_BYPASS in board code | 104 | -Eliminate use of CACHE_BYPASS in board code |
102 | Patch by Scott McNutt, 08 Jun 2006 | 105 | Patch by Scott McNutt, 08 Jun 2006 |
103 | 106 | ||
104 | * Nios II - Fix I/O Macros and mini-app stubs | 107 | * Nios II - Fix I/O Macros and mini-app stubs |
105 | -Fix asm/io.h macros | 108 | -Fix asm/io.h macros |
106 | -Eliminate use of CACHE_BYPASS in cpu code | 109 | -Eliminate use of CACHE_BYPASS in cpu code |
107 | -Eliminate assembler warnings | 110 | -Eliminate assembler warnings |
108 | -Fix mini-app stubs and force no small data | 111 | -Fix mini-app stubs and force no small data |
109 | Patch by Scott McNutt, 08 Jun 2006 | 112 | Patch by Scott McNutt, 08 Jun 2006 |
110 | 113 | ||
111 | * Fix U-Boot environment sector protection on MCC200 board | 114 | * Fix U-Boot environment sector protection on MCC200 board |
112 | 115 | ||
113 | * Minor cleanup for PCS440EP board | 116 | * Minor cleanup for PCS440EP board |
114 | 117 | ||
115 | * Update PCS440EP port to fit into one flash device (incl. environment) | 118 | * Update PCS440EP port to fit into one flash device (incl. environment) |
116 | Patch by Stefan Roese, 06 Jun 2006 | 119 | Patch by Stefan Roese, 06 Jun 2006 |
117 | 120 | ||
118 | * Add support for PCS440EP board | 121 | * Add support for PCS440EP board |
119 | Patch by Stefan Roese, 02 Jun 2006 | 122 | Patch by Stefan Roese, 02 Jun 2006 |
120 | 123 | ||
121 | * Fix examples/Makefile; some build targets were lost | 124 | * Fix examples/Makefile; some build targets were lost |
122 | 125 | ||
123 | * Fix watchdog handling in CFI flash driver | 126 | * Fix watchdog handling in CFI flash driver |
124 | Just use udelay() when waiting for status changes which will | 127 | Just use udelay() when waiting for status changes which will |
125 | implicitely trigger the watchdog. | 128 | implicitely trigger the watchdog. |
126 | 129 | ||
127 | * Fix PCI to memory window size problems on PM82x boards | 130 | * Fix PCI to memory window size problems on PM82x boards |
128 | We use the "automatic" mode that was used for the MPC8266ADS and | 131 | We use the "automatic" mode that was used for the MPC8266ADS and |
129 | MPC8272 boards. Eventually this should be used on all boards?] | 132 | MPC8272 boards. Eventually this should be used on all boards?] |
130 | Patch by Wolfgang Grandegger, 17 Jan 2006 | 133 | Patch by Wolfgang Grandegger, 17 Jan 2006 |
131 | 134 | ||
132 | * Correct GPIO setup (UART1/IRQ's) on yosemite & yellowstone | 135 | * Correct GPIO setup (UART1/IRQ's) on yosemite & yellowstone |
133 | Patch by Stefan Roese, 29 May 2006 | 136 | Patch by Stefan Roese, 29 May 2006 |
134 | 137 | ||
135 | * Update Intel IXP4xx support | 138 | * Update Intel IXP4xx support |
136 | - Add IXP4xx NPE ethernet MAC support | 139 | - Add IXP4xx NPE ethernet MAC support |
137 | - Add support for Intel IXDPG425 board | 140 | - Add support for Intel IXDPG425 board |
138 | - Add support for Prodrive PDNB3 board | 141 | - Add support for Prodrive PDNB3 board |
139 | - Add IRQ support | 142 | - Add IRQ support |
140 | Patch by Stefan Roese, 23 May 2006 | 143 | Patch by Stefan Roese, 23 May 2006 |
141 | 144 | ||
142 | * Fix problem in PVR detection for 440GR | 145 | * Fix problem in PVR detection for 440GR |
143 | Patch by Stefan Roese, 18 May 2006 | 146 | Patch by Stefan Roese, 18 May 2006 |
144 | 147 | ||
145 | * Fix gcc 3.4.x AFLAGS setting for m68k platform. | 148 | * Fix gcc 3.4.x AFLAGS setting for m68k platform. |
146 | 149 | ||
147 | * Enable autoboot for M5271EVB board. | 150 | * Enable autoboot for M5271EVB board. |
148 | 151 | ||
149 | * Changed default ramdisk addr in yosemite/yellowstone ports | 152 | * Changed default ramdisk addr in yosemite/yellowstone ports |
150 | Patch by Stefan Roese, 15 May 2006 | 153 | Patch by Stefan Roese, 15 May 2006 |
151 | 154 | ||
152 | * Fix PCMCIA support on virtlab2 | 155 | * Fix PCMCIA support on virtlab2 |
153 | 156 | ||
154 | * Add support for VirtLab2 board | 157 | * Add support for VirtLab2 board |
155 | (needed because of differences in the PCMCIA hardware). | 158 | (needed because of differences in the PCMCIA hardware). |
156 | 159 | ||
157 | * Minor cleanup. | 160 | * Minor cleanup. |
158 | 161 | ||
159 | * Update yosemite configuration to enable flash write buffer support | 162 | * Update yosemite configuration to enable flash write buffer support |
160 | Patch by Stefan Roese, 10 May 2006 | 163 | Patch by Stefan Roese, 10 May 2006 |
161 | 164 | ||
162 | * Fix compile warnings in common/xyzModem.c | 165 | * Fix compile warnings in common/xyzModem.c |
163 | Patch by Stefan Roese, 10 May 2006 | 166 | Patch by Stefan Roese, 10 May 2006 |
164 | 167 | ||
165 | * Add support for AMCC 440EP Rev C and 440GR Rev B | 168 | * Add support for AMCC 440EP Rev C and 440GR Rev B |
166 | Patch by John Otken, 08 May 2006 | 169 | Patch by John Otken, 08 May 2006 |
167 | 170 | ||
168 | * OMAP 5912/OSK: update EMIFS CS1 timings: | 171 | * OMAP 5912/OSK: update EMIFS CS1 timings: |
169 | Problems have been seen in the linux kernel's smc91x network driver | 172 | Problems have been seen in the linux kernel's smc91x network driver |
170 | due to improper bus timings. The latest 2.6 OMAP kernels currently | 173 | due to improper bus timings. The latest 2.6 OMAP kernels currently |
171 | have a workaround, but this fix belongs in u-boot. | 174 | have a workaround, but this fix belongs in u-boot. |
172 | Patch by Kevin Hilman, 13 Oct 2005 | 175 | Patch by Kevin Hilman, 13 Oct 2005 |
173 | 176 | ||
174 | * Fix REG_MPU_LOAD_TIMER definition in multiple OMAP ports | 177 | * Fix REG_MPU_LOAD_TIMER definition in multiple OMAP ports |
175 | Patch by Hiroki Kaminaga, 11 Mar 2006 | 178 | Patch by Hiroki Kaminaga, 11 Mar 2006 |
176 | 179 | ||
177 | * Update omap5912osk board support | 180 | * Update omap5912osk board support |
178 | - Fix OMAP support that omap5912osk compiles in current source tree | 181 | - Fix OMAP support that omap5912osk compiles in current source tree |
179 | - Update with code from "http://omap.spectrumdigital.com/osk5912" | 182 | - Update with code from "http://omap.spectrumdigital.com/osk5912" |
180 | to fix problems with DDR initialization | 183 | to fix problems with DDR initialization |
181 | - Fix timer setup | 184 | - Fix timer setup |
182 | - Use CFI flash driver and support complete 32MB of onboard flash | 185 | - Use CFI flash driver and support complete 32MB of onboard flash |
183 | - Add "print_cpuinfo()" and "checkboard()" functions to display | 186 | - Add "print_cpuinfo()" and "checkboard()" functions to display |
184 | CPU (with frequency) and Board infos | 187 | CPU (with frequency) and Board infos |
185 | Patch by Stefan Roese, 10 May 2006 | 188 | Patch by Stefan Roese, 10 May 2006 |
186 | 189 | ||
187 | * Fix watchdog issues for ColdFire boards. | 190 | * Fix watchdog issues for ColdFire boards. |
188 | 191 | ||
189 | * Add M5271EVB board support. | 192 | * Add M5271EVB board support. |
190 | 193 | ||
191 | * Make R5200 specific low level initialization board conditional. | 194 | * Make R5200 specific low level initialization board conditional. |
192 | 195 | ||
193 | * Update CPU target identification strings for ColdFire family. | 196 | * Update CPU target identification strings for ColdFire family. |
194 | 197 | ||
195 | * Update register definitions for MCF5271. | 198 | * Update register definitions for MCF5271. |
196 | 199 | ||
197 | * Fix serial console support for MCF5271. | 200 | * Fix serial console support for MCF5271. |
198 | 201 | ||
199 | * Fixes for gcc 3.4 based m68k toolchain, | 202 | * Fixes for gcc 3.4 based m68k toolchain, |
200 | based on patch by Jate Sujjavanich. | 203 | based on patch by Jate Sujjavanich. |
201 | 204 | ||
202 | * Fix lowboot support on MCC200 board | 205 | * Fix lowboot support on MCC200 board |
203 | 206 | ||
204 | * Merged MPC8349ADS and MPC8349EMDS ports into MPC8349EMDS port: | 207 | * Merged MPC8349ADS and MPC8349EMDS ports into MPC8349EMDS port: |
205 | - Removed MPC8349ADS port | 208 | - Removed MPC8349ADS port |
206 | - Added PCI support to MPC8349ADS | 209 | - Added PCI support to MPC8349ADS |
207 | - reworked memory map to allow mapping of all regions with BATs | 210 | - reworked memory map to allow mapping of all regions with BATs |
208 | Patch by Kumar Gala, 20 Apr 2006 | 211 | Patch by Kumar Gala, 20 Apr 2006 |
209 | 212 | ||
210 | * Coding Style cleanup | 213 | * Coding Style cleanup |
211 | 214 | ||
212 | * Write RTC seconds first to maintain settings integrity per | 215 | * Write RTC seconds first to maintain settings integrity per |
213 | Maxim/Dallas DS1306 data sheet. | 216 | Maxim/Dallas DS1306 data sheet. |
214 | Patch by Alan J. Luse, 02 May 2006 | 217 | Patch by Alan J. Luse, 02 May 2006 |
215 | 218 | ||
216 | * Scheduled for removal: strnicmp() which is unused | 219 | * Scheduled for removal: strnicmp() which is unused |
217 | 220 | ||
218 | * Update for Intel Monahans boards: | 221 | * Update for Intel Monahans boards: |
219 | - support for magic key detection and handling on delta board | 222 | - support for magic key detection and handling on delta board |
220 | - NAND support for zylonite board + some minor cleanup | 223 | - NAND support for zylonite board + some minor cleanup |
221 | 224 | ||
222 | * Declare load_serial_ymodem() when using CFG_CMD_LOADB. | 225 | * Declare load_serial_ymodem() when using CFG_CMD_LOADB. |
223 | Patch by Jon Loeliger, 01 May 2006 | 226 | Patch by Jon Loeliger, 01 May 2006 |
224 | 227 | ||
225 | * Fixed handling of bad checksums with "mkimage -l" | 228 | * Fixed handling of bad checksums with "mkimage -l" |
226 | 229 | ||
227 | * Added support for BC3450 board | 230 | * Added support for BC3450 board |
228 | Patch by Stefan Strobl, 21 Oct 2005 | 231 | Patch by Stefan Strobl, 21 Oct 2005 |
229 | 232 | ||
230 | * Update for NC650 board: | 233 | * Update for NC650 board: |
231 | - Support rev1 and rev2 hardware | 234 | - Support rev1 and rev2 hardware |
232 | - adapt to new NAND layer | 235 | - adapt to new NAND layer |
233 | - add CP850 configuration based on NC650 | 236 | - add CP850 configuration based on NC650 |
234 | 237 | ||
235 | * MPC5200: enable snooping of DMA transactions on XLB even if no PCI | 238 | * MPC5200: enable snooping of DMA transactions on XLB even if no PCI |
236 | is configured; othrwise DMA accesses aren't cache coherent which | 239 | is configured; othrwise DMA accesses aren't cache coherent which |
237 | causes for example USB to fail. | 240 | causes for example USB to fail. |
238 | 241 | ||
239 | * Some code cleanup | 242 | * Some code cleanup |
240 | 243 | ||
241 | * Fix dbau1x00 boards broken by dbau1550 patch | 244 | * Fix dbau1x00 boards broken by dbau1550 patch |
242 | PLL:s were not set for boards other than 1550. | 245 | PLL:s were not set for boards other than 1550. |
243 | Flash CFI caused card to hang due to undefined CFG_FLASH_BANKS_LIST. | 246 | Flash CFI caused card to hang due to undefined CFG_FLASH_BANKS_LIST. |
244 | Default boot is now bootp for cards other than 1550. | 247 | Default boot is now bootp for cards other than 1550. |
245 | Patch by Thomas Lange, 10 Aug 2005 | 248 | Patch by Thomas Lange, 10 Aug 2005 |
246 | 249 | ||
247 | * Fixes common/cmd_flash.c: | 250 | * Fixes common/cmd_flash.c: |
248 | - fix some compiler/parser error, if using m68k tool chain | 251 | - fix some compiler/parser error, if using m68k tool chain |
249 | - optical fix for protect on/off all messages, if using more | 252 | - optical fix for protect on/off all messages, if using more |
250 | then one bank | 253 | then one bank |
251 | Patch by Jens Scharsig, 28 Jul 2005 | 254 | Patch by Jens Scharsig, 28 Jul 2005 |
252 | 255 | ||
253 | * Fix Quad UART mapping on MCC200 board due to new HW revision | 256 | * Fix Quad UART mapping on MCC200 board due to new HW revision |
254 | 257 | ||
255 | * Fix JFFS2 support for legacy NAND driver. | 258 | * Fix JFFS2 support for legacy NAND driver. |
256 | 259 | ||
257 | * Remove dependencies between DoC code and old legacy NAND driver. | 260 | * Remove dependencies between DoC code and old legacy NAND driver. |
258 | 261 | ||
259 | * Fix PM828_PCI target, for which PCI was *not* configured in. | 262 | * Fix PM828_PCI target, for which PCI was *not* configured in. |
260 | 263 | ||
261 | * Fix Lite5200B support: initialize SDelay register | 264 | * Fix Lite5200B support: initialize SDelay register |
262 | See Freescale's AN3221 "MPC5200B SDRAM Initialization and | 265 | See Freescale's AN3221 "MPC5200B SDRAM Initialization and |
263 | Configuration", 3.3.1 SDelay--MBAR + 0x0190 | 266 | Configuration", 3.3.1 SDelay--MBAR + 0x0190 |
264 | 267 | ||
265 | * Changes/fixes for drivers/cfi_flash.c: | 268 | * Changes/fixes for drivers/cfi_flash.c: |
266 | 269 | ||
267 | - Add Intel legacy lock/unlock support to common CFI driver | 270 | - Add Intel legacy lock/unlock support to common CFI driver |
268 | 271 | ||
269 | On some Intel flash's (e.g. Intel J3) legacy unlocking is | 272 | On some Intel flash's (e.g. Intel J3) legacy unlocking is |
270 | supported, meaning that unlocking of one sector will unlock | 273 | supported, meaning that unlocking of one sector will unlock |
271 | all sectors of this bank. Using this feature, unlocking | 274 | all sectors of this bank. Using this feature, unlocking |
272 | of all sectors upon startup (via env var "unlock=yes") will | 275 | of all sectors upon startup (via env var "unlock=yes") will |
273 | get much faster. | 276 | get much faster. |
274 | 277 | ||
275 | - Fixed problem with multiple reads of envronment variable | 278 | - Fixed problem with multiple reads of envronment variable |
276 | "unlock" as pointed out by Reinhard Arlt & Anders Larsen. | 279 | "unlock" as pointed out by Reinhard Arlt & Anders Larsen. |
277 | 280 | ||
278 | - Removed unwanted linefeeds from "protect" command when | 281 | - Removed unwanted linefeeds from "protect" command when |
279 | CFG_FLASH_PROTECTION is enabled. | 282 | CFG_FLASH_PROTECTION is enabled. |
280 | 283 | ||
281 | - Changed p3p400 board to use CFG_FLASH_PROTECTION | 284 | - Changed p3p400 board to use CFG_FLASH_PROTECTION |
282 | 285 | ||
283 | Patch by Stefan Roese, 01 Apr 2006 | 286 | Patch by Stefan Roese, 01 Apr 2006 |
284 | 287 | ||
285 | * Changes/fixes for drivers/cfi_flash.c: | 288 | * Changes/fixes for drivers/cfi_flash.c: |
286 | - Correctly handle the cases where CFG_HZ != 1000 (several | 289 | - Correctly handle the cases where CFG_HZ != 1000 (several |
287 | XScale-based boards) | 290 | XScale-based boards) |
288 | - Fix the timeout calculation of buffered writes (off by a | 291 | - Fix the timeout calculation of buffered writes (off by a |
289 | factor of 1000) | 292 | factor of 1000) |
290 | Patch by Anders Larsen, 31 Mar 2006 | 293 | Patch by Anders Larsen, 31 Mar 2006 |
291 | 294 | ||
292 | * Updates to common PPC4xx onboard (DDR)SDRAM init code (405 and 440) | 295 | * Updates to common PPC4xx onboard (DDR)SDRAM init code (405 and 440) |
293 | 296 | ||
294 | 405 SDRAM: - The SDRAM parameters can now be defined in the board | 297 | 405 SDRAM: - The SDRAM parameters can now be defined in the board |
295 | config file and the 405 SDRAM controller values will | 298 | config file and the 405 SDRAM controller values will |
296 | be calculated upon bootup (see PPChameleonEVB). | 299 | be calculated upon bootup (see PPChameleonEVB). |
297 | When those settings are not defined in the board | 300 | When those settings are not defined in the board |
298 | config file, the register setup will be as it is now, | 301 | config file, the register setup will be as it is now, |
299 | so this implementation should not break any current | 302 | so this implementation should not break any current |
300 | design using this code. | 303 | design using this code. |
301 | 304 | ||
302 | Thanks to Andrea Marson from DAVE for this patch. | 305 | Thanks to Andrea Marson from DAVE for this patch. |
303 | 306 | ||
304 | 440 DDR: - Added function sdram_tr1_set to auto calculate the | 307 | 440 DDR: - Added function sdram_tr1_set to auto calculate the |
305 | TR1 value for the DDR. | 308 | TR1 value for the DDR. |
306 | - Added ECC support (see p3p440). | 309 | - Added ECC support (see p3p440). |
307 | 310 | ||
308 | Patch by Stefan Roese, 17 Mar 2006 | 311 | Patch by Stefan Roese, 17 Mar 2006 |
309 | 312 | ||
310 | * Fix CONFIG_SKIP_LOWLEVEL_INIT dependency in cpu/arm920t/start.S | 313 | * Fix CONFIG_SKIP_LOWLEVEL_INIT dependency in cpu/arm920t/start.S |
311 | Patch by Peter Menzebach, 13 Oct 2005 [DNX#2006040142000473] | 314 | Patch by Peter Menzebach, 13 Oct 2005 [DNX#2006040142000473] |
312 | 315 | ||
313 | * Add support for ymodem protocol download | 316 | * Add support for ymodem protocol download |
314 | Patch by Stefano Babic, 29 Mar 2006 | 317 | Patch by Stefano Babic, 29 Mar 2006 |
315 | 318 | ||
316 | * Memory Map Update for Delta board: U-Boot is at 0x80000000-0x84000000 | 319 | * Memory Map Update for Delta board: U-Boot is at 0x80000000-0x84000000 |
317 | Merge from Markus Klotzbรผcher's repo, 01 Apr 2006 | 320 | Merge from Markus Klotzbรผcher's repo, 01 Apr 2006 |
318 | 321 | ||
319 | * GCC-4.x fixes: clean up global data pointer initialization for all | 322 | * GCC-4.x fixes: clean up global data pointer initialization for all |
320 | boards | 323 | boards |
321 | 324 | ||
322 | * Update for Delta board: | 325 | * Update for Delta board: |
323 | - redundant NAND environment | 326 | - redundant NAND environment |
324 | - misc Monahans cleanups (remove dead code etc.) | 327 | - misc Monahans cleanups (remove dead code etc.) |
325 | - DA9030 Initialization; some minimal changes to PXA I2C driver to | 328 | - DA9030 Initialization; some minimal changes to PXA I2C driver to |
326 | make it work with the Monahans. | 329 | make it work with the Monahans. |
327 | - Make Monahans clock frequency configurable using | 330 | - Make Monahans clock frequency configurable using |
328 | CFG_MONAHANS_RUN_MODE_OSC_RATIO and | 331 | CFG_MONAHANS_RUN_MODE_OSC_RATIO and |
329 | CFG_MONAHANS_TURBO_RUN_MODE_RATIO. | 332 | CFG_MONAHANS_TURBO_RUN_MODE_RATIO. |
330 | Merge from Markus Klotzbรผcher's repo, 25 Mar 2006 | 333 | Merge from Markus Klotzbรผcher's repo, 25 Mar 2006 |
331 | 334 | ||
332 | * Enable Quad UART om MCC200 board. | 335 | * Enable Quad UART om MCC200 board. |
333 | 336 | ||
334 | * Cleanup MCC200 board configuration; omit non-existent stuff. | 337 | * Cleanup MCC200 board configuration; omit non-existent stuff. |
335 | 338 | ||
336 | * Add support for MPC859/866 Rev. A.0 | 339 | * Add support for MPC859/866 Rev. A.0 |
337 | 340 | ||
338 | * Add command for handling DDR ECC registers on MPC8349EE MDS board. | 341 | * Add command for handling DDR ECC registers on MPC8349EE MDS board. |
339 | 342 | ||
340 | * Fix DDR ECC bit definitions for MPC83xx. | 343 | * Fix DDR ECC bit definitions for MPC83xx. |
341 | 344 | ||
342 | * Add initial support for MPC8349E MDS board. | 345 | * Add initial support for MPC8349E MDS board. |
343 | 346 | ||
344 | * Add support for ECC DDR initialization on MPC83xx. | 347 | * Add support for ECC DDR initialization on MPC83xx. |
345 | 348 | ||
346 | * Add DMA support for MPC83xx. | 349 | * Add DMA support for MPC83xx. |
347 | 350 | ||
348 | * Add sync in do_reset() routine for MPC83xx after RPR register | 351 | * Add sync in do_reset() routine for MPC83xx after RPR register |
349 | was written to. It is need on some targets when BAT translation | 352 | was written to. It is need on some targets when BAT translation |
350 | is enabled. | 353 | is enabled. |
351 | 354 | ||
352 | * Add bit definitions for MPC83xx DDR controller registers. | 355 | * Add bit definitions for MPC83xx DDR controller registers. |
353 | 356 | ||
354 | * Add Dcbz(), Dcbi() and Dcbf() routines for MPC83xx. | 357 | * Add Dcbz(), Dcbi() and Dcbf() routines for MPC83xx. |
355 | 358 | ||
356 | * Correct shift offsets in icache_status and dcache_status for MPC83xx. | 359 | * Correct shift offsets in icache_status and dcache_status for MPC83xx. |
357 | 360 | ||
358 | * Add support for DS1374 RTC chip. | 361 | * Add support for DS1374 RTC chip. |
359 | 362 | ||
360 | * Add support for Lite5200B board. | 363 | * Add support for Lite5200B board. |
361 | Patch by Patch by Jose Maria (Txema) Lopez, 16 Jan 2006 | 364 | Patch by Patch by Jose Maria (Txema) Lopez, 16 Jan 2006 |
362 | 365 | ||
363 | * Apply SoC concept to arm926ejs CPUs, i.e. move the SoC specific | 366 | * Apply SoC concept to arm926ejs CPUs, i.e. move the SoC specific |
364 | timer and cpu_reset code from cpu/$(CPU) into the new | 367 | timer and cpu_reset code from cpu/$(CPU) into the new |
365 | cpu/$(CPU)/$(SOC) directories | 368 | cpu/$(CPU)/$(SOC) directories |
366 | Patch by Andreas Engel, 13 Mar 2006 | 369 | Patch by Andreas Engel, 13 Mar 2006 |
367 | 370 | ||
368 | * Change max size of uncompressed uImage's to 8MByte and add | 371 | * Change max size of uncompressed uImage's to 8MByte and add |
369 | CFG_BOOTM_LEN to adjust this setting. | 372 | CFG_BOOTM_LEN to adjust this setting. |
370 | 373 | ||
371 | As mentioned by Robin Getz on 2005-05-24 the size of uncompressed | 374 | As mentioned by Robin Getz on 2005-05-24 the size of uncompressed |
372 | uImages was restricted to 4MBytes. This default size is now | 375 | uImages was restricted to 4MBytes. This default size is now |
373 | increased to 8Mbytes and can be overrided by setting CFG_BOOTM_LEN | 376 | increased to 8Mbytes and can be overrided by setting CFG_BOOTM_LEN |
374 | in the board config file. | 377 | in the board config file. |
375 | 378 | ||
376 | Patch by Stefan Roese, 13 Mar 2006 | 379 | Patch by Stefan Roese, 13 Mar 2006 |
377 | 380 | ||
378 | * Fix problem with updated PCI code in cpu/ppc4xx/405gp_pci.c | 381 | * Fix problem with updated PCI code in cpu/ppc4xx/405gp_pci.c |
379 | Patch by Stefan Roese, 13 Mar 2006 | 382 | Patch by Stefan Roese, 13 Mar 2006 |
380 | 383 | ||
381 | * cpu/ppc4xx/start.S : exceptions are enabled after relocation | 384 | * cpu/ppc4xx/start.S : exceptions are enabled after relocation |
382 | Patch by Cedric Vincent, 06 Jul 2005 | 385 | Patch by Cedric Vincent, 06 Jul 2005 |
383 | 386 | ||
384 | * au1x00_eth.c: check malloc return value and abort if it failed | 387 | * au1x00_eth.c: check malloc return value and abort if it failed |
385 | Patch by Andrew Dyer, 26 Jul 2005 | 388 | Patch by Andrew Dyer, 26 Jul 2005 |
386 | 389 | ||
387 | * Change the sequence of events in soft_i2c.c:send_ack() to keep from | 390 | * Change the sequence of events in soft_i2c.c:send_ack() to keep from |
388 | incorrectly generating start/stop conditions on the bus. | 391 | incorrectly generating start/stop conditions on the bus. |
389 | Patch by Andrew Dyer, 26 Jul 2005 | 392 | Patch by Andrew Dyer, 26 Jul 2005 |
390 | 393 | ||
391 | * Fix bug in [id]cache_status commands for MPC85xx processors; | 394 | * Fix bug in [id]cache_status commands for MPC85xx processors; |
392 | should look at LSB of L1CSRn registers to determine if L1 cache is | 395 | should look at LSB of L1CSRn registers to determine if L1 cache is |
393 | enabled, not the MSB. | 396 | enabled, not the MSB. |
394 | Patch by Murray Jensen, 19 Jul 2005 | 397 | Patch by Murray Jensen, 19 Jul 2005 |
395 | 398 | ||
396 | * Fix array overflow with fw_setenv on uninitialised environment | 399 | * Fix array overflow with fw_setenv on uninitialised environment |
397 | Patch by Murray Jensen, 15 Jul 2005 | 400 | Patch by Murray Jensen, 15 Jul 2005 |
398 | 401 | ||
399 | * Add support for EmbeddedPlanet EP88x boards | 402 | * Add support for EmbeddedPlanet EP88x boards |
400 | Patch by Yuli Barcohen, 13 Jul 2005 | 403 | Patch by Yuli Barcohen, 13 Jul 2005 |
401 | 404 | ||
402 | * Remove board specific configuration includes from the common xilinx | 405 | * Remove board specific configuration includes from the common xilinx |
403 | ethernet and iic adapter code. | 406 | ethernet and iic adapter code. |
404 | Patch by Michael Libeskind, 12 Jul 2005 | 407 | Patch by Michael Libeskind, 12 Jul 2005 |
405 | 408 | ||
406 | * Add Nat Semi DP83865 PHY support to MPC85xx TSEC driver | 409 | * Add Nat Semi DP83865 PHY support to MPC85xx TSEC driver |
407 | Patch by Murray Jensen, 08 Jul 2005 | 410 | Patch by Murray Jensen, 08 Jul 2005 |
408 | 411 | ||
409 | * Add (some) definitions for the MPC85xx local bus controller | 412 | * Add (some) definitions for the MPC85xx local bus controller |
410 | Patch by Murray Jensen, 08 Jul 2005 | 413 | Patch by Murray Jensen, 08 Jul 2005 |
411 | 414 | ||
412 | * Add CPM2 I/O pin functions for MPC85xx processors | 415 | * Add CPM2 I/O pin functions for MPC85xx processors |
413 | Patch by Murray Jensen, 08 Jul 2005 | 416 | Patch by Murray Jensen, 08 Jul 2005 |
414 | 417 | ||
415 | * Fix compile problem | 418 | * Fix compile problem |
416 | 419 | ||
417 | * Added PCI support for MPC8349ADS board | 420 | * Added PCI support for MPC8349ADS board |
418 | Patch by Kumar Gala 11 Jan 2006 | 421 | Patch by Kumar Gala 11 Jan 2006 |
419 | 422 | ||
420 | * Enable address translation on MPC83xx | 423 | * Enable address translation on MPC83xx |
421 | Patch by Kumar Gala, 10 Feb 2006 | 424 | Patch by Kumar Gala, 10 Feb 2006 |
422 | 425 | ||
423 | * Decopuled setting of OR/BR and LBLAWBAR/LBLAWAR on MPC83xx | 426 | * Decopuled setting of OR/BR and LBLAWBAR/LBLAWAR on MPC83xx |
424 | Patch by Kumar Gala, 25 Jan 2006 | 427 | Patch by Kumar Gala, 25 Jan 2006 |
425 | 428 | ||
426 | * Fixed defines for MPC83xx SICRL register to match current specs | 429 | * Fixed defines for MPC83xx SICRL register to match current specs |
427 | Patch by Kumar Gala, 23 Jan 2006 | 430 | Patch by Kumar Gala, 23 Jan 2006 |
428 | 431 | ||
429 | * Only disable the MPC83xx watchdog if its enabled out of reset. | 432 | * Only disable the MPC83xx watchdog if its enabled out of reset. |
430 | If its disabled out of reset SW can later enable it if so desired | 433 | If its disabled out of reset SW can later enable it if so desired |
431 | Patch by Kumar Gala, 11 Jan 2006 | 434 | Patch by Kumar Gala, 11 Jan 2006 |
432 | 435 | ||
433 | * Allow config of GPIO direction & data registers at boot on 83xx | 436 | * Allow config of GPIO direction & data registers at boot on 83xx |
434 | Patch by Kumar Gala, 11 Jan 2006 | 437 | Patch by Kumar Gala, 11 Jan 2006 |
435 | 438 | ||
436 | * Enable time handling on 83xx | 439 | * Enable time handling on 83xx |
437 | Patch by Kumar Gala, 11 Jan 2006 | 440 | Patch by Kumar Gala, 11 Jan 2006 |
438 | 441 | ||
439 | * Make System IO Config Registers board configurable on MPC83xx | 442 | * Make System IO Config Registers board configurable on MPC83xx |
440 | Patch by Kumar Gala, 11 Jan 2006 | 443 | Patch by Kumar Gala, 11 Jan 2006 |
441 | 444 | ||
442 | * Fixed PCI indirect config ops to handle multiple PCI controllers | 445 | * Fixed PCI indirect config ops to handle multiple PCI controllers |
443 | We need to adjust the bus number we are trying to access based | 446 | We need to adjust the bus number we are trying to access based |
444 | on which PCI controller its on | 447 | on which PCI controller its on |
445 | Patch by Kumar Gala, 12 Jan 2006 | 448 | Patch by Kumar Gala, 12 Jan 2006 |
446 | 449 | ||
447 | * Report back PCI bus when doing table based device config | 450 | * Report back PCI bus when doing table based device config |
448 | Patch by Kumar Gala, 11 Jan 2006 | 451 | Patch by Kumar Gala, 11 Jan 2006 |
449 | 452 | ||
450 | * Added support for PCI prefetchable region and BARs | 453 | * Added support for PCI prefetchable region and BARs |
451 | If a host controller sets up a region as prefetchable and | 454 | If a host controller sets up a region as prefetchable and |
452 | a device's BAR denotes it as prefetchable, allocate the | 455 | a device's BAR denotes it as prefetchable, allocate the |
453 | BAR into the prefetch region. | 456 | BAR into the prefetch region. |
454 | 457 | ||
455 | If a BAR is prefetchable and no prefetchable region has | 458 | If a BAR is prefetchable and no prefetchable region has |
456 | been setup by the controller we fall back to allocating | 459 | been setup by the controller we fall back to allocating |
457 | the BAR into the normally memory region. | 460 | the BAR into the normally memory region. |
458 | Patch by Kumar Gala, 11 Jan 2006 | 461 | Patch by Kumar Gala, 11 Jan 2006 |
459 | 462 | ||
460 | * Add helper function for generic flat device tree fixups for mpc83xx | 463 | * Add helper function for generic flat device tree fixups for mpc83xx |
461 | Patch by Kumar Gala, 11 Jan 2006 | 464 | Patch by Kumar Gala, 11 Jan 2006 |
462 | 465 | ||
463 | * Add support for passing initrd information via flat device tree | 466 | * Add support for passing initrd information via flat device tree |
464 | Patch by Kumar Gala, 11 Jan 2006 | 467 | Patch by Kumar Gala, 11 Jan 2006 |
465 | 468 | ||
466 | * Added OF_STDOUT_PATH and OF_SOC | 469 | * Added OF_STDOUT_PATH and OF_SOC |
467 | 470 | ||
468 | OF_STDOUT_PATH specifies the path to the device the kernel can use | 471 | OF_STDOUT_PATH specifies the path to the device the kernel can use |
469 | for console output | 472 | for console output |
470 | 473 | ||
471 | OF_SOC specifies the proper name of the SOC node if one exists. | 474 | OF_SOC specifies the proper name of the SOC node if one exists. |
472 | Patch by Kumar Gala, 11 Jan 2006 | 475 | Patch by Kumar Gala, 11 Jan 2006 |
473 | 476 | ||
474 | * Allow board code to fixup the flat device tree before booting a kernel | 477 | * Allow board code to fixup the flat device tree before booting a kernel |
475 | Patch by Kumar Gala, 11 Jan 2006 | 478 | Patch by Kumar Gala, 11 Jan 2006 |
476 | 479 | ||
477 | * Added CONFIG_ options for bd_t and env in flat dev tree | 480 | * Added CONFIG_ options for bd_t and env in flat dev tree |
478 | 481 | ||
479 | CONFIG_OF_HAS_BD_T will put a copy of the bd_t | 482 | CONFIG_OF_HAS_BD_T will put a copy of the bd_t |
480 | into the resulting flat device tree. | 483 | into the resulting flat device tree. |
481 | 484 | ||
482 | CONFIG_OF_HAS_UBOOT_ENV will copy the environment | 485 | CONFIG_OF_HAS_UBOOT_ENV will copy the environment |
483 | variables from u-boot into the flat device tree | 486 | variables from u-boot into the flat device tree |
484 | 487 | ||
485 | Patch by Kumar Gala, 11 Jan 2006 | 488 | Patch by Kumar Gala, 11 Jan 2006 |
486 | 489 | ||
487 | * Add support for the DHCP vendor optional bootfile (#67). | 490 | * Add support for the DHCP vendor optional bootfile (#67). |
488 | Ignores the vendor TFTP server name option (#66). | 491 | Ignores the vendor TFTP server name option (#66). |
489 | Patch by Murray Jensen, 30 Jun 2005 | 492 | Patch by Murray Jensen, 30 Jun 2005 |
490 | 493 | ||
491 | * Fix a HW timing issue on 8548 CDS for eTSEC 3 in RGMII mode | 494 | * Fix a HW timing issue on 8548 CDS for eTSEC 3 in RGMII mode |
492 | Patch by Andy Fleming, 14 Jun 2005 | 495 | Patch by Andy Fleming, 14 Jun 2005 |
493 | 496 | ||
494 | * Fix bad register definitions for LTX971 PHY on MPC85xx boards. | 497 | * Fix bad register definitions for LTX971 PHY on MPC85xx boards. |
495 | Patch by Gerhard Jaeger, 21 Jun 2005 | 498 | Patch by Gerhard Jaeger, 21 Jun 2005 |
496 | 499 | ||
497 | * Add netconsole and some more commands to RPXlite_DW board | 500 | * Add netconsole and some more commands to RPXlite_DW board |
498 | Patch by Sam Song, 19 Jun 2005 | 501 | Patch by Sam Song, 19 Jun 2005 |
499 | 502 | ||
500 | * Fix bad declaration on pci_cfgfunc_nothing | 503 | * Fix bad declaration on pci_cfgfunc_nothing |
501 | Patch by Sam Song, 19 Jun 2005 | 504 | Patch by Sam Song, 19 Jun 2005 |
502 | 505 | ||
503 | * Adjust "echo" as a default command | 506 | * Adjust "echo" as a default command |
504 | Patch by Sam Song, 19 Jun 2005 | 507 | Patch by Sam Song, 19 Jun 2005 |
505 | 508 | ||
506 | * Fix PCIDF calculation in cpu/mpc8260/speed.c for MPC8280EC | 509 | * Fix PCIDF calculation in cpu/mpc8260/speed.c for MPC8280EC |
507 | Patch by KokHow Teh, 16 Jun 2005 | 510 | Patch by KokHow Teh, 16 Jun 2005 |
508 | 511 | ||
509 | * Add crc of data to jffs2 (in jffs2_1pass_build_lists()). | 512 | * Add crc of data to jffs2 (in jffs2_1pass_build_lists()). |
510 | Patch by Rick Bronson, 15 Jun 2005 | 513 | Patch by Rick Bronson, 15 Jun 2005 |
511 | 514 | ||
512 | * Coding Style cleanup | 515 | * Coding Style cleanup |
513 | 516 | ||
514 | * Avoid dereferencing NULL in find_cmd() if no valid commands were found | 517 | * Avoid dereferencing NULL in find_cmd() if no valid commands were found |
515 | Patch by Andrew Dyer, 13 Jun 2005 | 518 | Patch by Andrew Dyer, 13 Jun 2005 |
516 | 519 | ||
517 | * Add ADI Blackfin support | 520 | * Add ADI Blackfin support |
518 | - add support for Analog Devices Blackfin BF533 CPU | 521 | - add support for Analog Devices Blackfin BF533 CPU |
519 | - add support for the ADI BF533 Stamp uClinux board | 522 | - add support for the ADI BF533 Stamp uClinux board |
520 | - add support for the ADI BF533 EZKit board | 523 | - add support for the ADI BF533 EZKit board |
521 | Patches by Richard Klingler, 11 Jun 2005 | 524 | Patches by Richard Klingler, 11 Jun 2005 |
522 | 525 | ||
523 | * Add loads of ntohl() in image header handling | 526 | * Add loads of ntohl() in image header handling |
524 | Patch by Steven Scholz, 10 Jun 2005 | 527 | Patch by Steven Scholz, 10 Jun 2005 |
525 | 528 | ||
526 | * Switch MPC86xADS and MPC885ADS boards to use cpuclk environment | 529 | * Switch MPC86xADS and MPC885ADS boards to use cpuclk environment |
527 | variable to set clock | 530 | variable to set clock |
528 | Patch by Yuli Barcohen, 05 Jun 2005 | 531 | Patch by Yuli Barcohen, 05 Jun 2005 |
529 | 532 | ||
530 | * RPXlite configuration fixes | 533 | * RPXlite configuration fixes |
531 | - Use correct flash sector size | 534 | - Use correct flash sector size |
532 | - Use correct memory test end address | 535 | - Use correct memory test end address |
533 | - Add support for bzip2 compression | 536 | - Add support for bzip2 compression |
534 | - Various small fixes | 537 | - Various small fixes |
535 | Patch by Yuli Barcohen, 05 Jun 2005 | 538 | Patch by Yuli Barcohen, 05 Jun 2005 |
536 | 539 | ||
537 | * Memory configuration changes for ZPC.1900 board | 540 | * Memory configuration changes for ZPC.1900 board |
538 | - Fix SDRAM timing on both local bus and 60x bus | 541 | - Fix SDRAM timing on both local bus and 60x bus |
539 | - Add support for second flash bank (SIMM) | 542 | - Add support for second flash bank (SIMM) |
540 | - Change boot flash base | 543 | - Change boot flash base |
541 | Patch by Yuli Barcohen, 05 Jun 2005 | 544 | Patch by Yuli Barcohen, 05 Jun 2005 |
542 | 545 | ||
543 | * Add support for Adder boards with 16MB SDRAM; | 546 | * Add support for Adder boards with 16MB SDRAM; |
544 | add support for second FEC on Adder87x board. | 547 | add support for second FEC on Adder87x board. |
545 | Patch by Yuli Barcohen, 05 Jun 2005 | 548 | Patch by Yuli Barcohen, 05 Jun 2005 |
546 | 549 | ||
547 | * Fix conditional for including ks8695eth driver | 550 | * Fix conditional for including ks8695eth driver |
548 | Patch by Greg Ungerer, 04 Jun 2005 | 551 | Patch by Greg Ungerer, 04 Jun 2005 |
549 | 552 | ||
550 | * Fix Makefile: include config.mk only after CROSS_COMPILE is defined | 553 | * Fix Makefile: include config.mk only after CROSS_COMPILE is defined |
551 | Patch by Friedrich Lobenstock, 02 Jun 2005 | 554 | Patch by Friedrich Lobenstock, 02 Jun 2005 |
552 | 555 | ||
553 | * Fix comment in common/soft_i2c.c | 556 | * Fix comment in common/soft_i2c.c |
554 | Patches by Peter Korsgaard/Tolunay Orkun, 26 May 2005 | 557 | Patches by Peter Korsgaard/Tolunay Orkun, 26 May 2005 |
555 | 558 | ||
556 | * Cleanup compiler warnings. | 559 | * Cleanup compiler warnings. |
557 | Patch by Greg Ungerer, 21 May 2005 | 560 | Patch by Greg Ungerer, 21 May 2005 |
558 | 561 | ||
559 | * Word alignment fixes for word aligned NS16550 UART | 562 | * Word alignment fixes for word aligned NS16550 UART |
560 | Patch by Jean-Paul Saman, 01 Mar 2005 | 563 | Patch by Jean-Paul Saman, 01 Mar 2005 |
561 | 564 | ||
562 | Fixes bug with UART that only supports word aligned access: removed | 565 | Fixes bug with UART that only supports word aligned access: removed |
563 | "__attribute__ ((packed));" for "(CFG_NS16550_REG_SIZE == 4)" some | 566 | "__attribute__ ((packed));" for "(CFG_NS16550_REG_SIZE == 4)" some |
564 | (broken!) versions of GCC generate byte accesses when encountering | 567 | (broken!) versions of GCC generate byte accesses when encountering |
565 | the packed attribute regardless if the struct is already correctly | 568 | the packed attribute regardless if the struct is already correctly |
566 | aligned for a platform. Peripherals that can only handle word | 569 | aligned for a platform. Peripherals that can only handle word |
567 | aligned access won't work properly when accessed with byte access. | 570 | aligned access won't work properly when accessed with byte access. |
568 | The struct NS16550 is already word aligned for REG_SIZE = 4, so | 571 | The struct NS16550 is already word aligned for REG_SIZE = 4, so |
569 | there is no need to packed the struct in that case. | 572 | there is no need to packed the struct in that case. |
570 | 573 | ||
571 | * Fix behaviour if gatewayip is not set | 574 | * Fix behaviour if gatewayip is not set |
572 | Patch by Robin Gilks, 23 Dec 2004 | 575 | Patch by Robin Gilks, 23 Dec 2004 |
573 | 576 | ||
574 | * Fix cleanup for netstart board. | 577 | * Fix cleanup for netstart board. |
575 | Remove build results from repository | 578 | Remove build results from repository |
576 | 579 | ||
577 | * Some code cleanup for GCC 4.x | 580 | * Some code cleanup for GCC 4.x |
578 | 581 | ||
579 | * Fixes to support environment in NAND flash; | 582 | * Fixes to support environment in NAND flash; |
580 | enable NAND flash based environment for delta board. | 583 | enable NAND flash based environment for delta board. |
581 | 584 | ||
582 | * Add support for Intel Monahans CPU on Zylonite and Delta boards | 585 | * Add support for Intel Monahans CPU on Zylonite and Delta boards |
583 | (This is Work in Progress!) | 586 | (This is Work in Progress!) |
584 | 587 | ||
585 | * Add support for TQM8260-AI boards. | 588 | * Add support for TQM8260-AI boards. |
586 | 589 | ||
587 | * Minor code cleanup | 590 | * Minor code cleanup |
588 | 591 | ||
589 | * Merge the new NAND code (testing-NAND brach); see doc/README.nand | 592 | * Merge the new NAND code (testing-NAND brach); see doc/README.nand |
590 | Rewrite of NAND code based on what is in 2.6.12 Linux kernel | 593 | Rewrite of NAND code based on what is in 2.6.12 Linux kernel |
591 | Patch by Ladislav Michl, 29 Jun 2005 | 594 | Patch by Ladislav Michl, 29 Jun 2005 |
592 | 595 | ||
593 | * Add lowboot target to mcc200 board | 596 | * Add lowboot target to mcc200 board |
594 | Patch by Stefan Roese, 4 Mar 2006 | 597 | Patch by Stefan Roese, 4 Mar 2006 |
595 | 598 | ||
596 | * Fix problem with flash_get_size() from CFI driver update | 599 | * Fix problem with flash_get_size() from CFI driver update |
597 | Patch by Stefan Roese, 1 Mar 2006 | 600 | Patch by Stefan Roese, 1 Mar 2006 |
598 | 601 | ||
599 | * Make CFG_NO_FLASH work on ARM systems | 602 | * Make CFG_NO_FLASH work on ARM systems |
600 | Patch by Markus Klotzbuecher, 27 Feb 2006 | 603 | Patch by Markus Klotzbuecher, 27 Feb 2006 |
601 | 604 | ||
602 | * Update mcc200 config: Disable PCI and DoC, use 133 MHz IPB clock, | 605 | * Update mcc200 config: Disable PCI and DoC, use 133 MHz IPB clock, |
603 | use hush shell. | 606 | use hush shell. |
604 | 607 | ||
605 | * Convert mcc200 to use common CFI flash driver | 608 | * Convert mcc200 to use common CFI flash driver |
606 | Patch by Stefan Roese, 28 Feb 2006 | 609 | Patch by Stefan Roese, 28 Feb 2006 |
607 | 610 | ||
608 | * Add env-variable "unlock" to handle initial state of sectors | 611 | * Add env-variable "unlock" to handle initial state of sectors |
609 | (locked/unlocked). | 612 | (locked/unlocked). |
610 | 613 | ||
611 | Only the U-Boot image and it's environment is protected, | 614 | Only the U-Boot image and it's environment is protected, |
612 | all other sectors are unprotected (unlocked) if flash | 615 | all other sectors are unprotected (unlocked) if flash |
613 | hardware protection is used (CFG_FLASH_PROTECTION) and | 616 | hardware protection is used (CFG_FLASH_PROTECTION) and |
614 | the environment variable "unlock" is set to "yes". | 617 | the environment variable "unlock" is set to "yes". |
615 | 618 | ||
616 | Patch by Stefan Roese, 28 Feb 2006 | 619 | Patch by Stefan Roese, 28 Feb 2006 |
617 | 620 | ||
618 | * Update drivers/cfi_flash.c: | 621 | * Update drivers/cfi_flash.c: |
619 | - find_sector() called in both versions of flash_write_cfiword() | 622 | - find_sector() called in both versions of flash_write_cfiword() |
620 | Patch by Peter Pearse, 27th Feb 2006 | 623 | Patch by Peter Pearse, 27th Feb 2006 |
621 | 624 | ||
622 | * CFI support for a x8/x16 AMD/Spansion flash configured in x8 mode | 625 | * CFI support for a x8/x16 AMD/Spansion flash configured in x8 mode |
623 | Patch by Jose Maria Lopez, 16 Jan 2006 | 626 | Patch by Jose Maria Lopez, 16 Jan 2006 |
624 | 627 | ||
625 | * Add support for AMD/Spansion Flashes in flash_write_cfibuffer | 628 | * Add support for AMD/Spansion Flashes in flash_write_cfibuffer |
626 | Patch by Alex Bastos and Thomas Schaefer, 2005-08-29 | 629 | Patch by Alex Bastos and Thomas Schaefer, 2005-08-29 |
627 | 630 | ||
628 | * Changes/fixes for drivers/cfi_flash.c: | 631 | * Changes/fixes for drivers/cfi_flash.c: |
629 | We *should* check if there are any error bits if the previous call | 632 | We *should* check if there are any error bits if the previous call |
630 | returned ERR_OK (Otherwise we will have output an error message in | 633 | returned ERR_OK (Otherwise we will have output an error message in |
631 | flash_status_check() already.) The original code would only check for | 634 | flash_status_check() already.) The original code would only check for |
632 | error bits if flash_status_check() returns ERR_TIMEOUT. | 635 | error bits if flash_status_check() returns ERR_TIMEOUT. |
633 | Patch by Marcus Hall, 23 Aug 2005 | 636 | Patch by Marcus Hall, 23 Aug 2005 |
634 | 637 | ||
635 | * Changes/fixes for drivers/cfi_flash.c: | 638 | * Changes/fixes for drivers/cfi_flash.c: |
636 | - Add CFG_FLASH_PROTECT_CLEAR on drivers/cfi_flash.c | 639 | - Add CFG_FLASH_PROTECT_CLEAR on drivers/cfi_flash.c |
637 | - Prohibit buffer write when buffer_size is 1 on drivers/cfi_flash.c | 640 | - Prohibit buffer write when buffer_size is 1 on drivers/cfi_flash.c |
638 | Patch by Sangmoon Kim, 19 Aug 2005 | 641 | Patch by Sangmoon Kim, 19 Aug 2005 |
639 | 642 | ||
640 | * Fixes for drivers/cfi_flash.c: | 643 | * Fixes for drivers/cfi_flash.c: |
641 | - Fix wrong timeout value usage in flash_status_check() | 644 | - Fix wrong timeout value usage in flash_status_check() |
642 | - Round write_tout up when converting to msec in flash_get_size() | 645 | - Round write_tout up when converting to msec in flash_get_size() |
643 | - Remove clearing flash status at the end of flash_write_cfibuffer() | 646 | - Remove clearing flash status at the end of flash_write_cfibuffer() |
644 | which sets Intel 28F640J3 flash back to command mode on CSB472 | 647 | which sets Intel 28F640J3 flash back to command mode on CSB472 |
645 | Patch by Tolunay Orkun, 02 July 2005 | 648 | Patch by Tolunay Orkun, 02 July 2005 |
646 | 649 | ||
647 | * Add basic support for the SMMACO4 Board from PanDaCom. | 650 | * Add basic support for the SMMACO4 Board from PanDaCom. |
648 | Patch by Heiko Schocher, 20 Feb 2006 | 651 | Patch by Heiko Schocher, 20 Feb 2006 |
649 | 652 | ||
650 | * Add GIT version information (commid ID) to untagged U-Boot versions | 653 | * Add GIT version information (commid ID) to untagged U-Boot versions |
651 | 654 | ||
652 | As done in the linux kernel, the U-Boot version (U_BOOT_VERSION) | 655 | As done in the linux kernel, the U-Boot version (U_BOOT_VERSION) |
653 | of all unreleased (untagged) U-Boot images will be automatically | 656 | of all unreleased (untagged) U-Boot images will be automatically |
654 | extended upon compiletime with a part of the GIT commit ID and | 657 | extended upon compiletime with a part of the GIT commit ID and |
655 | possibly with "dirty" if uncommited changes are detected. | 658 | possibly with "dirty" if uncommited changes are detected. |
656 | 659 | ||
657 | Here an example for the resulting version: | 660 | Here an example for the resulting version: |
658 | "U-Boot 1.1.4-g3457ac18-dirty" | 661 | "U-Boot 1.1.4-g3457ac18-dirty" |
659 | 662 | ||
660 | The version is now maintained in the toplevel Makefile and the | 663 | The version is now maintained in the toplevel Makefile and the |
661 | version headers are autogenerated. | 664 | version headers are autogenerated. |
662 | 665 | ||
663 | Patch by Stefan Roese, 9 Feb 2006 | 666 | Patch by Stefan Roese, 9 Feb 2006 |
664 | 667 | ||
665 | * Update default environment for INKA4x00 board. | 668 | * Update default environment for INKA4x00 board. |
666 | 669 | ||
667 | * Convert CPCI750 to use common CFI flash driver | 670 | * Convert CPCI750 to use common CFI flash driver |
668 | Patch by Reinhard Arlt, 8 Feb 2006 | 671 | Patch by Reinhard Arlt, 8 Feb 2006 |
669 | 672 | ||
670 | * Various changes to esd HH405 board specific files | 673 | * Various changes to esd HH405 board specific files |
671 | Patch by Matthias Fuchs, 07 Feb 2006 | 674 | Patch by Matthias Fuchs, 07 Feb 2006 |
672 | 675 | ||
673 | * Cleanup U-Boot boot messages on ARM. | 676 | * Cleanup U-Boot boot messages on ARM. |
674 | 677 | ||
675 | To match the U-Boot user interface on ARM platforms to the U-Boot | 678 | To match the U-Boot user interface on ARM platforms to the U-Boot |
676 | standard (as on PPC platforms), some messages with debug character | 679 | standard (as on PPC platforms), some messages with debug character |
677 | are removed from the default U-Boot build. | 680 | are removed from the default U-Boot build. |
678 | Enable DEBUG for lib_arm/board.c to enable debug messages. | 681 | Enable DEBUG for lib_arm/board.c to enable debug messages. |
679 | New CONFIG_DISPLAY_CPUINFO and CONFIG_DISPLAY_BOARDINFO options. | 682 | New CONFIG_DISPLAY_CPUINFO and CONFIG_DISPLAY_BOARDINFO options. |
680 | Patch by Stefan Roese, 24 Jan 2006 | 683 | Patch by Stefan Roese, 24 Jan 2006 |
681 | 684 | ||
682 | * Fix various compiler warnings on ppc4xx builds (ELDK 4.0) | 685 | * Fix various compiler warnings on ppc4xx builds (ELDK 4.0) |
683 | Patch by Stefan Roese, 18 Jan 2006 | 686 | Patch by Stefan Roese, 18 Jan 2006 |
684 | 687 | ||
685 | * Add VGA support (CT69000) to CPCI750 board. | 688 | * Add VGA support (CT69000) to CPCI750 board. |
686 | Insert missing __le32_to_cpu() for filesize in ext2fs_read_file(). | 689 | Insert missing __le32_to_cpu() for filesize in ext2fs_read_file(). |
687 | Patch by Reinhard Arlt, 30 Dec 2005 | 690 | Patch by Reinhard Arlt, 30 Dec 2005 |
688 | 691 | ||
689 | * PMC405 and CPCI405: Moved configuration of pci resources | 692 | * PMC405 and CPCI405: Moved configuration of pci resources |
690 | into config file. | 693 | into config file. |
691 | PMC405 and CPCI2DP: Added firmware download and booting via pci. | 694 | PMC405 and CPCI2DP: Added firmware download and booting via pci. |
692 | Patch by Matthias Fuchs, 20 Dec 2005 | 695 | Patch by Matthias Fuchs, 20 Dec 2005 |
693 | 696 | ||
694 | * Add ColdFire targets to MAKEALL script | 697 | * Add ColdFire targets to MAKEALL script |
695 | Patch by Zachary Landau, 26 Jan 2006 | 698 | Patch by Zachary Landau, 26 Jan 2006 |
696 | 699 | ||
697 | * Add support for r5200 board | 700 | * Add support for r5200 board |
698 | Patch by Zachary Landau, 26 Jan 2006 | 701 | Patch by Zachary Landau, 26 Jan 2006 |
699 | 702 | ||
700 | * Add support for Freescale M5271 processor | 703 | * Add support for Freescale M5271 processor |
701 | Patch by Zachary Landau, 26 Jan 2006 | 704 | Patch by Zachary Landau, 26 Jan 2006 |
702 | 705 | ||
703 | * Fix 28F256J3A support on PM520 board | 706 | * Fix 28F256J3A support on PM520 board |
704 | (without bank-switching only 32 MB can be accessed) | 707 | (without bank-switching only 32 MB can be accessed) |
705 | 708 | ||
706 | * Fix mkimage bug with multifile images created on 64 bit systems. | 709 | * Fix mkimage bug with multifile images created on 64 bit systems. |
707 | 710 | ||
708 | * Add support for 28F256J3A flash (=> 64 MB) on PM520 board | 711 | * Add support for 28F256J3A flash (=> 64 MB) on PM520 board |
709 | 712 | ||
710 | * Fix compiler problem with at91rm9200dk board. | 713 | * Fix compiler problem with at91rm9200dk board. |
711 | Patch by Eugen Bigz, 19 Dec 2005 | 714 | Patch by Eugen Bigz, 19 Dec 2005 |
712 | 715 | ||
713 | ====================================================================== | 716 | ====================================================================== |
714 | Changes for U-Boot 1.1.4: | 717 | Changes for U-Boot 1.1.4: |
715 | ====================================================================== | 718 | ====================================================================== |
716 | 719 | ||
717 | * Changes to Yellowstone & Yosemite 440EP/GR eval boards: | 720 | * Changes to Yellowstone & Yosemite 440EP/GR eval boards: |
718 | - Changed GPIO setup to enable another address line in order to | 721 | - Changed GPIO setup to enable another address line in order to |
719 | address 64M of FLASH. | 722 | address 64M of FLASH. |
720 | - Added function sdram_tr1_set to auto calculate the tr1 value for | 723 | - Added function sdram_tr1_set to auto calculate the tr1 value for |
721 | the DDR. | 724 | the DDR. |
722 | Patch by Steven Blakeslee, 12 Dec 2005 | 725 | Patch by Steven Blakeslee, 12 Dec 2005 |
723 | 726 | ||
724 | * MPC5200: Set PCI retry counter to 0 = infinite retry; | 727 | * MPC5200: Set PCI retry counter to 0 = infinite retry; |
725 | The default of 255 is too short for slow devices. | 728 | The default of 255 is too short for slow devices. |
726 | Patch by Martin Nykodym, 12 Dec 2005 | 729 | Patch by Martin Nykodym, 12 Dec 2005 |
727 | 730 | ||
728 | * Change port configuration for O2DNT (CODEC1 on PSC1). | 731 | * Change port configuration for O2DNT (CODEC1 on PSC1). |
729 | 732 | ||
730 | * Fix register for PCI async mode on PPC440EP | 733 | * Fix register for PCI async mode on PPC440EP |
731 | Patch by Youngchul Bang, 08 Dec 2005 | 734 | Patch by Youngchul Bang, 08 Dec 2005 |
732 | 735 | ||
733 | * Fix U-Boot linking problems (add .eh_frame segment to linker script) | 736 | * Fix U-Boot linking problems (add .eh_frame segment to linker script) |
734 | This segment may be required by some libgcc.a functions | 737 | This segment may be required by some libgcc.a functions |
735 | (like _udivdi3). | 738 | (like _udivdi3). |
736 | 739 | ||
737 | * Fix DPRAM offset/size for MPC8541/8555. | 740 | * Fix DPRAM offset/size for MPC8541/8555. |
738 | Simplify TQM85xx Makefile handling. | 741 | Simplify TQM85xx Makefile handling. |
739 | 742 | ||
740 | * Fix data overflow (typo?) in rtc/ds1302.c | 743 | * Fix data overflow (typo?) in rtc/ds1302.c |
741 | 744 | ||
742 | * Fix U-Boot compilation for MIPS boards using ELDK 4.0 | 745 | * Fix U-Boot compilation for MIPS boards using ELDK 4.0 |
743 | 746 | ||
744 | * Add support for TQM8541/8555 boards, TQM85xx support reworked: | 747 | * Add support for TQM8541/8555 boards, TQM85xx support reworked: |
745 | - Support for TQM8541/8555 boards added. | 748 | - Support for TQM8541/8555 boards added. |
746 | - Complete rework of TQM8540/8560 support. | 749 | - Complete rework of TQM8540/8560 support. |
747 | - Common TQM85xx code now supports all current TQM85xx platforms | 750 | - Common TQM85xx code now supports all current TQM85xx platforms |
748 | (TQM8540/8541/8555/8560). | 751 | (TQM8540/8541/8555/8560). |
749 | - DDR SDRAM size detection added. | 752 | - DDR SDRAM size detection added. |
750 | - CAS latency default values can be overwritten by setting "serial#" | 753 | - CAS latency default values can be overwritten by setting "serial#" |
751 | to e.g. "ABC0001 casl=25" -> CAS latency 2.5 will be used. | 754 | to e.g. "ABC0001 casl=25" -> CAS latency 2.5 will be used. |
752 | If problems are detected with this non default CAS latency, | 755 | If problems are detected with this non default CAS latency, |
753 | the default values will be used instead. | 756 | the default values will be used instead. |
754 | - Flash size detection added. | 757 | - Flash size detection added. |
755 | - Moved FCC ethernet driver initialization behind TSEC driver init | 758 | - Moved FCC ethernet driver initialization behind TSEC driver init |
756 | -> TSEC is first device. | 759 | -> TSEC is first device. |
757 | Patch by Stefan Roese, 30 Nov 2005 | 760 | Patch by Stefan Roese, 30 Nov 2005 |
758 | 761 | ||
759 | * Add support for AMCC 440SP, add support for AMCC Luan 440SP eval board. | 762 | * Add support for AMCC 440SP, add support for AMCC Luan 440SP eval board. |
760 | Patch by John Otken, 23 Nov 2005 | 763 | Patch by John Otken, 23 Nov 2005 |
761 | 764 | ||
762 | * Changed PPC44x startup message (cpu info, speed...) to common style: | 765 | * Changed PPC44x startup message (cpu info, speed...) to common style: |
763 | On PPC44x platforms, the startup message generated in "cpu.c" only | 766 | On PPC44x platforms, the startup message generated in "cpu.c" only |
764 | comprised the ppc type and revision but not additional information | 767 | comprised the ppc type and revision but not additional information |
765 | like speed etc. Those speed infos where printed in the board specific | 768 | like speed etc. Those speed infos where printed in the board specific |
766 | code. This new implementation now prints all CPU infos in the common | 769 | code. This new implementation now prints all CPU infos in the common |
767 | cpu specific code. No board specific code is needed anymore and | 770 | cpu specific code. No board specific code is needed anymore and |
768 | therefore removed from all current 44x implementations. | 771 | therefore removed from all current 44x implementations. |
769 | Patch by Stefan Roese, 27 Nov 2005 | 772 | Patch by Stefan Roese, 27 Nov 2005 |
770 | 773 | ||
771 | * Adjust TQM834x PHY addresses for latest hardware revision. | 774 | * Adjust TQM834x PHY addresses for latest hardware revision. |
772 | 775 | ||
773 | * Increase malloc arena on TQM5200 board to 256 kB. | 776 | * Increase malloc arena on TQM5200 board to 256 kB. |
774 | With 64 kb uniform flash sector size the old value of 128 kB was | 777 | With 64 kb uniform flash sector size the old value of 128 kB was |
775 | too small. | 778 | too small. |
776 | 779 | ||
777 | * Fix miiphy global data initialization (problem on 4xx boards when | 780 | * Fix miiphy global data initialization (problem on 4xx boards when |
778 | no ethaddr is assigned). Initialization moved from | 781 | no ethaddr is assigned). Initialization moved from |
779 | miiphy_register() to eth_initialize(). | 782 | miiphy_register() to eth_initialize(). |
780 | 783 | ||
781 | Based on initial patch for 4xx platform by Matthias Fuchs. | 784 | Based on initial patch for 4xx platform by Matthias Fuchs. |
782 | 785 | ||
783 | * Remove unnnecessary #include <linux/types.h> from include/asm-*/u-boot.h | 786 | * Remove unnnecessary #include <linux/types.h> from include/asm-*/u-boot.h |
784 | 787 | ||
785 | * Allow use of include/image.h and include/asm-*/u-boot.h in proprietary code. | 788 | * Allow use of include/image.h and include/asm-*/u-boot.h in proprietary code. |
786 | The COPYING file was extended to make clear that these files can be | 789 | The COPYING file was extended to make clear that these files can be |
787 | used in non-GPL code, too. | 790 | used in non-GPL code, too. |
788 | Also, a corresponding note was placed in the headers of the affected files. | 791 | Also, a corresponding note was placed in the headers of the affected files. |
789 | 792 | ||
790 | * Add support for Prodrive P3P440 board: | 793 | * Add support for Prodrive P3P440 board: |
791 | - Added onboard PPC440 DDR autodetection in cpu/ppc/sdram.c | 794 | - Added onboard PPC440 DDR autodetection in cpu/ppc/sdram.c |
792 | - CFG_FLASH_QUIET_TEST added to use the common CFI driver | 795 | - CFG_FLASH_QUIET_TEST added to use the common CFI driver |
793 | for bank autodetection | 796 | for bank autodetection |
794 | Patch by Stefan Roese, 22 Nov 2005 | 797 | Patch by Stefan Roese, 22 Nov 2005 |
795 | 798 | ||
796 | * Change all '$(...)' variable references into '${...}' | 799 | * Change all '$(...)' variable references into '${...}' |
797 | which makes the environment compatible with the hush shell. | 800 | which makes the environment compatible with the hush shell. |
798 | WARNING: Support for the old '$(...)' syntax will be | 801 | WARNING: Support for the old '$(...)' syntax will be |
799 | discontinued in a later version. | 802 | discontinued in a later version. |
800 | 803 | ||
801 | * Minor changes to init flags in TQM834x PCI. | 804 | * Minor changes to init flags in TQM834x PCI. |
802 | 805 | ||
803 | * Fix Bamboo DDR SDRAM initialization (problem with onboard SDRAM) | 806 | * Fix Bamboo DDR SDRAM initialization (problem with onboard SDRAM) |
804 | Patch by Stefan Roese, 15 Nov 2005 | 807 | Patch by Stefan Roese, 15 Nov 2005 |
805 | 808 | ||
806 | * New PPC 405EP board added: CMS700 | 809 | * New PPC 405EP board added: CMS700 |
807 | Added CONFIG_NET_MULTI for VOM405 board. | 810 | Added CONFIG_NET_MULTI for VOM405 board. |
808 | Added reset_phy() for VOM405 board. | 811 | Added reset_phy() for VOM405 board. |
809 | Patch by Matthias Fuchs, 09 Nov 2005 | 812 | Patch by Matthias Fuchs, 09 Nov 2005 |
810 | 813 | ||
811 | * Updated PCI mapping for esd CPCI2DP board. | 814 | * Updated PCI mapping for esd CPCI2DP board. |
812 | Add support for error LED. | 815 | Add support for error LED. |
813 | Patch by Matthias Fuchs, 07 Nov 2005 | 816 | Patch by Matthias Fuchs, 07 Nov 2005 |
814 | 817 | ||
815 | * Fix MPC85xx PCI support (pci_register_hose() before pci config access) | 818 | * Fix MPC85xx PCI support (pci_register_hose() before pci config access) |
816 | Patch by Stefan Roese, 07 Nov 2005 | 819 | Patch by Stefan Roese, 07 Nov 2005 |
817 | 820 | ||
818 | * Correct PPC Timebase register definitions (SPRN_TBRL...) | 821 | * Correct PPC Timebase register definitions (SPRN_TBRL...) |
819 | Patch by Stefan Roese, 07 Nov 2005 | 822 | Patch by Stefan Roese, 07 Nov 2005 |
820 | 823 | ||
821 | * Adjust bd->bi_flashstart on Yellowstone & Yosemite to correct size | 824 | * Adjust bd->bi_flashstart on Yellowstone & Yosemite to correct size |
822 | Patch by Stefan Roese, 05 Nov 2005 | 825 | Patch by Stefan Roese, 05 Nov 2005 |
823 | 826 | ||
824 | * Additional fix for external IRQ config on Yellowstone & Yosemite | 827 | * Additional fix for external IRQ config on Yellowstone & Yosemite |
825 | Patch by Stefan Roese, 03 Nov 2005 | 828 | Patch by Stefan Roese, 03 Nov 2005 |
826 | 829 | ||
827 | * Add support for Ocotea pass 3 with 440GX Rev. F | 830 | * Add support for Ocotea pass 3 with 440GX Rev. F |
828 | Patch by Stefan Roese, 01 Nov 2005 | 831 | Patch by Stefan Roese, 01 Nov 2005 |
829 | 832 | ||
830 | * Fix external IRQ configuration on Yellowstone & Yosemite | 833 | * Fix external IRQ configuration on Yellowstone & Yosemite |
831 | Patch by Stefan Roese, 28 Oct 2005 | 834 | Patch by Stefan Roese, 28 Oct 2005 |
832 | 835 | ||
833 | * Add support for multiple PHYs. | 836 | * Add support for multiple PHYs. |
834 | Tested on the following boards: | 837 | Tested on the following boards: |
835 | cmcpu2 (at91rm9200/ether.c) | 838 | cmcpu2 (at91rm9200/ether.c) |
836 | PPChameleon (ppc4xx/4xx_enet.c) | 839 | PPChameleon (ppc4xx/4xx_enet.c) |
837 | yukon (mpc8220/fec.c) | 840 | yukon (mpc8220/fec.c) |
838 | uc100 (mpc8xx/fec.c) | 841 | uc100 (mpc8xx/fec.c) |
839 | tqm834x (mpc834x/tsec.c) with EEPRO100 | 842 | tqm834x (mpc834x/tsec.c) with EEPRO100 |
840 | lite5200 (mpc5xxx/fec.c) with EEPRO100 card (drivers/eepro100.c) | 843 | lite5200 (mpc5xxx/fec.c) with EEPRO100 card (drivers/eepro100.c) |
841 | Main changes include: | 844 | Main changes include: |
842 | common/miiphyutil.c | 845 | common/miiphyutil.c |
843 | - miiphy_register routine was added to allow multiple PHYs to be registered | 846 | - miiphy_register routine was added to allow multiple PHYs to be registered |
844 | - miiphy_read and miiphy_write are now defined in this file, and | 847 | - miiphy_read and miiphy_write are now defined in this file, and |
845 | require additional argument (char *devname) | 848 | require additional argument (char *devname) |
846 | - other miiphy_* routines also require additional device name argument | 849 | - other miiphy_* routines also require additional device name argument |
847 | ../lib_i386/board.c | 850 | ../lib_i386/board.c |
848 | ../lib_ppc/board.c | 851 | ../lib_ppc/board.c |
849 | Calling reset_phy() was moved to be executed *after* eth_initialize(). | 852 | Calling reset_phy() was moved to be executed *after* eth_initialize(). |
850 | This is necessary as now some of the implementations of reset_phy() | 853 | This is necessary as now some of the implementations of reset_phy() |
851 | may need to use miiphy_reset() which is not allowed before eth_initialize() | 854 | may need to use miiphy_reset() which is not allowed before eth_initialize() |
852 | as eth_initialize registers all required miiphy_* routines. | 855 | as eth_initialize registers all required miiphy_* routines. |
853 | Tested on IP860 and PHY initializes properly after this change. | 856 | Tested on IP860 and PHY initializes properly after this change. |
854 | 857 | ||
855 | * Correct includes for flat tree builder. | 858 | * Correct includes for flat tree builder. |
856 | 859 | ||
857 | * Fix conflicting types (flash_write()) in trab auto_update.c. | 860 | * Fix conflicting types (flash_write()) in trab auto_update.c. |
858 | 861 | ||
859 | * Add PCI support for the TQM834x board. | 862 | * Add PCI support for the TQM834x board. |
860 | 863 | ||
861 | * Add missing 4xx board to MAKEALL | 864 | * Add missing 4xx board to MAKEALL |
862 | Patch by Stefan Roese, 20 Oct 2005 | 865 | Patch by Stefan Roese, 20 Oct 2005 |
863 | 866 | ||
864 | * Fix conflicting types (flash_write()) in esd auto_update.c | 867 | * Fix conflicting types (flash_write()) in esd auto_update.c |
865 | Patch by Stefan Roese, 20 Oct 2005 | 868 | Patch by Stefan Roese, 20 Oct 2005 |
866 | 869 | ||
867 | * Fix problem with sleep in NetConsole (use get_timer()) | 870 | * Fix problem with sleep in NetConsole (use get_timer()) |
868 | Patch by Stefan Roese, 20 Oct 2005 | 871 | Patch by Stefan Roese, 20 Oct 2005 |
869 | 872 | ||
870 | * Add NetConsole Support for AMCC eval boards | 873 | * Add NetConsole Support for AMCC eval boards |
871 | Patch by Stefan Roese, 20 Oct 2005 | 874 | Patch by Stefan Roese, 20 Oct 2005 |
872 | 875 | ||
873 | * Fix NetConsole support on 4xx (only print eth link on 1st transfer) | 876 | * Fix NetConsole support on 4xx (only print eth link on 1st transfer) |
874 | Patch by Stefan Roese, 18 Oct 2005 | 877 | Patch by Stefan Roese, 18 Oct 2005 |
875 | 878 | ||
876 | * Add fat & ext2 support to AMCC 440EP boards Yosemite & Bamboo. | 879 | * Add fat & ext2 support to AMCC 440EP boards Yosemite & Bamboo. |
877 | Fix identation on ext2ls help entry. | 880 | Fix identation on ext2ls help entry. |
878 | Patch by Stefan Roese, 14 Oct 2005 | 881 | Patch by Stefan Roese, 14 Oct 2005 |
879 | 882 | ||
880 | * Add support for TQM834x boards. | 883 | * Add support for TQM834x boards. |
881 | Cleanup. | 884 | Cleanup. |
882 | 885 | ||
883 | * Cleanup for GCC-4.x | 886 | * Cleanup for GCC-4.x |
884 | 887 | ||
885 | * Add documentation for Open Firmware Flat Tree and usage. | 888 | * Add documentation for Open Firmware Flat Tree and usage. |
886 | Patch by Pantelis Antoniou, 13 Oct 2005 | 889 | Patch by Pantelis Antoniou, 13 Oct 2005 |
887 | 890 | ||
888 | * Add missing files for Pantelis Antoniou's patch | 891 | * Add missing files for Pantelis Antoniou's patch |
889 | Patch by Pantelis Antoniou, 04 Sep 2005 | 892 | Patch by Pantelis Antoniou, 04 Sep 2005 |
890 | 893 | ||
891 | * Fix problem in ppc4xx eth-driver without ethaddr (only without | 894 | * Fix problem in ppc4xx eth-driver without ethaddr (only without |
892 | CONFIG_NET_MULTI set) | 895 | CONFIG_NET_MULTI set) |
893 | Patch by Stefan Roese, 10 Oct 2005 | 896 | Patch by Stefan Roese, 10 Oct 2005 |
894 | 897 | ||
895 | * Fix gzip bmp support (test if malloc fails, warning when truncated). | 898 | * Fix gzip bmp support (test if malloc fails, warning when truncated). |
896 | Increase CFG_VIDEO_LOGO_MAX_SIZE on HH405 board. | 899 | Increase CFG_VIDEO_LOGO_MAX_SIZE on HH405 board. |
897 | Patch by Stefan Roese, 07 Oct 2005 | 900 | Patch by Stefan Roese, 07 Oct 2005 |
898 | 901 | ||
899 | * Add support for OF flat tree for the STXtc board. | 902 | * Add support for OF flat tree for the STXtc board. |
900 | Patch by Pantelis Antoniou, 04 Sep 2005 | 903 | Patch by Pantelis Antoniou, 04 Sep 2005 |
901 | 904 | ||
902 | * Support passing of OF flat trees to the kernel. | 905 | * Support passing of OF flat trees to the kernel. |
903 | Patch by Pantelis Antoniou, 04 Sep 2005 | 906 | Patch by Pantelis Antoniou, 04 Sep 2005 |
904 | 907 | ||
905 | * Cleanup | 908 | * Cleanup |
906 | 909 | ||
907 | * Add support for NetSilicon NS7520 processor. | 910 | * Add support for NetSilicon NS7520 processor. |
908 | Patch by Art Shipkowski, 12 May 2005 | 911 | Patch by Art Shipkowski, 12 May 2005 |
909 | 912 | ||
910 | * Add support for AP1000 board. | 913 | * Add support for AP1000 board. |
911 | Patch by James MacAulay, 07 Oct 2005 | 914 | Patch by James MacAulay, 07 Oct 2005 |
912 | 915 | ||
913 | * Eliminate hard-coded address of Ethernet transfer buffer on at91rm9200 | 916 | * Eliminate hard-coded address of Ethernet transfer buffer on at91rm9200 |
914 | Patch by Anders Larsen, 07 Oct 2005 | 917 | Patch by Anders Larsen, 07 Oct 2005 |
915 | 918 | ||
916 | The Atmel errata #11 states that the transfer buffer descriptor | 919 | The Atmel errata #11 states that the transfer buffer descriptor |
917 | table must be aligned on a 16-word boundary. As it turned out, this | 920 | table must be aligned on a 16-word boundary. As it turned out, this |
918 | is insufficient - it seems the table must be aligned on a boundary | 921 | is insufficient - it seems the table must be aligned on a boundary |
919 | at least as large as the table itself (in Linux this is not an | 922 | at least as large as the table itself (in Linux this is not an |
920 | issue - the table is aligned on a PAGE_SIZE (4096) boundary). | 923 | issue - the table is aligned on a PAGE_SIZE (4096) boundary). |
921 | 924 | ||
922 | * Fixed compilation for ARM when using a (standard) hard-FP toolchain | 925 | * Fixed compilation for ARM when using a (standard) hard-FP toolchain |
923 | Patch by Anders Larsen, 07 Oct 2005 | 926 | Patch by Anders Larsen, 07 Oct 2005 |
924 | 927 | ||
925 | * Cleanup warnings for cpu/arm720t & cpu/arm1136 files. | 928 | * Cleanup warnings for cpu/arm720t & cpu/arm1136 files. |
926 | sed the linker scripts, rather than pre-process them. | 929 | sed the linker scripts, rather than pre-process them. |
927 | Patch by Peter Pearse, 07 Oct 2005 | 930 | Patch by Peter Pearse, 07 Oct 2005 |
928 | 931 | ||
929 | * Update make target for ARM supported boards. | 932 | * Update make target for ARM supported boards. |
930 | Use lowlevel_init() instead of platformsetup() [rename]. | 933 | Use lowlevel_init() instead of platformsetup() [rename]. |
931 | Patch by Peter Pearse, 06 Oct 2005 | 934 | Patch by Peter Pearse, 06 Oct 2005 |
932 | 935 | ||
933 | * Fix booting from serial dataflash on AT91RM9200 | 936 | * Fix booting from serial dataflash on AT91RM9200 |
934 | Patch by Peter Menzebach, 29 Aug 2005 | 937 | Patch by Peter Menzebach, 29 Aug 2005 |
935 | 938 | ||
936 | * Add JFFS2 support for TRAB board | 939 | * Add JFFS2 support for TRAB board |
937 | Patch by Martin Krause, 25 Aug 2005 | 940 | Patch by Martin Krause, 25 Aug 2005 |
938 | 941 | ||
939 | * Remove unnecessary dependency of netconsole on CONFIG_NET_MULTI | 942 | * Remove unnecessary dependency of netconsole on CONFIG_NET_MULTI |
940 | Patch by Marcus Hall, 24 Aug 2005 | 943 | Patch by Marcus Hall, 24 Aug 2005 |
941 | 944 | ||
942 | * Fix the machine-id of the Cogent csb637 board | 945 | * Fix the machine-id of the Cogent csb637 board |
943 | Patch by Anders Larsen, 05 Oct 2005 | 946 | Patch by Anders Larsen, 05 Oct 2005 |
944 | 947 | ||
945 | * Complete support for the KwikByte KB920x boards | 948 | * Complete support for the KwikByte KB920x boards |
946 | Patch by Anders Larsen, 05 Oct 2005 | 949 | Patch by Anders Larsen, 05 Oct 2005 |
947 | 950 | ||
948 | * Set the AT91RM9200 clock to asynchronous mode | 951 | * Set the AT91RM9200 clock to asynchronous mode |
949 | Patch by Anders Larsen, 03 May 2005 | 952 | Patch by Anders Larsen, 03 May 2005 |
950 | 953 | ||
951 | * Set the AT91RM9200 clock to synchronous mode | 954 | * Set the AT91RM9200 clock to synchronous mode |
952 | Patch by Anders Larsen, 29 Apr 2005 | 955 | Patch by Anders Larsen, 29 Apr 2005 |
953 | 956 | ||
954 | * Add support for Cogent csb637 | 957 | * Add support for Cogent csb637 |
955 | Patch by Anders Larsen, 29 Apr 2005 | 958 | Patch by Anders Larsen, 29 Apr 2005 |
956 | 959 | ||
957 | * Fix dm9161.c initialization | 960 | * Fix dm9161.c initialization |
958 | Patch by Anders Larsen, 29 Apr 2005 | 961 | Patch by Anders Larsen, 29 Apr 2005 |
959 | 962 | ||
960 | * Fix problems introduced by Patch by Steven Scholz, 02 Mar 2005 | 963 | * Fix problems introduced by Patch by Steven Scholz, 02 Mar 2005 |
961 | (8e2be51de8dd03c1ce4d06cbb18ad06133d47cd5) | 964 | (8e2be51de8dd03c1ce4d06cbb18ad06133d47cd5) |
962 | 965 | ||
963 | * Move dm9161.c and lxt972.c into cpu/arm920t/at91rm9200 | 966 | * Move dm9161.c and lxt972.c into cpu/arm920t/at91rm9200 |
964 | Patch by Anders Larsen, 29 Apr 2005 | 967 | Patch by Anders Larsen, 29 Apr 2005 |
965 | 968 | ||
966 | * Fix device partition intialization for SystemACE disks. | 969 | * Fix device partition intialization for SystemACE disks. |
967 | Patch by Stephen Williams, 28 Apr 2005 | 970 | Patch by Stephen Williams, 28 Apr 2005 |
968 | 971 | ||
969 | * Added support for KwikByte KB920x boards (based on AT91RM9200) | 972 | * Added support for KwikByte KB920x boards (based on AT91RM9200) |
970 | Patch by Matt ?? <kb9200_dev@kwikbyte.com>, 27 Apr 2005 | 973 | Patch by Matt ?? <kb9200_dev@kwikbyte.com>, 27 Apr 2005 |
971 | 974 | ||
972 | * Add support for S29GL064M-R3 flash chip on xsengine board | 975 | * Add support for S29GL064M-R3 flash chip on xsengine board |
973 | Patch by Kurt Stremerch, 18 Apr 2005 | 976 | Patch by Kurt Stremerch, 18 Apr 2005 |
974 | 977 | ||
975 | * E500 update: repoint IVPR to RAM when code is relocated | 978 | * E500 update: repoint IVPR to RAM when code is relocated |
976 | Patch by Kylo Ginsberg, 13 Apr 2005 | 979 | Patch by Kylo Ginsberg, 13 Apr 2005 |
977 | 980 | ||
978 | * Fix loop end test in lib_generic/string.c:strswab() | 981 | * Fix loop end test in lib_generic/string.c:strswab() |
979 | Patch by Andrew Dyer, October 10, 2005 | 982 | Patch by Andrew Dyer, October 10, 2005 |
980 | Signed-off-by: Andrew Dyer <amdyer@gmail.com> | 983 | Signed-off-by: Andrew Dyer <amdyer@gmail.com> |
981 | 984 | ||
982 | * Cleanup | 985 | * Cleanup |
983 | 986 | ||
984 | * Update ARM Integrator boards: | 987 | * Update ARM Integrator boards: |
985 | Correct addessing errors in platform files. | 988 | Correct addessing errors in platform files. |
986 | Split off common core module data from Integrator header files to | 989 | Split off common core module data from Integrator header files to |
987 | include/armcoremodule.h. | 990 | include/armcoremodule.h. |
988 | Patch by Peter Pearse, 04 Oct 2005 | 991 | Patch by Peter Pearse, 04 Oct 2005 |
989 | 992 | ||
990 | * Make sure only supported compiler options are used | 993 | * Make sure only supported compiler options are used |
991 | Import "cc-option" shell function from kernel and | 994 | Import "cc-option" shell function from kernel and |
992 | use it to get the correct ARM GCC options for individual CPUs | 995 | use it to get the correct ARM GCC options for individual CPUs |
993 | Patch by Peter Pearse, 30 Jun 2005 | 996 | Patch by Peter Pearse, 30 Jun 2005 |
994 | 997 | ||
995 | * Fix 440GR to print correct cpu revision | 998 | * Fix 440GR to print correct cpu revision |
996 | Patch by Stefan Roese, 04 Oct 2005 | 999 | Patch by Stefan Roese, 04 Oct 2005 |
997 | 1000 | ||
998 | * Change board message on AMCC Yosemite & Yellowstone to common style | 1001 | * Change board message on AMCC Yosemite & Yellowstone to common style |
999 | Patch by Stefan Roese, 03 Oct 2005 | 1002 | Patch by Stefan Roese, 03 Oct 2005 |
1000 | 1003 | ||
1001 | * Fix compiler warning | 1004 | * Fix compiler warning |
1002 | 1005 | ||
1003 | * Fix FEC PHY addresses for TQM85xx boards | 1006 | * Fix FEC PHY addresses for TQM85xx boards |
1004 | 1007 | ||
1005 | * Fix uninitialized variable problem in hush shell | 1008 | * Fix uninitialized variable problem in hush shell |
1006 | Patch by Lars Rostock, 26 Sep 2005 | 1009 | Patch by Lars Rostock, 26 Sep 2005 |
1007 | 1010 | ||
1008 | * Undo change of f6e20fc6ca... to include/configs/trab.h | 1011 | * Undo change of f6e20fc6ca... to include/configs/trab.h |
1009 | (Must have been an accident?) | 1012 | (Must have been an accident?) |
1010 | 1013 | ||
1011 | * Add support for AT91RM9200 OHCI Controller. | 1014 | * Add support for AT91RM9200 OHCI Controller. |
1012 | Patch by Eric Benard, 07 Apr 2005 | 1015 | Patch by Eric Benard, 07 Apr 2005 |
1013 | 1016 | ||
1014 | * Update ARM mach-types.h | 1017 | * Update ARM mach-types.h |
1015 | Patch by Eric Benard, 07 Apr 2005 | 1018 | Patch by Eric Benard, 07 Apr 2005 |
1016 | 1019 | ||
1017 | * Add support for MP2USB board. | 1020 | * Add support for MP2USB board. |
1018 | Patch by Eric Benard, 07 Apr 2005 | 1021 | Patch by Eric Benard, 07 Apr 2005 |
1019 | 1022 | ||
1020 | * Add board support for armadillo HT1070 | 1023 | * Add board support for armadillo HT1070 |
1021 | Patch by Rowel Atienza, 06 Apr 2005 | 1024 | Patch by Rowel Atienza, 06 Apr 2005 |
1022 | 1025 | ||
1023 | * Second Ethernet address enabled for MPC885ADS and MPC8272ADS. | 1026 | * Second Ethernet address enabled for MPC885ADS and MPC8272ADS. |
1024 | Patch by Vitaly Bordug, 30 Mar 2005 | 1027 | Patch by Vitaly Bordug, 30 Mar 2005 |
1025 | 1028 | ||
1026 | * Add iopset command on mpc8xx | 1029 | * Add iopset command on mpc8xx |
1027 | Patch by Daniel Eisenhut, 25 Mar 2005 | 1030 | Patch by Daniel Eisenhut, 25 Mar 2005 |
1028 | 1031 | ||
1029 | * Add support for MII in eepro100 driver. | 1032 | * Add support for MII in eepro100 driver. |
1030 | Patch by Gleb Natapov, 21 Mar 2005 | 1033 | Patch by Gleb Natapov, 21 Mar 2005 |
1031 | 1034 | ||
1032 | * Fixes to the Lubbock (PXA 25x) support: | 1035 | * Fixes to the Lubbock (PXA 25x) support: |
1033 | - Resolve the FIXME with respect to saving the u-boot environment. | 1036 | - Resolve the FIXME with respect to saving the u-boot environment. |
1034 | - Make the default load address land in real memory. | 1037 | - Make the default load address land in real memory. |
1035 | - Fix lan91c96 SMC_{in,out}{b,w,l}() macros | 1038 | - Fix lan91c96 SMC_{in,out}{b,w,l}() macros |
1036 | Patch by David Brownell, 10 Mar 2005 | 1039 | Patch by David Brownell, 10 Mar 2005 |
1037 | 1040 | ||
1038 | * Add Barco Streaming Video Card (SVC) and Sample Compress Network (SCN) board | 1041 | * Add Barco Streaming Video Card (SVC) and Sample Compress Network (SCN) board |
1039 | Patch by Marc Leeman, 04 Mar 2005 | 1042 | Patch by Marc Leeman, 04 Mar 2005 |
1040 | 1043 | ||
1041 | * OMAP242x H4 board update | 1044 | * OMAP242x H4 board update |
1042 | - fix for ES2 differences. | 1045 | - fix for ES2 differences. |
1043 | - switch to using the cfi_flash driver. | 1046 | - switch to using the cfi_flash driver. |
1044 | - fix SRAM build address. | 1047 | - fix SRAM build address. |
1045 | - fix for GP device operation. | 1048 | - fix for GP device operation. |
1046 | - unlock SRAM for GP devices. | 1049 | - unlock SRAM for GP devices. |
1047 | - display more device information. | 1050 | - display more device information. |
1048 | - fix potential deadlock in omap24xx_i2c driver. | 1051 | - fix potential deadlock in omap24xx_i2c driver. |
1049 | - fix DLL load values to match dpllout*1 operation. | 1052 | - fix DLL load values to match dpllout*1 operation. |
1050 | - fix 2nd chip select init for combo DDR device. | 1053 | - fix 2nd chip select init for combo DDR device. |
1051 | - add support for CFI Intel 28F256L18 on H4 board. | 1054 | - add support for CFI Intel 28F256L18 on H4 board. |
1052 | Patch by Richard Woodruff, 03 Mar 2005 | 1055 | Patch by Richard Woodruff, 03 Mar 2005 |
1053 | 1056 | ||
1054 | * Fix formating in include/asm-arm/arch-at91rm9200/AT91RM9200.h | 1057 | * Fix formating in include/asm-arm/arch-at91rm9200/AT91RM9200.h |
1055 | Patch by Steven Scholz, 02 Mar 2005 | 1058 | Patch by Steven Scholz, 02 Mar 2005 |
1056 | 1059 | ||
1057 | * Fix typo in eth.c | 1060 | * Fix typo in eth.c |
1058 | Patch by Ara Avanesyan, 24 Feb 2005 | 1061 | Patch by Ara Avanesyan, 24 Feb 2005 |
1059 | 1062 | ||
1060 | * Remove unneeded #include <malloc.h> | 1063 | * Remove unneeded #include <malloc.h> |
1061 | Patch by Ladislav Michl, 22 Feb 2005 | 1064 | Patch by Ladislav Michl, 22 Feb 2005 |
1062 | 1065 | ||
1063 | * Add cramfs support for m68k | 1066 | * Add cramfs support for m68k |
1064 | Patch by Zachary Landau, 21 Feb 2005 | 1067 | Patch by Zachary Landau, 21 Feb 2005 |
1065 | 1068 | ||
1066 | * Update ep8260: Fix flash timeouts; improve clock resolution for faster UARTs | 1069 | * Update ep8260: Fix flash timeouts; improve clock resolution for faster UARTs |
1067 | Patch by Jeff Angielski, 21 Feb 2005 | 1070 | Patch by Jeff Angielski, 21 Feb 2005 |
1068 | 1071 | ||
1069 | * Fix au1x00_serial baud rate calculation: | 1072 | * Fix au1x00_serial baud rate calculation: |
1070 | remove hardcoded cpu clock divisor and use register instead; | 1073 | remove hardcoded cpu clock divisor and use register instead; |
1071 | round up instead of truncate | 1074 | round up instead of truncate |
1072 | Patch by Andrew Dyer, 15 Feb 2005 | 1075 | Patch by Andrew Dyer, 15 Feb 2005 |
1073 | 1076 | ||
1074 | * Add Xilinx Spartan3 family FPGA support | 1077 | * Add Xilinx Spartan3 family FPGA support |
1075 | Patch by Kurt Stremerch, 14 Feb 2005 | 1078 | Patch by Kurt Stremerch, 14 Feb 2005 |
1076 | 1079 | ||
1077 | * Fix drivers/cfi_flash.c: use info->reset_cmd instead of FLASH_CMD_RESET | 1080 | * Fix drivers/cfi_flash.c: use info->reset_cmd instead of FLASH_CMD_RESET |
1078 | Patch by Zachary Landau, 11 Feb 2005 | 1081 | Patch by Zachary Landau, 11 Feb 2005 |
1079 | 1082 | ||
1080 | * Fix VOH405 Support | 1083 | * Fix VOH405 Support |
1081 | Patch by Matthias Fuchs, 25 Sep 2005 | 1084 | Patch by Matthias Fuchs, 25 Sep 2005 |
1082 | 1085 | ||
1083 | * Added support for PCI bridge on MPC8272ADS | 1086 | * Added support for PCI bridge on MPC8272ADS |
1084 | Patch by Vitaly Bordug, Feb 09 2005 | 1087 | Patch by Vitaly Bordug, Feb 09 2005 |
1085 | 1088 | ||
1086 | * Update multicore CM9XX support for Integrator AP to allow booting from flash | 1089 | * Update multicore CM9XX support for Integrator AP to allow booting from flash |
1087 | Patch by Jean-Paul Saman, 8 Feb 2005 | 1090 | Patch by Jean-Paul Saman, 8 Feb 2005 |
1088 | 1091 | ||
1089 | * Fix strswab() to reliably find end of string | 1092 | * Fix strswab() to reliably find end of string |
1090 | Patch by Andrew Dyer, 08 Feb 2005 | 1093 | Patch by Andrew Dyer, 08 Feb 2005 |
1091 | 1094 | ||
1092 | * Fix typos in include/ppc440.h | 1095 | * Fix typos in include/ppc440.h |
1093 | Patch by Andrew E Mileski, 04 Feb 2005 | 1096 | Patch by Andrew E Mileski, 04 Feb 2005 |
1094 | 1097 | ||
1095 | * Add Vibren (was Accelent) PXA255 IDP Support | 1098 | * Add Vibren (was Accelent) PXA255 IDP Support |
1096 | Patch by Cliff Brake, 04 Feb 2005 | 1099 | Patch by Cliff Brake, 04 Feb 2005 |
1097 | 1100 | ||
1098 | * Fix tools/bmp_logo.c using incorrect offset to pixel data | 1101 | * Fix tools/bmp_logo.c using incorrect offset to pixel data |
1099 | Patch by Andrew Dyer, 31 Jan 2005 | 1102 | Patch by Andrew Dyer, 31 Jan 2005 |
1100 | 1103 | ||
1101 | * Add ARM946E cpu and core module targets; remap memory to 0x00000000 | 1104 | * Add ARM946E cpu and core module targets; remap memory to 0x00000000 |
1102 | Patch by Peter Pearse, 2 Feb 2005 | 1105 | Patch by Peter Pearse, 2 Feb 2005 |
1103 | 1106 | ||
1104 | * Fix error handling in tools/env/fw_env.c | 1107 | * Fix error handling in tools/env/fw_env.c |
1105 | Patch by Ara Avanesyan, 01 Feb 2005 | 1108 | Patch by Ara Avanesyan, 01 Feb 2005 |
1106 | 1109 | ||
1107 | * Fix MGT5100 PSC baudrate calculation | 1110 | * Fix MGT5100 PSC baudrate calculation |
1108 | Patch by Sebastian Schau, 27 Jan 2005 | 1111 | Patch by Sebastian Schau, 27 Jan 2005 |
1109 | 1112 | ||
1110 | * OMAP242x fix for GP device booting | 1113 | * OMAP242x fix for GP device booting |
1111 | - Add SRAM unlock for GP devices. | 1114 | - Add SRAM unlock for GP devices. |
1112 | - Change DDR DLL unlock value to allow DPLLout*1 operation. | 1115 | - Change DDR DLL unlock value to allow DPLLout*1 operation. |
1113 | Patches by Richard Woodruff, 21 Jan 2005: | 1116 | Patches by Richard Woodruff, 21 Jan 2005: |
1114 | 1117 | ||
1115 | * Add support for AMD's Pb1x00 eval board; | 1118 | * Add support for AMD's Pb1x00 eval board; |
1116 | add MII routines to the au1x00 ethernet driver; | 1119 | add MII routines to the au1x00 ethernet driver; |
1117 | add USB ohci driver (work in progress) | 1120 | add USB ohci driver (work in progress) |
1118 | Patch by Thomas Sailer, 20 Jan 2005 | 1121 | Patch by Thomas Sailer, 20 Jan 2005 |
1119 | 1122 | ||
1120 | * Update omap5912osk board | 1123 | * Update omap5912osk board |
1121 | Use drivers/cfi_flash.c instead of private flash driver; | 1124 | Use drivers/cfi_flash.c instead of private flash driver; |
1122 | Remove hardcoded personalized settings from omap5912osk.h; | 1125 | Remove hardcoded personalized settings from omap5912osk.h; |
1123 | Fix spacing with (RO) marks in 'flinfo' output. | 1126 | Fix spacing with (RO) marks in 'flinfo' output. |
1124 | Patch by Michael Bendzick, 14 Jan 2005 | 1127 | Patch by Michael Bendzick, 14 Jan 2005 |
1125 | 1128 | ||
1126 | * Fix warnings for PCI code on ixp | 1129 | * Fix warnings for PCI code on ixp |
1127 | Patch by Joe <lgxue@yahoo.com>, 13 Jan 2005 | 1130 | Patch by Joe <lgxue@yahoo.com>, 13 Jan 2005 |
1128 | 1131 | ||
1129 | * virtex2 fix for bogus download error messages | 1132 | * virtex2 fix for bogus download error messages |
1130 | The virtex2 FPGA download code watches for init going active during | 1133 | The virtex2 FPGA download code watches for init going active during |
1131 | a download of config data as an error condition. init also goes | 1134 | a download of config data as an error condition. init also goes |
1132 | active after a configuration is finished in concert with the done | 1135 | active after a configuration is finished in concert with the done |
1133 | signal. So far, the code does not check for done active until all | 1136 | signal. So far, the code does not check for done active until all |
1134 | of the configuration data is sent. If configuration data has a few | 1137 | of the configuration data is sent. If configuration data has a few |
1135 | extra pad bytes at the end, this would cause an error message even | 1138 | extra pad bytes at the end, this would cause an error message even |
1136 | though the download had suceeded. | 1139 | though the download had suceeded. |
1137 | NOTE: virtex2 slave serial and spartan2 versions may still have the | 1140 | NOTE: virtex2 slave serial and spartan2 versions may still have the |
1138 | same problem. | 1141 | same problem. |
1139 | Patch by Andrew Dyer, 12 Jan 2005 | 1142 | Patch by Andrew Dyer, 12 Jan 2005 |
1140 | 1143 | ||
1141 | * Optimize flash_make_cmd in drivers/cfi_flash.c for little endian | 1144 | * Optimize flash_make_cmd in drivers/cfi_flash.c for little endian |
1142 | Fix "WARNING: flash_make_cmd: unsuppported LittleEndian mode" | 1145 | Fix "WARNING: flash_make_cmd: unsuppported LittleEndian mode" |
1143 | message when probing for nonexistent flash in little endian mode. | 1146 | message when probing for nonexistent flash in little endian mode. |
1144 | As a side effect more efficient and smaller code is generated, | 1147 | As a side effect more efficient and smaller code is generated, |
1145 | which is always a Good Thing (TM). | 1148 | which is always a Good Thing (TM). |
1146 | Patch by Ladislav Michl, 24 Sep 2005 | 1149 | Patch by Ladislav Michl, 24 Sep 2005 |
1147 | 1150 | ||
1148 | * Update for TFTP using a fixed UDP port | 1151 | * Update for TFTP using a fixed UDP port |
1149 | Use the approved environment variable names. Added "tftpdstp" to | 1152 | Use the approved environment variable names. Added "tftpdstp" to |
1150 | allow ports other than 69 per Tolunay Orkun's recommendation. | 1153 | allow ports other than 69 per Tolunay Orkun's recommendation. |
1151 | Patch by Jerry Van Baren, 12 Jan 2005 | 1154 | Patch by Jerry Van Baren, 12 Jan 2005 |
1152 | 1155 | ||
1153 | * Allow to force TFTP to use a fixed UDP port | 1156 | * Allow to force TFTP to use a fixed UDP port |
1154 | (Add a configuration option CONFIG_TFTP_PORT and optional env | 1157 | (Add a configuration option CONFIG_TFTP_PORT and optional env |
1155 | variable tftpport) | 1158 | variable tftpport) |
1156 | Patch by Jerry Van Baren, 10 Jan 2005 | 1159 | Patch by Jerry Van Baren, 10 Jan 2005 |
1157 | 1160 | ||
1158 | * Fix ethernet timeouts on dbau1550 and other au1x00 systems | 1161 | * Fix ethernet timeouts on dbau1550 and other au1x00 systems |
1159 | Patch by Leif Lindholm, 29 Dec 2004 | 1162 | Patch by Leif Lindholm, 29 Dec 2004 |
1160 | 1163 | ||
1161 | * Cleanup: fix broken builds | 1164 | * Cleanup: fix broken builds |
1162 | 1165 | ||
1163 | * Fix PHY address argument passing with mii info command | 1166 | * Fix PHY address argument passing with mii info command |
1164 | Patch by Andrew Dyer, 28 Dec 2004 | 1167 | Patch by Andrew Dyer, 28 Dec 2004 |
1165 | 1168 | ||
1166 | * Cleanup (PPC4xx is AMCC now) | 1169 | * Cleanup (PPC4xx is AMCC now) |
1167 | 1170 | ||
1168 | * esd CPCI2DP board added | 1171 | * esd CPCI2DP board added |
1169 | Patch by Matthias Fuchs, 22 Sep 2005 | 1172 | Patch by Matthias Fuchs, 22 Sep 2005 |
1170 | 1173 | ||
1171 | * esd PMC405 board updated | 1174 | * esd PMC405 board updated |
1172 | Patch by Matthias Fuchs, 22 Sep 2005 | 1175 | Patch by Matthias Fuchs, 22 Sep 2005 |
1173 | 1176 | ||
1174 | * Add SM501 support to HH405 board. | 1177 | * Add SM501 support to HH405 board. |
1175 | Add support for gzip compressed bmp's (CONFIG_VIDEO_BMP_GZIP). | 1178 | Add support for gzip compressed bmp's (CONFIG_VIDEO_BMP_GZIP). |
1176 | Add support for eeprom write-enable (CFG_EEPROM_WREN). | 1179 | Add support for eeprom write-enable (CFG_EEPROM_WREN). |
1177 | Patch by Stefan Roese, 22 Sep 2005 | 1180 | Patch by Stefan Roese, 22 Sep 2005 |
1178 | 1181 | ||
1179 | * Fix autonegotiation in tsec ethernet driver | 1182 | * Fix autonegotiation in tsec ethernet driver |
1180 | Patch by Stefan Roese, 21 Sep 2005 | 1183 | Patch by Stefan Roese, 21 Sep 2005 |
1181 | 1184 | ||
1182 | * Fix bug in auto_update (trab board) | 1185 | * Fix bug in auto_update (trab board) |
1183 | Patch by Martin Krause, 16 Sep 2005 | 1186 | Patch by Martin Krause, 16 Sep 2005 |
1184 | 1187 | ||
1185 | * Fix computation of framebuffer palette for 8bpp LCD bitmaps | 1188 | * Fix computation of framebuffer palette for 8bpp LCD bitmaps |
1186 | Patch by Francesco Mandracci, 16 Sep 2005 | 1189 | Patch by Francesco Mandracci, 16 Sep 2005 |
1187 | 1190 | ||
1188 | * Update configuration for INKA4x0 board | 1191 | * Update configuration for INKA4x0 board |
1189 | 1192 | ||
1190 | * Update configuration for PM854 board | 1193 | * Update configuration for PM854 board |
1191 | Based on patch by R. Loeffl, 20 Jul 2005 | 1194 | Based on patch by R. Loeffl, 20 Jul 2005 |
1192 | 1195 | ||
1193 | * Add PCI support to TQM8540 and TQM8560 boards | 1196 | * Add PCI support to TQM8540 and TQM8560 boards |
1194 | Patch by Stefan Roese, 15 Sep 2005 | 1197 | Patch by Stefan Roese, 15 Sep 2005 |
1195 | 1198 | ||
1196 | * Update AMCC Yosemite to get a consistent setup for all AMCC eval | 1199 | * Update AMCC Yosemite to get a consistent setup for all AMCC eval |
1197 | boards (baudrate, environment...). Flash driver fixed. | 1200 | boards (baudrate, environment...). Flash driver fixed. |
1198 | Patch by Stefan Roese, 15 Sep 2005 | 1201 | Patch by Stefan Roese, 15 Sep 2005 |
1199 | 1202 | ||
1200 | * Fix problem in 440GP ethernet driver (ebony). Add support for 2nd | 1203 | * Fix problem in 440GP ethernet driver (ebony). Add support for 2nd |
1201 | ethernet port on ebony. | 1204 | ethernet port on ebony. |
1202 | Patch by Stefan Roese, 7 Sep 2005 | 1205 | Patch by Stefan Roese, 7 Sep 2005 |
1203 | 1206 | ||
1204 | * Added support for mtddevnum and mtddevname variables (mtdparts command) | 1207 | * Added support for mtddevnum and mtddevname variables (mtdparts command) |
1205 | 1208 | ||
1206 | * Change default console baud rate for stxxtc board | 1209 | * Change default console baud rate for stxxtc board |
1207 | 1210 | ||
1208 | * Add I2C support to TQM8540 and TQM8560 boards (EEPROM, RTC, LM75-DTT). | 1211 | * Add I2C support to TQM8540 and TQM8560 boards (EEPROM, RTC, LM75-DTT). |
1209 | Patch by Stefan Roese, 31 Aug 2005 | 1212 | Patch by Stefan Roese, 31 Aug 2005 |
1210 | 1213 | ||
1211 | * Fix default command set (don't include CFG_CMD_DISPLAY command) | 1214 | * Fix default command set (don't include CFG_CMD_DISPLAY command) |
1212 | Patch by Pantelis Antoniou, 02 Sep 2005 | 1215 | Patch by Pantelis Antoniou, 02 Sep 2005 |
1213 | 1216 | ||
1214 | * Cleanup | 1217 | * Cleanup |
1215 | 1218 | ||
1216 | * Enable SM712 driver support for HMI1001 board. | 1219 | * Enable SM712 driver support for HMI1001 board. |
1217 | 1220 | ||
1218 | * Fix problems with ld version 2.16 (dot outside sections problem) | 1221 | * Fix problems with ld version 2.16 (dot outside sections problem) |
1219 | Pointed out by Gerhard Jaeger, 31 Aug 2005; | 1222 | Pointed out by Gerhard Jaeger, 31 Aug 2005; |
1220 | cf. http://sourceware.org/ml/binutils/2005-08/msg00412.html | 1223 | cf. http://sourceware.org/ml/binutils/2005-08/msg00412.html |
1221 | 1224 | ||
1222 | * Prepare U-Boot for gcc-4.x: fix global data pointer initialization | 1225 | * Prepare U-Boot for gcc-4.x: fix global data pointer initialization |
1223 | 1226 | ||
1224 | * Adjust CS3 timings on HMI1001 board for dot matrix display under Linux | 1227 | * Adjust CS3 timings on HMI1001 board for dot matrix display under Linux |
1225 | 1228 | ||
1226 | * Add keyboard and dot matrix display support for HMI1001 board. | 1229 | * Add keyboard and dot matrix display support for HMI1001 board. |
1227 | 1230 | ||
1228 | * Prepare U-Boot for gcc-4.x | 1231 | * Prepare U-Boot for gcc-4.x |
1229 | 1232 | ||
1230 | * Fixed Bamboo port to enable running without DDR-DIMM | 1233 | * Fixed Bamboo port to enable running without DDR-DIMM |
1231 | (Bamboo has also 64MB onboard DDR) | 1234 | (Bamboo has also 64MB onboard DDR) |
1232 | Patch by Stefan Roese, 24 Aug 2005 | 1235 | Patch by Stefan Roese, 24 Aug 2005 |
1233 | 1236 | ||
1234 | * Merged 405gp_enet.c and 440gx_enet.c to generic 4xx_enet.c | 1237 | * Merged 405gp_enet.c and 440gx_enet.c to generic 4xx_enet.c |
1235 | now handling all 4xx cpu's | 1238 | now handling all 4xx cpu's |
1236 | Patch by Stefan Roese, 16 Aug 2005 | 1239 | Patch by Stefan Roese, 16 Aug 2005 |
1237 | 1240 | ||
1238 | * Fix make dependencies for at91rm9200 and ks8695 cpus | 1241 | * Fix make dependencies for at91rm9200 and ks8695 cpus |
1239 | Patch by Steven Scholz, 23 Aug 2005 | 1242 | Patch by Steven Scholz, 23 Aug 2005 |
1240 | 1243 | ||
1241 | * Add JFFS2 support for TQM5200 board | 1244 | * Add JFFS2 support for TQM5200 board |
1242 | 1245 | ||
1243 | * Add esd cpci5200 and pf5200 boards | 1246 | * Add esd cpci5200 and pf5200 boards |
1244 | Patch by Reinhard Arlt, 22 Aug 2005 | 1247 | Patch by Reinhard Arlt, 22 Aug 2005 |
1245 | 1248 | ||
1246 | * Fix sysclock for TQM8540 and TQM8560 boards | 1249 | * Fix sysclock for TQM8540 and TQM8560 boards |
1247 | Patch by Martin Krause, 25 Jul 2005 | 1250 | Patch by Martin Krause, 25 Jul 2005 |
1248 | 1251 | ||
1249 | * Initialize serial# and ethaddr from manufacturer data in EEPROM on CMC-PU2 | 1252 | * Initialize serial# and ethaddr from manufacturer data in EEPROM on CMC-PU2 |
1250 | Patch by Martin Krause, 08 Jun 2005 | 1253 | Patch by Martin Krause, 08 Jun 2005 |
1251 | 1254 | ||
1252 | * Add new board specific commands for TQM5200/STK52XX | 1255 | * Add new board specific commands for TQM5200/STK52XX |
1253 | - Sound commands (beep, wav, sound) | 1256 | - Sound commands (beep, wav, sound) |
1254 | - Test commands (led, can, backlight, rs232) | 1257 | - Test commands (led, can, backlight, rs232) |
1255 | Patch by Martin Krause, 02 May 2005 | 1258 | Patch by Martin Krause, 02 May 2005 |
1256 | 1259 | ||
1257 | * Change main clock on CMC-PU2 board from 207 MHz to 179 MHz | 1260 | * Change main clock on CMC-PU2 board from 207 MHz to 179 MHz |
1258 | because of a bug in the AT91RM9200 CPU PLL | 1261 | because of a bug in the AT91RM9200 CPU PLL |
1259 | Patch by Martin Krause, 22 Apr 2005 | 1262 | Patch by Martin Krause, 22 Apr 2005 |
1260 | 1263 | ||
1261 | * Add automatic HW detection for another CMC_PU2 variant | 1264 | * Add automatic HW detection for another CMC_PU2 variant |
1262 | Patch by Martin Krause, 20 Apr 2005 | 1265 | Patch by Martin Krause, 20 Apr 2005 |
1263 | 1266 | ||
1264 | * Remove CONFIG_AT91RM9200DK in CMC-PU2 configuration | 1267 | * Remove CONFIG_AT91RM9200DK in CMC-PU2 configuration |
1265 | Patch by Martin Krause, 19 Apr 2005 | 1268 | Patch by Martin Krause, 19 Apr 2005 |
1266 | 1269 | ||
1267 | * Fix initialization problem on TQM5200 without SM501 | 1270 | * Fix initialization problem on TQM5200 without SM501 |
1268 | Patch by Martin Krause, 08 Apr 2005 | 1271 | Patch by Martin Krause, 08 Apr 2005 |
1269 | 1272 | ||
1270 | * Add RTC support for STK52XX.200 | 1273 | * Add RTC support for STK52XX.200 |
1271 | Patch by Martin Krause, 07 Apr 2005 | 1274 | Patch by Martin Krause, 07 Apr 2005 |
1272 | 1275 | ||
1273 | * Add support for IFM o2dnt board | 1276 | * Add support for IFM o2dnt board |
1274 | 1277 | ||
1275 | * Enable PCI on hmi1001 board | 1278 | * Enable PCI on hmi1001 board |
1276 | 1279 | ||
1277 | * Fix return values of the jffs2 commands ls/fsload/fsinfo, | 1280 | * Fix return values of the jffs2 commands ls/fsload/fsinfo, |
1278 | so we can use them to, e.g., check the existence of a file with | 1281 | so we can use them to, e.g., check the existence of a file with |
1279 | "if ls foo; then this; else that; fi" in the hush shell | 1282 | "if ls foo; then this; else that; fi" in the hush shell |
1280 | Patch by Andreas Engel, 16 August 2005 | 1283 | Patch by Andreas Engel, 16 August 2005 |
1281 | 1284 | ||
1282 | * Coding style cleanup | 1285 | * Coding style cleanup |
1283 | 1286 | ||
1284 | * Add support for Silicon Turnkey eXpress XTc (mpc87x/88x) board. | 1287 | * Add support for Silicon Turnkey eXpress XTc (mpc87x/88x) board. |
1285 | Patch by Dan Malek and Pantelis Antoniou, 15 Aug 2005 | 1288 | Patch by Dan Malek and Pantelis Antoniou, 15 Aug 2005 |
1286 | 1289 | ||
1287 | * Check return value of malloc in 440gx_enet.c | 1290 | * Check return value of malloc in 440gx_enet.c |
1288 | Patch by Travis B. Sawyer, 18 Jul 2005 | 1291 | Patch by Travis B. Sawyer, 18 Jul 2005 |
1289 | 1292 | ||
1290 | * Add Sandburst Metrobox and Sandburst Karef board support packages. | 1293 | * Add Sandburst Metrobox and Sandburst Karef board support packages. |
1291 | Second serial port on 440GX now defined as a system device. | 1294 | Second serial port on 440GX now defined as a system device. |
1292 | Add 'Short Etch' code for Cicada PHY within 440gx_enet.c | 1295 | Add 'Short Etch' code for Cicada PHY within 440gx_enet.c |
1293 | Patch by Travis B. Sawyer, 12 Jul 2005 | 1296 | Patch by Travis B. Sawyer, 12 Jul 2005 |
1294 | 1297 | ||
1295 | ====================================================================== | 1298 | ====================================================================== |
1296 | Changes for U-Boot 1.1.3: | 1299 | Changes for U-Boot 1.1.3: |
1297 | ====================================================================== | 1300 | ====================================================================== |
1298 | 1301 | ||
1299 | * Minor code cleanup | 1302 | * Minor code cleanup |
1300 | 1303 | ||
1301 | * Add forgotten new fils from latest VoiceBlue update | 1304 | * Add forgotten new fils from latest VoiceBlue update |
1302 | 1305 | ||
1303 | * Make bootretry feature work with hush shell. | 1306 | * Make bootretry feature work with hush shell. |
1304 | Caveat: this currently *requires* CONFIG_RESET_TO_RETRY to be set, too. | 1307 | Caveat: this currently *requires* CONFIG_RESET_TO_RETRY to be set, too. |
1305 | Patch by Andreas Engel, 19 Jul 2005 | 1308 | Patch by Andreas Engel, 19 Jul 2005 |
1306 | 1309 | ||
1307 | * Update Hymod Board Database PHP code in "tools" directory | 1310 | * Update Hymod Board Database PHP code in "tools" directory |
1308 | Patch by Murray Jensen, 01 Jul 2005 | 1311 | Patch by Murray Jensen, 01 Jul 2005 |
1309 | 1312 | ||
1310 | * Make "tr" command use POSIX compliant; export HOSTOS make variable | 1313 | * Make "tr" command use POSIX compliant; export HOSTOS make variable |
1311 | Patch by Murray Jensen, 30 Jun 2005 | 1314 | Patch by Murray Jensen, 30 Jun 2005 |
1312 | 1315 | ||
1313 | * Fix Murray Jensen's mail address. | 1316 | * Fix Murray Jensen's mail address. |
1314 | Patch by Murray Jensen, 30 Jun 2005 | 1317 | Patch by Murray Jensen, 30 Jun 2005 |
1315 | 1318 | ||
1316 | * Preserve PHY_BMCR during a soft reset. | 1319 | * Preserve PHY_BMCR during a soft reset. |
1317 | Patch by Carl Riechers, 24 Jun 2005 | 1320 | Patch by Carl Riechers, 24 Jun 2005 |
1318 | 1321 | ||
1319 | * VoiceBlue update: eeprom tool can also store firmware version now. | 1322 | * VoiceBlue update: eeprom tool can also store firmware version now. |
1320 | eeprom.bin is runable by jumping at load address. | 1323 | eeprom.bin is runable by jumping at load address. |
1321 | Patch by Ladislav Michl, 23 May 2005 | 1324 | Patch by Ladislav Michl, 23 May 2005 |
1322 | 1325 | ||
1323 | * Move the AT91RM9200DK to the ARM Systems list. | 1326 | * Move the AT91RM9200DK to the ARM Systems list. |
1324 | Patch by Anders Larsen, 26 Apr 2005 | 1327 | Patch by Anders Larsen, 26 Apr 2005 |
1325 | 1328 | ||
1326 | * Eliminate calls of ARM libgcc.a helper functions _divsi3 and _modsi3 | 1329 | * Eliminate calls of ARM libgcc.a helper functions _divsi3 and _modsi3 |
1327 | Patch by Anders Larsen, 26 Apr 2005 | 1330 | Patch by Anders Larsen, 26 Apr 2005 |
1328 | 1331 | ||
1329 | * measure_gclk() is needed when DEBUG is enabled | 1332 | * measure_gclk() is needed when DEBUG is enabled |
1330 | Patch by Bryan O'Donoghue, 25 Apr 2005 | 1333 | Patch by Bryan O'Donoghue, 25 Apr 2005 |
1331 | 1334 | ||
1332 | * Add UPD-Checksum code, fix problem in net.c (return instead of break) | 1335 | * Add UPD-Checksum code, fix problem in net.c (return instead of break) |
1333 | Patch by Reinhard Arlt, 12 Aug 2005 | 1336 | Patch by Reinhard Arlt, 12 Aug 2005 |
1334 | 1337 | ||
1335 | * esd PCI405 board updated | 1338 | * esd PCI405 board updated |
1336 | Patch by Matthias Fuchs, 28 Jul 2005 | 1339 | Patch by Matthias Fuchs, 28 Jul 2005 |
1337 | 1340 | ||
1338 | * esd WUH405 and DU405 board updated | 1341 | * esd WUH405 and DU405 board updated |
1339 | Patch by Matthias Fuchs, 27 Jul 2005 | 1342 | Patch by Matthias Fuchs, 27 Jul 2005 |
1340 | 1343 | ||
1341 | * Fix problem in cmd_nand.c (only when defined CFG_NAND_SKIP_BAD_DOT_I) | 1344 | * Fix problem in cmd_nand.c (only when defined CFG_NAND_SKIP_BAD_DOT_I) |
1342 | Patch by Matthias Fuchs, 4 May 2005 | 1345 | Patch by Matthias Fuchs, 4 May 2005 |
1343 | 1346 | ||
1344 | * Update AMCC Yosemite to get a consistent setup for all AMCC eval | 1347 | * Update AMCC Yosemite to get a consistent setup for all AMCC eval |
1345 | boards (baudrate, environment...). Flash driver fixed. | 1348 | boards (baudrate, environment...). Flash driver fixed. |
1346 | Patch by Stefan Roese, 11 Aug 2005 | 1349 | Patch by Stefan Roese, 11 Aug 2005 |
1347 | 1350 | ||
1348 | * Changed AMCC Bubinga (405EP) configuration to support 2nd eth port | 1351 | * Changed AMCC Bubinga (405EP) configuration to support 2nd eth port |
1349 | Patch by Stefan Roese, 11 Aug 2005 | 1352 | Patch by Stefan Roese, 11 Aug 2005 |
1350 | 1353 | ||
1351 | * Add NAND FLASH support for AMCC Bamboo 440EP eval board | 1354 | * Add NAND FLASH support for AMCC Bamboo 440EP eval board |
1352 | Patch by Stefan Roese, 11 Aug 2005 | 1355 | Patch by Stefan Roese, 11 Aug 2005 |
1353 | 1356 | ||
1354 | * Add configuration for IFM AEV FIFO board. | 1357 | * Add configuration for IFM AEV FIFO board. |
1355 | Minor coding style cleanup. | 1358 | Minor coding style cleanup. |
1356 | 1359 | ||
1357 | * Add configuration for IFM SPI eval board | 1360 | * Add configuration for IFM SPI eval board |
1358 | 1361 | ||
1359 | * Fix CompactFlash problem on HMI1001 board | 1362 | * Fix CompactFlash problem on HMI1001 board |
1360 | 1363 | ||
1361 | * Make new "mtdparts" code build with older compilers | 1364 | * Make new "mtdparts" code build with older compilers |
1362 | Patch by Andrea Scian, 09 Aug 2005 | 1365 | Patch by Andrea Scian, 09 Aug 2005 |
1363 | 1366 | ||
1364 | * Changed CONFIG_440_GX, CONFIG_440_EP and CONFIG_440_GR options to | 1367 | * Changed CONFIG_440_GX, CONFIG_440_EP and CONFIG_440_GR options to |
1365 | CONFIG_44GX, CONFIG_440EP and CONFIG_440GR for a consistent design | 1368 | CONFIG_44GX, CONFIG_440EP and CONFIG_440GR for a consistent design |
1366 | with the 405 defines and the linux kernel defines. | 1369 | with the 405 defines and the linux kernel defines. |
1367 | Patch by Stefan Roese, 08 Aug 2005 | 1370 | Patch by Stefan Roese, 08 Aug 2005 |
1368 | 1371 | ||
1369 | * Fix compiler warnings with older GCC versions | 1372 | * Fix compiler warnings with older GCC versions |
1370 | 1373 | ||
1371 | * Add common (with Linux) MTD partition scheme and "mtdparts" command | 1374 | * Add common (with Linux) MTD partition scheme and "mtdparts" command |
1372 | 1375 | ||
1373 | Old, obsolete and duplicated code was cleaned up and replace by the | 1376 | Old, obsolete and duplicated code was cleaned up and replace by the |
1374 | new partitioning method. There are two possible approaches now: | 1377 | new partitioning method. There are two possible approaches now: |
1375 | 1378 | ||
1376 | The first one is to define a single, static partition: | 1379 | The first one is to define a single, static partition: |
1377 | 1380 | ||
1378 | #undef CONFIG_JFFS2_CMDLINE | 1381 | #undef CONFIG_JFFS2_CMDLINE |
1379 | #define CONFIG_JFFS2_DEV "nor0" | 1382 | #define CONFIG_JFFS2_DEV "nor0" |
1380 | #define CONFIG_JFFS2_PART_SIZE 0xFFFFFFFF /* use whole device */ | 1383 | #define CONFIG_JFFS2_PART_SIZE 0xFFFFFFFF /* use whole device */ |
1381 | #define CONFIG_JFFS2_PART_SIZE 0x00100000 /* use 1MB */ | 1384 | #define CONFIG_JFFS2_PART_SIZE 0x00100000 /* use 1MB */ |
1382 | #define CONFIG_JFFS2_PART_OFFSET 0x00000000 | 1385 | #define CONFIG_JFFS2_PART_OFFSET 0x00000000 |
1383 | 1386 | ||
1384 | The second method uses the mtdparts command line option and dynamic | 1387 | The second method uses the mtdparts command line option and dynamic |
1385 | partitioning: | 1388 | partitioning: |
1386 | 1389 | ||
1387 | /* mtdparts command line support */ | 1390 | /* mtdparts command line support */ |
1388 | #define CONFIG_JFFS2_CMDLINE | 1391 | #define CONFIG_JFFS2_CMDLINE |
1389 | #define MTDIDS_DEFAULT "nor1=zuma-1,nor2=zuma-2" | 1392 | #define MTDIDS_DEFAULT "nor1=zuma-1,nor2=zuma-2" |
1390 | #define MTDPARTS_DEFAULT "mtdparts=zuma-1:-(jffs2),zuma-2:-(user)" | 1393 | #define MTDPARTS_DEFAULT "mtdparts=zuma-1:-(jffs2),zuma-2:-(user)" |
1391 | 1394 | ||
1392 | Command line of course produces bigger images, and may be inappropriate | 1395 | Command line of course produces bigger images, and may be inappropriate |
1393 | for some targets, so by default it's off. | 1396 | for some targets, so by default it's off. |
1394 | 1397 | ||
1395 | * Fix build problems for PM856 Board | 1398 | * Fix build problems for PM856 Board |
1396 | 1399 | ||
1397 | * Fix sign extension bug in 'fpga loadb' command; | 1400 | * Fix sign extension bug in 'fpga loadb' command; |
1398 | make 'fpga loadb' always print the file header info | 1401 | make 'fpga loadb' always print the file header info |
1399 | Patch by Andrew Dyer, 11 Jan 2005 | 1402 | Patch by Andrew Dyer, 11 Jan 2005 |
1400 | 1403 | ||
1401 | * Fix errors that occur when accessing SystemACE CF | 1404 | * Fix errors that occur when accessing SystemACE CF |
1402 | Patch by Jeff Angielski, 09 Jan 2005 | 1405 | Patch by Jeff Angielski, 09 Jan 2005 |
1403 | 1406 | ||
1404 | * Document switching between U-Boot and PlanetCore on RPXlite | 1407 | * Document switching between U-Boot and PlanetCore on RPXlite |
1405 | by Sam Song, 24 Dec 2004 | 1408 | by Sam Song, 24 Dec 2004 |
1406 | 1409 | ||
1407 | * Fix PowerQUICC II mask detection. | 1410 | * Fix PowerQUICC II mask detection. |
1408 | Patch by Eugene Surovegin, 20 Dec 2004 | 1411 | Patch by Eugene Surovegin, 20 Dec 2004 |
1409 | 1412 | ||
1410 | * Add support for Altera NIOS DK1C20 board | 1413 | * Add support for Altera NIOS DK1C20 board |
1411 | Patch by Shlomo Kut, 13 Dec 2004 | 1414 | Patch by Shlomo Kut, 13 Dec 2004 |
1412 | 1415 | ||
1413 | * Add support for ep8248 board | 1416 | * Add support for ep8248 board |
1414 | Patch by Yuli Barcohen, 12 Dec 2004 | 1417 | Patch by Yuli Barcohen, 12 Dec 2004 |
1415 | 1418 | ||
1416 | Minor code cleanup. | 1419 | Minor code cleanup. |
1417 | 1420 | ||
1418 | * Fix baudrate setting for KGDB on MPC8260 | 1421 | * Fix baudrate setting for KGDB on MPC8260 |
1419 | Patch by HoJin, 11 Dec 2004 | 1422 | Patch by HoJin, 11 Dec 2004 |
1420 | 1423 | ||
1421 | * Fix 'mii help' text formatting | 1424 | * Fix 'mii help' text formatting |
1422 | Patch by Cory Tusar, 10 Dec 2004 | 1425 | Patch by Cory Tusar, 10 Dec 2004 |
1423 | 1426 | ||
1424 | * Fix return code of NFS command | 1427 | * Fix return code of NFS command |
1425 | Patch by Hiroshi Ito, 11 Dec 2004 | 1428 | Patch by Hiroshi Ito, 11 Dec 2004 |
1426 | 1429 | ||
1427 | * Fix typo | 1430 | * Fix typo |
1428 | 1431 | ||
1429 | * Fix compiler warnings in cpu/ppc4xx/usbdev.c | 1432 | * Fix compiler warnings in cpu/ppc4xx/usbdev.c |
1430 | Patch by Steven Blakeslee, 04 Aug 2005 | 1433 | Patch by Steven Blakeslee, 04 Aug 2005 |
1431 | 1434 | ||
1432 | * Add support for AMCC Bamboo PPC440EP eval board | 1435 | * Add support for AMCC Bamboo PPC440EP eval board |
1433 | Patch by Stefan Roese, 04 Aug 2005 | 1436 | Patch by Stefan Roese, 04 Aug 2005 |
1434 | 1437 | ||
1435 | * Patch by Jon Loeliger | 1438 | * Patch by Jon Loeliger |
1436 | Fix style issues primarily in 85xx and 83xx boards. | 1439 | Fix style issues primarily in 85xx and 83xx boards. |
1437 | - C++ comments | 1440 | - C++ comments |
1438 | - Trailing white space | 1441 | - Trailing white space |
1439 | - Indentation not by TAB | 1442 | - Indentation not by TAB |
1440 | - Excessive amount of empty lines | 1443 | - Excessive amount of empty lines |
1441 | - Trailing empty lines | 1444 | - Trailing empty lines |
1442 | 1445 | ||
1443 | * Patch by Ron Alder, 11 Jul 2005 | 1446 | * Patch by Ron Alder, 11 Jul 2005 |
1444 | Add Xianghua Xiao and Lunsheng Wang's support for the | 1447 | Add Xianghua Xiao and Lunsheng Wang's support for the |
1445 | GDA MPC8540 EVAL board. | 1448 | GDA MPC8540 EVAL board. |
1446 | 1449 | ||
1447 | * Patch by Eran Liberty | 1450 | * Patch by Eran Liberty |
1448 | Add support for the Freescale MPC8349ADS board. | 1451 | Add support for the Freescale MPC8349ADS board. |
1449 | 1452 | ||
1450 | * Patch by Jon Loeliger, 25 Jul 2005 | 1453 | * Patch by Jon Loeliger, 25 Jul 2005 |
1451 | Move the TSEC driver out of cpu/mpc85xx as it will be shared | 1454 | Move the TSEC driver out of cpu/mpc85xx as it will be shared |
1452 | by the upcoming mpc83xx family as well. | 1455 | by the upcoming mpc83xx family as well. |
1453 | 1456 | ||
1454 | * Patch by Jon Loeliger, 05 May 2005 | 1457 | * Patch by Jon Loeliger, 05 May 2005 |
1455 | Implemented support for MPC8548CDS board. | 1458 | Implemented support for MPC8548CDS board. |
1456 | Added DDR II support based on SPD values for MPC85xx boards. | 1459 | Added DDR II support based on SPD values for MPC85xx boards. |
1457 | This roll-up patch also includes bugfies for the previously | 1460 | This roll-up patch also includes bugfies for the previously |
1458 | published patches: | 1461 | published patches: |
1459 | DDRII CPO, pre eTSEC, 8548 LBIU, Andy's TSEC, eTSEC 3&4 I/O | 1462 | DDRII CPO, pre eTSEC, 8548 LBIU, Andy's TSEC, eTSEC 3&4 I/O |
1460 | 1463 | ||
1461 | * Patch by Jon Loeliger, 10 Feb 2005 | 1464 | * Patch by Jon Loeliger, 10 Feb 2005 |
1462 | Add config option CONFIG_HAS_FEC calling out 8540 FEC features. | 1465 | Add config option CONFIG_HAS_FEC calling out 8540 FEC features. |
1463 | 1466 | ||
1464 | * Patch by Jon Loeliger, Kumar Gala, 08 Feb 2005 | 1467 | * Patch by Jon Loeliger, Kumar Gala, 08 Feb 2005 |
1465 | For MPC85xxCDS: | 1468 | For MPC85xxCDS: |
1466 | Adds Relaxed Timing TRLX bit to FLASH ORx regs to allow | 1469 | Adds Relaxed Timing TRLX bit to FLASH ORx regs to allow |
1467 | for faster flash parts. | 1470 | for faster flash parts. |
1468 | Add documentation for BR/OR for FLASH. | 1471 | Add documentation for BR/OR for FLASH. |
1469 | 1472 | ||
1470 | * Patch by Jon Loeliger 08 Feb 2005 | 1473 | * Patch by Jon Loeliger 08 Feb 2005 |
1471 | Determine L2 Cache size dynamically on 85XX boards. | 1474 | Determine L2 Cache size dynamically on 85XX boards. |
1472 | 1475 | ||
1473 | * Patch by Jon Loeliger, Kumar Gala 08 Feb 2005 | 1476 | * Patch by Jon Loeliger, Kumar Gala 08 Feb 2005 |
1474 | - Convert the CPM2 based functionality to use new CONFIG_CPM2 | 1477 | - Convert the CPM2 based functionality to use new CONFIG_CPM2 |
1475 | option rather than a myriad of CONFIG_MPC8560-like variants. | 1478 | option rather than a myriad of CONFIG_MPC8560-like variants. |
1476 | Applies to MPC85xx and MPC8260 boards, includes stxgp3 and sbc8560. | 1479 | Applies to MPC85xx and MPC8260 boards, includes stxgp3 and sbc8560. |
1477 | Eliminates the CONFIG_MPC8560 option entirely. Distributes the | 1480 | Eliminates the CONFIG_MPC8560 option entirely. Distributes the |
1478 | new CONFIG_CPM2 option to each 8260 board. | 1481 | new CONFIG_CPM2 option to each 8260 board. |
1479 | 1482 | ||
1480 | * Add support for MicroSys PM856 board | 1483 | * Add support for MicroSys PM856 board |
1481 | Patch by Josef Wagner, 03 Aug 2005 | 1484 | Patch by Josef Wagner, 03 Aug 2005 |
1482 | 1485 | ||
1483 | * Minor fixes to PM854 board | 1486 | * Minor fixes to PM854 board |
1484 | Patch by Josef Wagner, 03 Aug 2005 | 1487 | Patch by Josef Wagner, 03 Aug 2005 |
1485 | 1488 | ||
1486 | * Adjust configuration of XENIAX board | 1489 | * Adjust configuration of XENIAX board |
1487 | (chip select and GPIO required for USB operation) | 1490 | (chip select and GPIO required for USB operation) |
1488 | 1491 | ||
1489 | * Fix typos in cpu/85xx/start.S which caused DataTLB exception to be | 1492 | * Fix typos in cpu/85xx/start.S which caused DataTLB exception to be |
1490 | routed to the Watchdog handler | 1493 | routed to the Watchdog handler |
1491 | Patch by Eugene Surovegin, 18 Jun 2005 | 1494 | Patch by Eugene Surovegin, 18 Jun 2005 |
1492 | 1495 | ||
1493 | * (re)enabled scsi commands do_scsi() and do_scsiboot() | 1496 | * (re)enabled scsi commands do_scsi() and do_scsiboot() |
1494 | Patch by Denis Peter, 06 Dec 2004 | 1497 | Patch by Denis Peter, 06 Dec 2004 |
1495 | 1498 | ||
1496 | * Fix endianess problem in TFTP / NFS default filenames | 1499 | * Fix endianess problem in TFTP / NFS default filenames |
1497 | Patch by Hiroshi Ito, 06 Dec 2004 | 1500 | Patch by Hiroshi Ito, 06 Dec 2004 |
1498 | 1501 | ||
1499 | * Ignore broadcast status bit in received frames in 8260 FCC ethernet | 1502 | * Ignore broadcast status bit in received frames in 8260 FCC ethernet |
1500 | loopback test code | 1503 | loopback test code |
1501 | Patch by Murray Jensen, 18 Jul 2005 | 1504 | Patch by Murray Jensen, 18 Jul 2005 |
1502 | 1505 | ||
1503 | * Fix typo in mkconfig script (used == instead of =) | 1506 | * Fix typo in mkconfig script (used == instead of =) |
1504 | Patch by Murray Jensen, 18 Jul 2005 | 1507 | Patch by Murray Jensen, 18 Jul 2005 |
1505 | 1508 | ||
1506 | * Cleanup build problems on 64 bit build hosts | 1509 | * Cleanup build problems on 64 bit build hosts |
1507 | 1510 | ||
1508 | * Update MAINTAINERS file | 1511 | * Update MAINTAINERS file |
1509 | 1512 | ||
1510 | * Patch by Stefan Roese, 01 Aug 2005: | 1513 | * Patch by Stefan Roese, 01 Aug 2005: |
1511 | - Major cleanup for AMCC eval boards Walnut, Bubinga, Ebony, Ocotea | 1514 | - Major cleanup for AMCC eval boards Walnut, Bubinga, Ebony, Ocotea |
1512 | (former IBM eval board). Please see "doc/README.AMCC-eval-boards-cleanup" | 1515 | (former IBM eval board). Please see "doc/README.AMCC-eval-boards-cleanup" |
1513 | for details. | 1516 | for details. |
1514 | - Sycamore (PPC405GPr) eval board added (Walnut port is extended | 1517 | - Sycamore (PPC405GPr) eval board added (Walnut port is extended |
1515 | to run on both 405GP and 405GPr eval boards). | 1518 | to run on both 405GP and 405GPr eval boards). |
1516 | 1519 | ||
1517 | * Patch by Steven Blakeslee, 27 Jul 2005: | 1520 | * Patch by Steven Blakeslee, 27 Jul 2005: |
1518 | - Add support for AMCC PPC440EP/GR. | 1521 | - Add support for AMCC PPC440EP/GR. |
1519 | - Add support for AMCC Yosemite PPC440EP eval board. | 1522 | - Add support for AMCC Yosemite PPC440EP eval board. |
1520 | - Add support for AMCC Yellowstone PPC440GR eval board. | 1523 | - Add support for AMCC Yellowstone PPC440GR eval board. |
1521 | 1524 | ||
1522 | * Minor fixes for PPChameleon Board: | 1525 | * Minor fixes for PPChameleon Board: |
1523 | - fix alignment of NAND size | 1526 | - fix alignment of NAND size |
1524 | - make code do what the comment says | 1527 | - make code do what the comment says |
1525 | 1528 | ||
1526 | * Implement h/w sector protection status synchronization at boot. | 1529 | * Implement h/w sector protection status synchronization at boot. |
1527 | The code is provided for, and was tested on, the Yukon/Alaska | 1530 | The code is provided for, and was tested on, the Yukon/Alaska |
1528 | and PM520 boards only. | 1531 | and PM520 boards only. |
1529 | 1532 | ||
1530 | A bug in flash_real_protect() for the Yukon board was fixed by | 1533 | A bug in flash_real_protect() for the Yukon board was fixed by |
1531 | adding a function that tells if two banks are on one flash chip. | 1534 | adding a function that tells if two banks are on one flash chip. |
1532 | 1535 | ||
1533 | * Fix sysmon POST problem: check I2C error codes | 1536 | * Fix sysmon POST problem: check I2C error codes |
1534 | This fixes a problem of displaying bogus voltages when the voltages | 1537 | This fixes a problem of displaying bogus voltages when the voltages |
1535 | are so low that the I2C devices start failing while the rest of the | 1538 | are so low that the I2C devices start failing while the rest of the |
1536 | system keeps running. | 1539 | system keeps running. |
1537 | 1540 | ||
1538 | * Patch by Cedric Vincent, 6 Jul 2005: | 1541 | * Patch by Cedric Vincent, 6 Jul 2005: |
1539 | Fix CFG_CMD_SETGETDCR handling in "common/cmd_dcr.c" | 1542 | Fix CFG_CMD_SETGETDCR handling in "common/cmd_dcr.c" |
1540 | 1543 | ||
1541 | * Patch by Jon Loeliger, 20 Jul 2005: | 1544 | * Patch by Jon Loeliger, 20 Jul 2005: |
1542 | Add missing PCI IO port definitions. | 1545 | Add missing PCI IO port definitions. |
1543 | 1546 | ||
1544 | * Add CompactFlash support for HMI1001 board. | 1547 | * Add CompactFlash support for HMI1001 board. |
1545 | 1548 | ||
1546 | * Adjust printed board ID for LWMON board. | 1549 | * Adjust printed board ID for LWMON board. |
1547 | 1550 | ||
1548 | * Fix low-level OHCI transfers for ARM920t and MPC5xxx | 1551 | * Fix low-level OHCI transfers for ARM920t and MPC5xxx |
1549 | 1552 | ||
1550 | * Add new argument format for flash commands to allow for usage like | 1553 | * Add new argument format for flash commands to allow for usage like |
1551 | "erase $(addr) +$(filesize)", i. e. a size argument can be used and | 1554 | "erase $(addr) +$(filesize)", i. e. a size argument can be used and |
1552 | U-Boot will automaticially find the end of the corresponding sector. | 1555 | U-Boot will automaticially find the end of the corresponding sector. |
1553 | 1556 | ||
1554 | * Patch by Stefan Roese, 5 Jul 2005: | 1557 | * Patch by Stefan Roese, 5 Jul 2005: |
1555 | Update uc100 board PHY setup | 1558 | Update uc100 board PHY setup |
1556 | 1559 | ||
1557 | * Patch by Stefan Roese, 1 Jul 2005: | 1560 | * Patch by Stefan Roese, 1 Jul 2005: |
1558 | Fix PHY address for CATcenter board (now correct!) | 1561 | Fix PHY address for CATcenter board (now correct!) |
1559 | 1562 | ||
1560 | * Patch by Stefan Roese, 30 Jun 2005: | 1563 | * Patch by Stefan Roese, 30 Jun 2005: |
1561 | Fix PHY addresses for PPChameleon and CATcenter boards | 1564 | Fix PHY addresses for PPChameleon and CATcenter boards |
1562 | Change MAINTAINER for most esd boards | 1565 | Change MAINTAINER for most esd boards |
1563 | 1566 | ||
1564 | * Patch by Detlev Zundel, 30 Jun 2005: | 1567 | * Patch by Detlev Zundel, 30 Jun 2005: |
1565 | Fix LCD logo for lwmon board which got lost in the merge of 8xx and PXA LCD code | 1568 | Fix LCD logo for lwmon board which got lost in the merge of 8xx and PXA LCD code |
1566 | 1569 | ||
1567 | * Fix baudrate calculation problem on MPC5200 systems | 1570 | * Fix baudrate calculation problem on MPC5200 systems |
1568 | 1571 | ||
1569 | * Add EEPROM and RTC support for HMI1001 board | 1572 | * Add EEPROM and RTC support for HMI1001 board |
1570 | 1573 | ||
1571 | * Patch by Detlev Zundel, 20 Jun 2005: | 1574 | * Patch by Detlev Zundel, 20 Jun 2005: |
1572 | Fix initialization of low active GPIO pins on inka4x0 board | 1575 | Fix initialization of low active GPIO pins on inka4x0 board |
1573 | 1576 | ||
1574 | * Enable redundant environment, disable HW flash protection of | 1577 | * Enable redundant environment, disable HW flash protection of |
1575 | HMI1001 board | 1578 | HMI1001 board |
1576 | 1579 | ||
1577 | * Patch by Travis Sawyer, 10 Jun 2005: | 1580 | * Patch by Travis Sawyer, 10 Jun 2005: |
1578 | Initialize allocated dev and private hw structures | 1581 | Initialize allocated dev and private hw structures |
1579 | after their respective allocation in 440gx_enet.c | 1582 | after their respective allocation in 440gx_enet.c |
1580 | 1583 | ||
1581 | * Patch by Steven Scholz, 10 Jun 2005: | 1584 | * Patch by Steven Scholz, 10 Jun 2005: |
1582 | Fix byteorder problems with second argument of "bootm" with | 1585 | Fix byteorder problems with second argument of "bootm" with |
1583 | standalone images; | 1586 | standalone images; |
1584 | 1587 | ||
1585 | * Add support for HMI1001 board | 1588 | * Add support for HMI1001 board |
1586 | 1589 | ||
1587 | * Disable "date" and "sntp" commands on TQM866M | 1590 | * Disable "date" and "sntp" commands on TQM866M |
1588 | 1591 | ||
1589 | * Fix watchdog reset problems on LWMON board | 1592 | * Fix watchdog reset problems on LWMON board |
1590 | 1593 | ||
1591 | * Patch by Juergen Selent, 17 May 2005: | 1594 | * Patch by Juergen Selent, 17 May 2005: |
1592 | Add support for Funkwerk VoVPN gateway module. | 1595 | Add support for Funkwerk VoVPN gateway module. |
1593 | 1596 | ||
1594 | * Cleanup debug code for MPC8220 FEC driver | 1597 | * Cleanup debug code for MPC8220 FEC driver |
1595 | 1598 | ||
1596 | * Extend burst mode RAM test program to take a loop count | 1599 | * Extend burst mode RAM test program to take a loop count |
1597 | (0 = infinite) | 1600 | (0 = infinite) |
1598 | 1601 | ||
1599 | * Use CONFIG_DRIVER_KS8695ETH to enable KS8695 ethernet driver on | 1602 | * Use CONFIG_DRIVER_KS8695ETH to enable KS8695 ethernet driver on |
1600 | those boards that use it. | 1603 | those boards that use it. |
1601 | 1604 | ||
1602 | * Patches by Greg Ungerer, 19 May 2005: | 1605 | * Patches by Greg Ungerer, 19 May 2005: |
1603 | - add support for the KS8695P (ARM 922 based) CPU | 1606 | - add support for the KS8695P (ARM 922 based) CPU |
1604 | - add support for the OpenGear CM4008, CM4116 and CM4148 boards | 1607 | - add support for the OpenGear CM4008, CM4116 and CM4148 boards |
1605 | 1608 | ||
1606 | * Patch by Steven Scholz, 19 May 2005: | 1609 | * Patch by Steven Scholz, 19 May 2005: |
1607 | Add support for CONFIG_SERIAL_TAG on ARM boards | 1610 | Add support for CONFIG_SERIAL_TAG on ARM boards |
1608 | 1611 | ||
1609 | * Add PCI support for Sorcery board. | 1612 | * Add PCI support for Sorcery board. |
1610 | Code cleanup (especially Sorcery / Alaska / Yukon serial driver). | 1613 | Code cleanup (especially Sorcery / Alaska / Yukon serial driver). |
1611 | 1614 | ||
1612 | * Fix compile problems caused by new burst mode SDRAM test; | 1615 | * Fix compile problems caused by new burst mode SDRAM test; |
1613 | make port pins to trigger logic analyzer configurable | 1616 | make port pins to trigger logic analyzer configurable |
1614 | 1617 | ||
1615 | * Fix timer handling on MPC85xx systems | 1618 | * Fix timer handling on MPC85xx systems |
1616 | 1619 | ||
1617 | * Fix debug code in omap5912osk flash driver | 1620 | * Fix debug code in omap5912osk flash driver |
1618 | 1621 | ||
1619 | * Add support for MPC8247 based "IDS8247" board. | 1622 | * Add support for MPC8247 based "IDS8247" board. |
1620 | 1623 | ||
1621 | * Add support for 2 x TSEC interfaces on the TQM8540 board. | 1624 | * Add support for 2 x TSEC interfaces on the TQM8540 board. |
1622 | 1625 | ||
1623 | * On LWMON we must use the watchdog to reset the board as the CPU | 1626 | * On LWMON we must use the watchdog to reset the board as the CPU |
1624 | genereated HRESET pulse is too short to reset the external | 1627 | genereated HRESET pulse is too short to reset the external |
1625 | circuitry. | 1628 | circuitry. |
1626 | 1629 | ||
1627 | * Add test tool to exercise SDRAM accesses in burst mode | 1630 | * Add test tool to exercise SDRAM accesses in burst mode |
1628 | (as standalone program, MPC8xx/PowerPC only) | 1631 | (as standalone program, MPC8xx/PowerPC only) |
1629 | 1632 | ||
1630 | * Increase CFG_MONITOR_LEN for Rattler board to match actual code | 1633 | * Increase CFG_MONITOR_LEN for Rattler board to match actual code |
1631 | size. | 1634 | size. |
1632 | 1635 | ||
1633 | * Major upate of JFFS2 code; now in sync with snapshot of MTD CVS of | 1636 | * Major upate of JFFS2 code; now in sync with snapshot of MTD CVS of |
1634 | March 13, 2005); new configuration option CONFIG_JFFS2_LZO_LZARI | 1637 | March 13, 2005); new configuration option CONFIG_JFFS2_LZO_LZARI |
1635 | added to support LZO and LZARI compression modes (undefined by | 1638 | added to support LZO and LZARI compression modes (undefined by |
1636 | default). | 1639 | default). |
1637 | 1640 | ||
1638 | * Fix problem with symbolic links in JFFS2 code. | 1641 | * Fix problem with symbolic links in JFFS2 code. |
1639 | 1642 | ||
1640 | * Use linker ASSERT statement to prevent undetected overlapping of | 1643 | * Use linker ASSERT statement to prevent undetected overlapping of |
1641 | sections on PPChameleon board; other boards might use this, too. | 1644 | sections on PPChameleon board; other boards might use this, too. |
1642 | 1645 | ||
1643 | * Patch by Stefan Roese, 03 May 2005: | 1646 | * Patch by Stefan Roese, 03 May 2005: |
1644 | Update for P3G4 | 1647 | Update for P3G4 |
1645 | Fix problems in cmd_universe.c | 1648 | Fix problems in cmd_universe.c |
1646 | 1649 | ||
1647 | * Patch by Matthias Fuchs, 03 May 2005: | 1650 | * Patch by Matthias Fuchs, 03 May 2005: |
1648 | Added missing variable declaration in cmd_nand.c | 1651 | Added missing variable declaration in cmd_nand.c |
1649 | Modified CFG_PCI_PTM1MS in configs/PLU405.h to map 128MB ram | 1652 | Modified CFG_PCI_PTM1MS in configs/PLU405.h to map 128MB ram |
1650 | 1653 | ||
1651 | * Fix INKA4x0: use CS1 as gpio_wkup_6 output | 1654 | * Fix INKA4x0: use CS1 as gpio_wkup_6 output |
1652 | 1655 | ||
1653 | * Fix bug in the SDRAM initialization code for canmb, IceCube and | 1656 | * Fix bug in the SDRAM initialization code for canmb, IceCube and |
1654 | PM520 boards. | 1657 | PM520 boards. |
1655 | Fix PHY address for canmb board. | 1658 | Fix PHY address for canmb board. |
1656 | 1659 | ||
1657 | * Cleanup serial console baudrate calculation on AT91RM9200; | 1660 | * Cleanup serial console baudrate calculation on AT91RM9200; |
1658 | get rid of obsolete CFG_AT91C_BRGR_DIVISOR definition | 1661 | get rid of obsolete CFG_AT91C_BRGR_DIVISOR definition |
1659 | 1662 | ||
1660 | * Patch by Matthias Fuchs, 18 Apr 2005: | 1663 | * Patch by Matthias Fuchs, 18 Apr 2005: |
1661 | Make PCI target address spaces on PMC405 and CPCI405 boards | 1664 | Make PCI target address spaces on PMC405 and CPCI405 boards |
1662 | configurable via environment variables | 1665 | configurable via environment variables |
1663 | 1666 | ||
1664 | * Auto-size RAM on canmb board. | 1667 | * Auto-size RAM on canmb board. |
1665 | 1668 | ||
1666 | * Add support for canmb board | 1669 | * Add support for canmb board |
1667 | 1670 | ||
1668 | * Patch by Stefan Roese, 13 Apr 2005: | 1671 | * Patch by Stefan Roese, 13 Apr 2005: |
1669 | Update for esd apc405 | 1672 | Update for esd apc405 |
1670 | 1673 | ||
1671 | * Fixes for TQM8560 board: | 1674 | * Fixes for TQM8560 board: |
1672 | - fix clock rates | 1675 | - fix clock rates |
1673 | - remove debug messages | 1676 | - remove debug messages |
1674 | - fix flash sector protection | 1677 | - fix flash sector protection |
1675 | 1678 | ||
1676 | * Patch by Steven Scholz, 07 Apr 2005: | 1679 | * Patch by Steven Scholz, 07 Apr 2005: |
1677 | Add i2c_reg_write() and i2c_reg_write() for at91rm9200 I2C | 1680 | Add i2c_reg_write() and i2c_reg_write() for at91rm9200 I2C |
1678 | 1681 | ||
1679 | * Patches by Steven Scholz, 07 Apr 2005: | 1682 | * Patches by Steven Scholz, 07 Apr 2005: |
1680 | Fix compiler warning in altera.c | 1683 | Fix compiler warning in altera.c |
1681 | Fix warning in cpu/arm920t/at91rm9200/i2c.c | 1684 | Fix warning in cpu/arm920t/at91rm9200/i2c.c |
1682 | 1685 | ||
1683 | * Patch by Ladislav Michl, 06 Apr 2005: | 1686 | * Patch by Ladislav Michl, 06 Apr 2005: |
1684 | Fix voiceblue configuration. | 1687 | Fix voiceblue configuration. |
1685 | 1688 | ||
1686 | * Patch by Stefan Roese, 06 Apr 2005: | 1689 | * Patch by Stefan Roese, 06 Apr 2005: |
1687 | Updates for OCOTEA board: | 1690 | Updates for OCOTEA board: |
1688 | - Changed U-Boot size from 512kByte to 256kByte | 1691 | - Changed U-Boot size from 512kByte to 256kByte |
1689 | - Fixed flash driver to support boot from soldered user flash | 1692 | - Fixed flash driver to support boot from soldered user flash |
1690 | - Added README for switch from PIBS firmware to U-Boot | 1693 | - Added README for switch from PIBS firmware to U-Boot |
1691 | 1694 | ||
1692 | * Patch by Travis Sawyer, 05 Apr 2005: | 1695 | * Patch by Travis Sawyer, 05 Apr 2005: |
1693 | - Change timer frequency for ppc 440 from 10 ms to 1 ms. | 1696 | - Change timer frequency for ppc 440 from 10 ms to 1 ms. |
1694 | Problem found by Andrew Wozniak. | 1697 | Problem found by Andrew Wozniak. |
1695 | 1698 | ||
1696 | * Patch by Steven Scholz, 06 Apr 2005: | 1699 | * Patch by Steven Scholz, 06 Apr 2005: |
1697 | - creating SoC subdir for Atmel AT91RM9200 cpu/arm920t/at91rm9200 | 1700 | - creating SoC subdir for Atmel AT91RM9200 cpu/arm920t/at91rm9200 |
1698 | - moving code out of cpu/at91rm9200 into cpu/arm920t/at91rm9200 | 1701 | - moving code out of cpu/at91rm9200 into cpu/arm920t/at91rm9200 |
1699 | 1702 | ||
1700 | * Patches by Robert Whaley, 29 Nov 2004: | 1703 | * Patches by Robert Whaley, 29 Nov 2004: |
1701 | - update the pxa-regs.h file for PXA27x chips | 1704 | - update the pxa-regs.h file for PXA27x chips |
1702 | - add PXA27x based ADSVIX board | 1705 | - add PXA27x based ADSVIX board |
1703 | - add support for MMC on PXA27x processors | 1706 | - add support for MMC on PXA27x processors |
1704 | 1707 | ||
1705 | * Patch by Andrew E. Mileski, 28 Nov 2004: | 1708 | * Patch by Andrew E. Mileski, 28 Nov 2004: |
1706 | Fix PPC4xx SPD SDRAM detection bug | 1709 | Fix PPC4xx SPD SDRAM detection bug |
1707 | 1710 | ||
1708 | * Patch by Hiroshi Ito, 26 Nov 2004: | 1711 | * Patch by Hiroshi Ito, 26 Nov 2004: |
1709 | Fix logic of "test -z" and "test -n" commands | 1712 | Fix logic of "test -z" and "test -n" commands |
1710 | 1713 | ||
1711 | * Patch by Ladislav Michl, 05 Apr 2005: | 1714 | * Patch by Ladislav Michl, 05 Apr 2005: |
1712 | Add support for VoiceBlue board. | 1715 | Add support for VoiceBlue board. |
1713 | 1716 | ||
1714 | * Patch by Ladislav Michl, 05 Apr 2005: | 1717 | * Patch by Ladislav Michl, 05 Apr 2005: |
1715 | Fix netboot_common() prototypes. | 1718 | Fix netboot_common() prototypes. |
1716 | 1719 | ||
1717 | * Patch by Steven Scholz, 05 Apr 2005: | 1720 | * Patch by Steven Scholz, 05 Apr 2005: |
1718 | Use i.MX watchdog timer for reset_cpu() | 1721 | Use i.MX watchdog timer for reset_cpu() |
1719 | 1722 | ||
1720 | * Patch by Steven Scholz, 05 Apr 2005: | 1723 | * Patch by Steven Scholz, 05 Apr 2005: |
1721 | Move reset_cpu() out of cpu/arm920t/start.S into the SoC specific | 1724 | Move reset_cpu() out of cpu/arm920t/start.S into the SoC specific |
1722 | subdirectories cpu/arm920t/imx/ and cpu/arm920t/s3c24x0/ | 1725 | subdirectories cpu/arm920t/imx/ and cpu/arm920t/s3c24x0/ |
1723 | (now in interupts.c) | 1726 | (now in interupts.c) |
1724 | 1727 | ||
1725 | * Add support for MPC8220 based "sorcery" board. | 1728 | * Add support for MPC8220 based "sorcery" board. |
1726 | 1729 | ||
1727 | * Add support for TQM8560 board. | 1730 | * Add support for TQM8560 board. |
1728 | 1731 | ||
1729 | * Add FEC support for TQM8540 board. | 1732 | * Add FEC support for TQM8540 board. |
1730 | Interfaces are named as follows: "ENET1" - TSEC2, "ENET2" - FEC | 1733 | Interfaces are named as follows: "ENET1" - TSEC2, "ENET2" - FEC |
1731 | 1734 | ||
1732 | * Patch by Martin Krause, 04 Apr 2005: | 1735 | * Patch by Martin Krause, 04 Apr 2005: |
1733 | Update default configuration for CMC_PU2 board. | 1736 | Update default configuration for CMC_PU2 board. |
1734 | 1737 | ||
1735 | * Patch by Steven Scholz, 04 Apr 2005: | 1738 | * Patch by Steven Scholz, 04 Apr 2005: |
1736 | - remove all references to CONFIG_INIT_CRITICAL for ARM based boards | 1739 | - remove all references to CONFIG_INIT_CRITICAL for ARM based boards |
1737 | - introduce two new configuration options instead: | 1740 | - introduce two new configuration options instead: |
1738 | CONFIG_SKIP_LOWLEVEL_INIT and CONFIG_SKIP_RELOCATE_UBOOT | 1741 | CONFIG_SKIP_LOWLEVEL_INIT and CONFIG_SKIP_RELOCATE_UBOOT |
1739 | 1742 | ||
1740 | * Patch by Steven Scholz, 04 Apr 2005: | 1743 | * Patch by Steven Scholz, 04 Apr 2005: |
1741 | Make sure that MDIO clock does not exceed 2.5 MHz on AT91 | 1744 | Make sure that MDIO clock does not exceed 2.5 MHz on AT91 |
1742 | 1745 | ||
1743 | * Fix timer code for ARM systems: make sure that udelay() does not | 1746 | * Fix timer code for ARM systems: make sure that udelay() does not |
1744 | reset timers so it's save to use udelay() in timeout code. | 1747 | reset timers so it's save to use udelay() in timeout code. |
1745 | 1748 | ||
1746 | * Patch by Mathias Kรผster, 23 Nov 2004: | 1749 | * Patch by Mathias Kรผster, 23 Nov 2004: |
1747 | add udelay support for the mcf5282 cpu | 1750 | add udelay support for the mcf5282 cpu |
1748 | 1751 | ||
1749 | * Patch by Tolunay Orkun, 16 November 2004: | 1752 | * Patch by Tolunay Orkun, 16 November 2004: |
1750 | fix incorrect onboard Xilinx CPLD base address | 1753 | fix incorrect onboard Xilinx CPLD base address |
1751 | 1754 | ||
1752 | * Patch by Jerry Van Baren, 08 Nov 2004: | 1755 | * Patch by Jerry Van Baren, 08 Nov 2004: |
1753 | - Add low-boot option for MPC8260ADS board (if lowboot is selected, | 1756 | - Add low-boot option for MPC8260ADS board (if lowboot is selected, |
1754 | the jumper for the HRCW source should select flash. If lowboot is | 1757 | the jumper for the HRCW source should select flash. If lowboot is |
1755 | not selected, the jumper for the HRCW source should select the | 1758 | not selected, the jumper for the HRCW source should select the |
1756 | BCSR. | 1759 | BCSR. |
1757 | - change default load base address to 0x00400000 | 1760 | - change default load base address to 0x00400000 |
1758 | 1761 | ||
1759 | * Patch by Yuli Barcohen, 08 Nov 2004: | 1762 | * Patch by Yuli Barcohen, 08 Nov 2004: |
1760 | Add support for Analogue & Micro Rattler boards. | 1763 | Add support for Analogue & Micro Rattler boards. |
1761 | Tested on Rattler8248. | 1764 | Tested on Rattler8248. |
1762 | 1765 | ||
1763 | * Patch by Andre Renaud, 08 Nov 2004: | 1766 | * Patch by Andre Renaud, 08 Nov 2004: |
1764 | Fix watchdog support in common/lcd.c | 1767 | Fix watchdog support in common/lcd.c |
1765 | 1768 | ||
1766 | * Patch by Marc Leeman, 05 Nov 2003: | 1769 | * Patch by Marc Leeman, 05 Nov 2003: |
1767 | Enable all 4 PCMBRW buffers for the MPC8245 processor since the CPU | 1770 | Enable all 4 PCMBRW buffers for the MPC8245 processor since the CPU |
1768 | bug only affects the XPC8245 processors | 1771 | bug only affects the XPC8245 processors |
1769 | 1772 | ||
1770 | * Patches by Josef Wagner, 29 Oct 2004: | 1773 | * Patches by Josef Wagner, 29 Oct 2004: |
1771 | - Add support for MicroSys CPU87 board | 1774 | - Add support for MicroSys CPU87 board |
1772 | - Add support for MicroSys PM854 board | 1775 | - Add support for MicroSys PM854 board |
1773 | 1776 | ||
1774 | * Patch by Jian Zhang, 02 Nov 2004: | 1777 | * Patch by Jian Zhang, 02 Nov 2004: |
1775 | Add 16-bit NAND support | 1778 | Add 16-bit NAND support |
1776 | 1779 | ||
1777 | * Patch by Scott McNutt, 01 Nov 2004: | 1780 | * Patch by Scott McNutt, 01 Nov 2004: |
1778 | Add missing NIOS/NIOS2 support for "iminfo" command | 1781 | Add missing NIOS/NIOS2 support for "iminfo" command |
1779 | 1782 | ||
1780 | * Patch by Detlev Zundel, 29 Oct 2004: | 1783 | * Patch by Detlev Zundel, 29 Oct 2004: |
1781 | Add missing NIOS/NIOS2 support for "mkimage" tool. | 1784 | Add missing NIOS/NIOS2 support for "mkimage" tool. |
1782 | 1785 | ||
1783 | * Patch by David Adair, 27 Oct 2004: | 1786 | * Patch by David Adair, 27 Oct 2004: |
1784 | Add missing 440GX SDRAM Controller reset | 1787 | Add missing 440GX SDRAM Controller reset |
1785 | 1788 | ||
1786 | * Patch by Steven Scholz, 25 Oct 2004: | 1789 | * Patch by Steven Scholz, 25 Oct 2004: |
1787 | Declare reset_cpu() in include/common.h instead locally | 1790 | Declare reset_cpu() in include/common.h instead locally |
1788 | 1791 | ||
1789 | * Patch by Yusdi Santoso, 22 Oct 2004: | 1792 | * Patch by Yusdi Santoso, 22 Oct 2004: |
1790 | - Add support for HIDDEN_DRAGON board | 1793 | - Add support for HIDDEN_DRAGON board |
1791 | - fix endianess problem in driver/rtl1839.c | 1794 | - fix endianess problem in driver/rtl1839.c |
1792 | 1795 | ||
1793 | * Patch by Allen Curtis, 21 Oct 2004: | 1796 | * Patch by Allen Curtis, 21 Oct 2004: |
1794 | support multiple serial ports | 1797 | support multiple serial ports |
1795 | 1798 | ||
1796 | * Patch by Richard Klingler, 03 Apr 2005: | 1799 | * Patch by Richard Klingler, 03 Apr 2005: |
1797 | Add call to eth_halt() in net/net.c when called functions fail | 1800 | Add call to eth_halt() in net/net.c when called functions fail |
1798 | after eth_init() has been called. | 1801 | after eth_init() has been called. |
1799 | 1802 | ||
1800 | * Patch by Sam Song, 3 April 2005: | 1803 | * Patch by Sam Song, 3 April 2005: |
1801 | - Update README.Netconsole | 1804 | - Update README.Netconsole |
1802 | - Update README | 1805 | - Update README |
1803 | 1806 | ||
1804 | * Prepare for SoC rework of ARM code: | 1807 | * Prepare for SoC rework of ARM code: |
1805 | - rename CONFIG_BOOTBINFUNC into CONFIG_INIT_CRITICAL | 1808 | - rename CONFIG_BOOTBINFUNC into CONFIG_INIT_CRITICAL |
1806 | - rename memsetup into lowlevel_init (function name and source files) | 1809 | - rename memsetup into lowlevel_init (function name and source files) |
1807 | Patch by Steven Scholz, 03 Apr 2005: | 1810 | Patch by Steven Scholz, 03 Apr 2005: |
1808 | - create SoC specific directories include/asm-arm/arch-imx and | 1811 | - create SoC specific directories include/asm-arm/arch-imx and |
1809 | include/asm-arm/arch-s3c24x0 | 1812 | include/asm-arm/arch-s3c24x0 |
1810 | 1813 | ||
1811 | * Fix problems with SNTP support; | 1814 | * Fix problems with SNTP support; |
1812 | enable SNTP support in some boards. | 1815 | enable SNTP support in some boards. |
1813 | 1816 | ||
1814 | * Patches by Martin Krause, 01 Apr 2005: | 1817 | * Patches by Martin Krause, 01 Apr 2005: |
1815 | - Fix flash erase timeout on CMC_PU2 | 1818 | - Fix flash erase timeout on CMC_PU2 |
1816 | - Add automatic HW detection for CMC_PU2 and CMC_BASIC | 1819 | - Add automatic HW detection for CMC_PU2 and CMC_BASIC |
1817 | 1820 | ||
1818 | * Patch by Steven Scholz, 13 March 2005: | 1821 | * Patch by Steven Scholz, 13 March 2005: |
1819 | fix cache enabling for AT91RM9200 | 1822 | fix cache enabling for AT91RM9200 |
1820 | 1823 | ||
1821 | * Patch by Masami Komiya, 30 Mar 2005: | 1824 | * Patch by Masami Komiya, 30 Mar 2005: |
1822 | add SNTP support and expand time server and time offset fields of | 1825 | add SNTP support and expand time server and time offset fields of |
1823 | DHCP support. See doc/README.SNTP | 1826 | DHCP support. See doc/README.SNTP |
1824 | 1827 | ||
1825 | * Patch by Steven Scholz, 13 Dec 2004: | 1828 | * Patch by Steven Scholz, 13 Dec 2004: |
1826 | Fix bug in at91rm920 ethernet driver | 1829 | Fix bug in at91rm920 ethernet driver |
1827 | 1830 | ||
1828 | * Patch by Steven Scholz, 13 Dec 2004: | 1831 | * Patch by Steven Scholz, 13 Dec 2004: |
1829 | Remove duplicated code by merging memsetup.S files for | 1832 | Remove duplicated code by merging memsetup.S files for |
1830 | at91rm9200 boards into one cpu/at91rm9200/lowlevel.S | 1833 | at91rm9200 boards into one cpu/at91rm9200/lowlevel.S |
1831 | 1834 | ||
1832 | * Patch by Detlev Zundel, 31 Mar 2005: | 1835 | * Patch by Detlev Zundel, 31 Mar 2005: |
1833 | Cleanup duplicate definition of overwrite_console() | 1836 | Cleanup duplicate definition of overwrite_console() |
1834 | 1837 | ||
1835 | * Update TQM5200 configuration; | 1838 | * Update TQM5200 configuration; |
1836 | prepare for Rev. 200 starter kit boards | 1839 | prepare for Rev. 200 starter kit boards |
1837 | 1840 | ||
1838 | * Patch by Scott McNutt, 21 Oct 2004: | 1841 | * Patch by Scott McNutt, 21 Oct 2004: |
1839 | Add support for Nios-II EPCS Controller core. | 1842 | Add support for Nios-II EPCS Controller core. |
1840 | 1843 | ||
1841 | * Patch by Scott McNutt, 20 Oct 2004: | 1844 | * Patch by Scott McNutt, 20 Oct 2004: |
1842 | Nios-II cleanups: | 1845 | Nios-II cleanups: |
1843 | - Add sysid command (Nios-II only). | 1846 | - Add sysid command (Nios-II only). |
1844 | - Locate default exception trampoline at proper offset. | 1847 | - Locate default exception trampoline at proper offset. |
1845 | - Implement I/O routines (readb, writeb, etc) | 1848 | - Implement I/O routines (readb, writeb, etc) |
1846 | - Implement do_bootm_linux | 1849 | - Implement do_bootm_linux |
1847 | 1850 | ||
1848 | * Patches by Martin Krause, 22 Mar 2005: | 1851 | * Patches by Martin Krause, 22 Mar 2005: |
1849 | - use TQM5200_auto as MAKEALL target for TQM5200 systems | 1852 | - use TQM5200_auto as MAKEALL target for TQM5200 systems |
1850 | - add support for SM501 graphics controller | 1853 | - add support for SM501 graphics controller |
1851 | - add support for graphic console on TQM5200 | 1854 | - add support for graphic console on TQM5200 |
1852 | - add support for TQM5200 Rev 200 | 1855 | - add support for TQM5200 Rev 200 |
1853 | - cleanup, fix typo in include/configs/TQM5200.h | 1856 | - cleanup, fix typo in include/configs/TQM5200.h |
1854 | 1857 | ||
1855 | * Patch by Manfred Baral, 17 Mar 2005: | 1858 | * Patch by Manfred Baral, 17 Mar 2005: |
1856 | Fix typo | 1859 | Fix typo |
1857 | 1860 | ||
1858 | * Fix RTC configuration for PPChameleon board | 1861 | * Fix RTC configuration for PPChameleon board |
1859 | 1862 | ||
1860 | * Cleanup, fix typo in include/configs/TQM5200.h | 1863 | * Cleanup, fix typo in include/configs/TQM5200.h |
1861 | 1864 | ||
1862 | * Patch by Stefan Roese, 16 Mar 2005: | 1865 | * Patch by Stefan Roese, 16 Mar 2005: |
1863 | Update for esd auto_update and hh405 board | 1866 | Update for esd auto_update and hh405 board |
1864 | 1867 | ||
1865 | * Adapt for U-Boot image size (new features enabled) on TQM5200 | 1868 | * Adapt for U-Boot image size (new features enabled) on TQM5200 |
1866 | 1869 | ||
1867 | * Update code for TQM8540 board (and 85xx in general): | 1870 | * Update code for TQM8540 board (and 85xx in general): |
1868 | - Change the name of the Ethernet driver: MOTO ENET -> ENET | 1871 | - Change the name of the Ethernet driver: MOTO ENET -> ENET |
1869 | - Reformat boot messages | 1872 | - Reformat boot messages |
1870 | - Enable redundant environment | 1873 | - Enable redundant environment |
1871 | - Replace the -O2 optimization flag with -mno-string | 1874 | - Replace the -O2 optimization flag with -mno-string |
1872 | 1875 | ||
1873 | * Patch by David Brownell, 10 Mar 2005: | 1876 | * Patch by David Brownell, 10 Mar 2005: |
1874 | Restore copyright statements in OHCI drivers. | 1877 | Restore copyright statements in OHCI drivers. |
1875 | 1878 | ||
1876 | * Add support for TQM8540 board | 1879 | * Add support for TQM8540 board |
1877 | 1880 | ||
1878 | * Patch by Detlev Zundel, 14 Mar 2005: | 1881 | * Patch by Detlev Zundel, 14 Mar 2005: |
1879 | NC650: changed NAND flash addressing to using UPMB | 1882 | NC650: changed NAND flash addressing to using UPMB |
1880 | 1883 | ||
1881 | * Patch by Stefan Roese, 14 Mar 2005: | 1884 | * Patch by Stefan Roese, 14 Mar 2005: |
1882 | Update for esd voh405 fpga image | 1885 | Update for esd voh405 fpga image |
1883 | 1886 | ||
1884 | * INKA4x0: Allow initialization of LCD backlight dimming from | 1887 | * INKA4x0: Allow initialization of LCD backlight dimming from |
1885 | "brightness" environment variable. | 1888 | "brightness" environment variable. |
1886 | 1889 | ||
1887 | * Add port initialization for digital I/O on INKA4x0 | 1890 | * Add port initialization for digital I/O on INKA4x0 |
1888 | 1891 | ||
1889 | * Patch by Stefan Roese, 01 Mar 2005: | 1892 | * Patch by Stefan Roese, 01 Mar 2005: |
1890 | Update for esd boards dp405 and hub405 | 1893 | Update for esd boards dp405 and hub405 |
1891 | 1894 | ||
1892 | * Fix get_partition_info() parameter error in all other calls | 1895 | * Fix get_partition_info() parameter error in all other calls |
1893 | (common/cmd_ide.c, common/cmd_reiser.c, common/cmd_scsi.c). | 1896 | (common/cmd_ide.c, common/cmd_reiser.c, common/cmd_scsi.c). |
1894 | 1897 | ||
1895 | * Enable USB and IDE support for INKA4x0 board | 1898 | * Enable USB and IDE support for INKA4x0 board |
1896 | 1899 | ||
1897 | * Patch by Andrew Dyer, 28 Feb 2005: | 1900 | * Patch by Andrew Dyer, 28 Feb 2005: |
1898 | fix ext2load passing an incorrect pointer to get_partition_info() | 1901 | fix ext2load passing an incorrect pointer to get_partition_info() |
1899 | resulting in load failure for devices other than 0 | 1902 | resulting in load failure for devices other than 0 |
1900 | 1903 | ||
1901 | * Add support for SRAM and 2 x Quad UARTs on INKA4x0 board | 1904 | * Add support for SRAM and 2 x Quad UARTs on INKA4x0 board |
1902 | 1905 | ||
1903 | * Cleanup USB and partition defines | 1906 | * Cleanup USB and partition defines |
1904 | 1907 | ||
1905 | * Add support for ext2 filesystems and image timestamps to TQM5200 board | 1908 | * Add support for ext2 filesystems and image timestamps to TQM5200 board |
1906 | 1909 | ||
1907 | * Add reset code for Coral-P on INKA4x0 board | 1910 | * Add reset code for Coral-P on INKA4x0 board |
1908 | 1911 | ||
1909 | * Patch by Martin Krause, 28 Jun 2004: | 1912 | * Patch by Martin Krause, 28 Jun 2004: |
1910 | Update for TRAB board. | 1913 | Update for TRAB board. |
1911 | 1914 | ||
1912 | * Fix some missing "volatile"s in MPC5xxx FEC driver | 1915 | * Fix some missing "volatile"s in MPC5xxx FEC driver |
1913 | 1916 | ||
1914 | * Fix cirrus voltage detection (for CPC45) | 1917 | * Fix cirrus voltage detection (for CPC45) |
1915 | 1918 | ||
1916 | * Fix byteorder problem in usbboot and scsiboot commands. | 1919 | * Fix byteorder problem in usbboot and scsiboot commands. |
1917 | 1920 | ||
1918 | * Patch by Cajus Hahn, 04 Feb 2005: | 1921 | * Patch by Cajus Hahn, 04 Feb 2005: |
1919 | - don't insist on leading '/' for filename in ext2load | 1922 | - don't insist on leading '/' for filename in ext2load |
1920 | - set default partition to useful value (1) in ext2load | 1923 | - set default partition to useful value (1) in ext2load |
1921 | 1924 | ||
1922 | * Patch by Andrew Dyer, 08 Jan 2005: | 1925 | * Patch by Andrew Dyer, 08 Jan 2005: |
1923 | fix wrong return codes in ext2 code | 1926 | fix wrong return codes in ext2 code |
1924 | 1927 | ||
1925 | * Removed '--no-warn-mismatch' option from Makefile. This option | 1928 | * Removed '--no-warn-mismatch' option from Makefile. This option |
1926 | makes 'ld' to overlook binary objects compatibility. | 1929 | makes 'ld' to overlook binary objects compatibility. |
1927 | 1930 | ||
1928 | * Moved $(PLATFORM_LIBS) from the library group (--start-group ... | 1931 | * Moved $(PLATFORM_LIBS) from the library group (--start-group ... |
1929 | --end-group) outside of the group. This will make 'ld' to do | 1932 | --end-group) outside of the group. This will make 'ld' to do |
1930 | _multiple_ search in the library group when resolving symbol | 1933 | _multiple_ search in the library group when resolving symbol |
1931 | references and do only a _single_ seach in libgcc.a after the group | 1934 | references and do only a _single_ seach in libgcc.a after the group |
1932 | search. | 1935 | search. |
1933 | 1936 | ||
1934 | * Fix stability problems on CPC45 board again. | 1937 | * Fix stability problems on CPC45 board again. |
1935 | 1938 | ||
1936 | * Make image detection for diskboot / usbboot / scsiboot more robust | 1939 | * Make image detection for diskboot / usbboot / scsiboot more robust |
1937 | (also check header checksum) | 1940 | (also check header checksum) |
1938 | 1941 | ||
1939 | * Update CPC45 board configuration. | 1942 | * Update CPC45 board configuration. |
1940 | 1943 | ||
1941 | * Add USB and PCI support for INKA4x0 board | 1944 | * Add USB and PCI support for INKA4x0 board |
1942 | 1945 | ||
1943 | * Fix IDE stability problems on CPC45 board (needs 2 x EIEIO). | 1946 | * Fix IDE stability problems on CPC45 board (needs 2 x EIEIO). |
1944 | 1947 | ||
1945 | * Code cleanup | 1948 | * Code cleanup |
1946 | 1949 | ||
1947 | * Patch by Robin Getz, 13 Oct 2004: | 1950 | * Patch by Robin Getz, 13 Oct 2004: |
1948 | Add standalone application to change SMC91C111 MAC addresses, | 1951 | Add standalone application to change SMC91C111 MAC addresses, |
1949 | see examples/README.smc91111_eeprom | 1952 | see examples/README.smc91111_eeprom |
1950 | 1953 | ||
1951 | * Patch by Xiaogeng (Shawn) Jin, 12 Oct 2004: | 1954 | * Patch by Xiaogeng (Shawn) Jin, 12 Oct 2004: |
1952 | Fix Flash support for ARM Integrator CP. | 1955 | Fix Flash support for ARM Integrator CP. |
1953 | 1956 | ||
1954 | * Patch by Richard Woodruff, 10 Jan 2005: | 1957 | * Patch by Richard Woodruff, 10 Jan 2005: |
1955 | Update support for OMAP2420 (ARM11) and H4 board: | 1958 | Update support for OMAP2420 (ARM11) and H4 board: |
1956 | o clean up and add new types to H4 memory probe code. | 1959 | o clean up and add new types to H4 memory probe code. |
1957 | o fix to work with internal boot. | 1960 | o fix to work with internal boot. |
1958 | o added PRCM config III operation. | 1961 | o added PRCM config III operation. |
1959 | o fix marginal flash timings. | 1962 | o fix marginal flash timings. |
1960 | o add revison ATAG usage. | 1963 | o add revison ATAG usage. |
1961 | o enable voltage scaling at power chip. | 1964 | o enable voltage scaling at power chip. |
1962 | o fix compile error for i2c. | 1965 | o fix compile error for i2c. |
1963 | 1966 | ||
1964 | * Fix network problem (error when receiving multiple ARP packets) | 1967 | * Fix network problem (error when receiving multiple ARP packets) |
1965 | 1968 | ||
1966 | * Patch by Daniel Poirot, 12 Oct 2004: | 1969 | * Patch by Daniel Poirot, 12 Oct 2004: |
1967 | Add support for Wind River sbc405 board | 1970 | Add support for Wind River sbc405 board |
1968 | 1971 | ||
1969 | * Patch by Rainer Brestan, 12 Oct 2004: | 1972 | * Patch by Rainer Brestan, 12 Oct 2004: |
1970 | Make examples/Makefile more robust | 1973 | Make examples/Makefile more robust |
1971 | 1974 | ||
1972 | * Patch by Sam Song, 11 October 2004: | 1975 | * Patch by Sam Song, 11 October 2004: |
1973 | - Add RESET/PREBOOT/AUTOBOOT support for RPXlite_DW board | 1976 | - Add RESET/PREBOOT/AUTOBOOT support for RPXlite_DW board |
1974 | - Adjust CPU:BUS frequency ratio 1:1 when core frequency | 1977 | - Adjust CPU:BUS frequency ratio 1:1 when core frequency |
1975 | less than 50MHz | 1978 | less than 50MHz |
1976 | 1979 | ||
1977 | * Patch by Sam Song, 10 Oct 2004: | 1980 | * Patch by Sam Song, 10 Oct 2004: |
1978 | Fix a parameter error in run_command() in main.c | 1981 | Fix a parameter error in run_command() in main.c |
1979 | 1982 | ||
1980 | * Patch by Richard Woodruff, 01 Oct 2004: | 1983 | * Patch by Richard Woodruff, 01 Oct 2004: |
1981 | add support for the TI OMAP2420 processor and its H4 reference | 1984 | add support for the TI OMAP2420 processor and its H4 reference |
1982 | board | 1985 | board |
1983 | 1986 | ||
1984 | * Patch by Christian Pellegrin, 24 Sep 2004: | 1987 | * Patch by Christian Pellegrin, 24 Sep 2004: |
1985 | Added support for NE2000 compatible (DP8390, DP83902) NICs. | 1988 | Added support for NE2000 compatible (DP8390, DP83902) NICs. |
1986 | 1989 | ||
1987 | * Patch by Leif Lindholm, 23 Sep 2004: | 1990 | * Patch by Leif Lindholm, 23 Sep 2004: |
1988 | add support for the AMD db1550 board | 1991 | add support for the AMD db1550 board |
1989 | 1992 | ||
1990 | * Patch by Travis Sawyer, 15 Sep 2004: | 1993 | * Patch by Travis Sawyer, 15 Sep 2004: |
1991 | Add CONFIG_SERIAL_MULTI support for ppc4xx, | 1994 | Add CONFIG_SERIAL_MULTI support for ppc4xx, |
1992 | update README.serial_multi | 1995 | update README.serial_multi |
1993 | 1996 | ||
1994 | * Patches by David Snowdon, 07 Sep 2004: | 1997 | * Patches by David Snowdon, 07 Sep 2004: |
1995 | - add u-boot.hex target in the top level Makefile | 1998 | - add u-boot.hex target in the top level Makefile |
1996 | - add support for the UNSW/NICTA PLEB 2 board (pleb2) | 1999 | - add support for the UNSW/NICTA PLEB 2 board (pleb2) |
1997 | - use -mtune=xscale and -march=armv5 options for PXA | 2000 | - use -mtune=xscale and -march=armv5 options for PXA |
1998 | 2001 | ||
1999 | * Patch by Florian Schlote, 08 Sep 2004: | 2002 | * Patch by Florian Schlote, 08 Sep 2004: |
2000 | Add support for SenTec-COBRA5272-board (ColdFire). | 2003 | Add support for SenTec-COBRA5272-board (ColdFire). |
2001 | 2004 | ||
2002 | * Patch by Gleb Natapov, 07 Sep 2004: | 2005 | * Patch by Gleb Natapov, 07 Sep 2004: |
2003 | mpc824x: set PCI latency timer to a sane value | 2006 | mpc824x: set PCI latency timer to a sane value |
2004 | (is 0 after reset). | 2007 | (is 0 after reset). |
2005 | 2008 | ||
2006 | * Patch by Kurt Stremerch, 03 Sep 2004: | 2009 | * Patch by Kurt Stremerch, 03 Sep 2004: |
2007 | Add bitstream configuration option for fpga command (Xilinx only). | 2010 | Add bitstream configuration option for fpga command (Xilinx only). |
2008 | 2011 | ||
2009 | * Patch by Kurt Stremerch, 03 Sep 2004: | 2012 | * Patch by Kurt Stremerch, 03 Sep 2004: |
2010 | Add Xilinx Spartan2E family FPGA support | 2013 | Add Xilinx Spartan2E family FPGA support |
2011 | 2014 | ||
2012 | * Patch by Jeff Angielski, 02 Sep 2004: | 2015 | * Patch by Jeff Angielski, 02 Sep 2004: |
2013 | Add Added support for H2 revision of the EP8260 board. | 2016 | Add Added support for H2 revision of the EP8260 board. |
2014 | Fixed formatting for some of the EP8260 related source files. | 2017 | Fixed formatting for some of the EP8260 related source files. |
2015 | 2018 | ||
2016 | * Patch by Jon Loeliger, 02 Sep 2004: | 2019 | * Patch by Jon Loeliger, 02 Sep 2004: |
2017 | Reset monitor size back to 256 so environment can be written | 2020 | Reset monitor size back to 256 so environment can be written |
2018 | to flash on MPC85xx ADS and CDS releases. | 2021 | to flash on MPC85xx ADS and CDS releases. |
2019 | 2022 | ||
2020 | * Patch by Paolo Broggini, 02 Sep 2004: | 2023 | * Patch by Paolo Broggini, 02 Sep 2004: |
2021 | Make BSS clearing on ARM systems more robust | 2024 | Make BSS clearing on ARM systems more robust |
2022 | 2025 | ||
2023 | * Patch by Yue Hu and Joe, 01 Sep 2004: | 2026 | * Patch by Yue Hu and Joe, 01 Sep 2004: |
2024 | - add PCI support for ixp425; | 2027 | - add PCI support for ixp425; |
2025 | - add EEPRO100 suppor tfor ixdp425 board. | 2028 | - add EEPRO100 suppor tfor ixdp425 board. |
2026 | 2029 | ||
2027 | * Fix problem with protected sector detection in driver/cfi_flash.c | 2030 | * Fix problem with protected sector detection in driver/cfi_flash.c |
2028 | 2031 | ||
2029 | ====================================================================== | 2032 | ====================================================================== |
2030 | Changes for U-Boot 1.1.2: | 2033 | Changes for U-Boot 1.1.2: |
2031 | ====================================================================== | 2034 | ====================================================================== |
2032 | 2035 | ||
2033 | * Code cleanup, mostly for GCC-3.3.x | 2036 | * Code cleanup, mostly for GCC-3.3.x |
2034 | 2037 | ||
2035 | * Cleanup confusing use of CONFIG_ETH*ADDR - ust his only to | 2038 | * Cleanup confusing use of CONFIG_ETH*ADDR - ust his only to |
2036 | pre-define a MAC address; use CONFIG_HAS_ETH* to enable support for | 2039 | pre-define a MAC address; use CONFIG_HAS_ETH* to enable support for |
2037 | additional ethernet addresses. | 2040 | additional ethernet addresses. |
2038 | 2041 | ||
2039 | * Cleanup drivers/i82365.c - avoid duplication of code | 2042 | * Cleanup drivers/i82365.c - avoid duplication of code |
2040 | 2043 | ||
2041 | * Fix bogus "cannot span across banks" flash error message | 2044 | * Fix bogus "cannot span across banks" flash error message |
2042 | 2045 | ||
2043 | * Code cleanup | 2046 | * Code cleanup |
2044 | 2047 | ||
2045 | * Add support for CompactFlash for the CPC45 Board. | 2048 | * Add support for CompactFlash for the CPC45 Board. |
2046 | 2049 | ||
2047 | * Fix problems with CMC_PU2 flash driver. | 2050 | * Fix problems with CMC_PU2 flash driver. |
2048 | 2051 | ||
2049 | * Cleanup: | 2052 | * Cleanup: |
2050 | - avoid trigraph warning in fs/ext2/ext2fs.c | 2053 | - avoid trigraph warning in fs/ext2/ext2fs.c |
2051 | - rename UC100 -> uc100 | 2054 | - rename UC100 -> uc100 |
2052 | 2055 | ||
2053 | * Add support for UC100 board | 2056 | * Add support for UC100 board |
2054 | 2057 | ||
2055 | * Patch by Stefan Roese, 16 Dez 2004: | 2058 | * Patch by Stefan Roese, 16 Dez 2004: |
2056 | - ext2fs support added | 2059 | - ext2fs support added |
2057 | - Tundra universe support added | 2060 | - Tundra universe support added |
2058 | - ColdFire MCF5249 support added (no preloader needed!) | 2061 | - ColdFire MCF5249 support added (no preloader needed!) |
2059 | - MCF5249 board TASREG added | 2062 | - MCF5249 board TASREG added |
2060 | - PPC boards added: APC405, CPCI405DT, CPCI750, G2000, HH405, | 2063 | - PPC boards added: APC405, CPCI405DT, CPCI750, G2000, HH405, |
2061 | VOM405, WUH405 | 2064 | VOM405, WUH405 |
2062 | - some esd boards updated | 2065 | - some esd boards updated |
2063 | - memory commands "mdc" and "mwc" added for cyclic read/write | 2066 | - memory commands "mdc" and "mwc" added for cyclic read/write |
2064 | (CONFIG_MX_CYCLIC, see README for further description) | 2067 | (CONFIG_MX_CYCLIC, see README for further description) |
2065 | 2068 | ||
2066 | * Add support for INKA4X0 board | 2069 | * Add support for INKA4X0 board |
2067 | 2070 | ||
2068 | * Patch by Steven Scholz, 12 Dec 2004: | 2071 | * Patch by Steven Scholz, 12 Dec 2004: |
2069 | Fix typo in AT91 memory setup. | 2072 | Fix typo in AT91 memory setup. |
2070 | 2073 | ||
2071 | * Patch by Martin Krause, 27 Oct 2004: | 2074 | * Patch by Martin Krause, 27 Oct 2004: |
2072 | - add support for "STK52xx" board (including PS/2 multiplexer) | 2075 | - add support for "STK52xx" board (including PS/2 multiplexer) |
2073 | - add hardware detection for TQM5200 | 2076 | - add hardware detection for TQM5200 |
2074 | 2077 | ||
2075 | * Clean up CMC PU2 flash driver | 2078 | * Clean up CMC PU2 flash driver |
2076 | 2079 | ||
2077 | * Update MAINTAINERS file | 2080 | * Update MAINTAINERS file |
2078 | 2081 | ||
2079 | * Fix bug in MPC823 LCD driver | 2082 | * Fix bug in MPC823 LCD driver |
2080 | 2083 | ||
2081 | * Fix udelay() on AT91RM9200 for delays < 1 ms. | 2084 | * Fix udelay() on AT91RM9200 for delays < 1 ms. |
2082 | 2085 | ||
2083 | * Enable long help on CMC PU2 board; | 2086 | * Enable long help on CMC PU2 board; |
2084 | fix reset issue; | 2087 | fix reset issue; |
2085 | increase CPU speed from 179 to 207 MHz. | 2088 | increase CPU speed from 179 to 207 MHz. |
2086 | 2089 | ||
2087 | * Fix smc91111 ethernet driver for Xaeniax board (need to handle | 2090 | * Fix smc91111 ethernet driver for Xaeniax board (need to handle |
2088 | unaligned tail part specially). | 2091 | unaligned tail part specially). |
2089 | 2092 | ||
2090 | * Update for AT91RM9200DK and CMC_PU2 boards: | 2093 | * Update for AT91RM9200DK and CMC_PU2 boards: |
2091 | - Enable booting directly from flash | 2094 | - Enable booting directly from flash |
2092 | - fix CMC_PU2 flash driver | 2095 | - fix CMC_PU2 flash driver |
2093 | 2096 | ||
2094 | * Fix mkimage usage message | 2097 | * Fix mkimage usage message |
2095 | 2098 | ||
2096 | * Map SRAM on NC650 board | 2099 | * Map SRAM on NC650 board |
2097 | 2100 | ||
2098 | * Work around for Ethernet problems on Xaeniax board | 2101 | * Work around for Ethernet problems on Xaeniax board |
2099 | 2102 | ||
2100 | * Patch by TsiChung Liew, 23 Sep 2004: | 2103 | * Patch by TsiChung Liew, 23 Sep 2004: |
2101 | - add support for MPC8220 CPU | 2104 | - add support for MPC8220 CPU |
2102 | - Add support for Alaska and Yukon boards | 2105 | - Add support for Alaska and Yukon boards |
2103 | 2106 | ||
2104 | * Fix configuration for ERIC board (needs more room) | 2107 | * Fix configuration for ERIC board (needs more room) |
2105 | 2108 | ||
2106 | * Adjust MIPS compiler options at run-time depending on tools version | 2109 | * Adjust MIPS compiler options at run-time depending on tools version |
2107 | ("-march=4kc -mtune=4kc -Wa,-mips_allow_branch_to_undefined" for new, | 2110 | ("-march=4kc -mtune=4kc -Wa,-mips_allow_branch_to_undefined" for new, |
2108 | "-mcpu=4kc" for old tools) | 2111 | "-mcpu=4kc" for old tools) |
2109 | 2112 | ||
2110 | * Add passing of the command line and memory size information to the | 2113 | * Add passing of the command line and memory size information to the |
2111 | kernel on xaeniax board. | 2114 | kernel on xaeniax board. |
2112 | 2115 | ||
2113 | * Enable NAND flash support for NC650 board. | 2116 | * Enable NAND flash support for NC650 board. |
2114 | 2117 | ||
2115 | * Patch by Thomas Lange 07 Oct 2004: | 2118 | * Patch by Thomas Lange 07 Oct 2004: |
2116 | Updated README for DBAu1x00 boards to match current status | 2119 | Updated README for DBAu1x00 boards to match current status |
2117 | 2120 | ||
2118 | * Patch by Philippe Robin, 28 Sept 2004: | 2121 | * Patch by Philippe Robin, 28 Sept 2004: |
2119 | Fix Flash support for Versatile. | 2122 | Fix Flash support for Versatile. |
2120 | 2123 | ||
2121 | * Patch by Roger Blofeld, 16 Sep 2004: | 2124 | * Patch by Roger Blofeld, 16 Sep 2004: |
2122 | Fix timeout for DHCP command retry | 2125 | Fix timeout for DHCP command retry |
2123 | 2126 | ||
2124 | * Patch by Pantelis Antoniou, 14 Sep 2004: | 2127 | * Patch by Pantelis Antoniou, 14 Sep 2004: |
2125 | Fix early serial hang when CONFIG_SERIAL_MULTI is defined. | 2128 | Fix early serial hang when CONFIG_SERIAL_MULTI is defined. |
2126 | 2129 | ||
2127 | * Patch by Pantelis Antoniou, 14 Sep 2004: | 2130 | * Patch by Pantelis Antoniou, 14 Sep 2004: |
2128 | Kick watchdog when bz-decompressing | 2131 | Kick watchdog when bz-decompressing |
2129 | 2132 | ||
2130 | * Fix CFG_HZ problems on AT91RM9200 systems | 2133 | * Fix CFG_HZ problems on AT91RM9200 systems |
2131 | [Remember: CFG_HZ should be 1000 on ALL systems!] | 2134 | [Remember: CFG_HZ should be 1000 on ALL systems!] |
2132 | 2135 | ||
2133 | * Patch by Gridish Shlomi, 30 Aug 2004: | 2136 | * Patch by Gridish Shlomi, 30 Aug 2004: |
2134 | - Add support to revA version of PQ27 and PQ27E. | 2137 | - Add support to revA version of PQ27 and PQ27E. |
2135 | - Reverted MPC8260ADS baudrate back to original 115200 | 2138 | - Reverted MPC8260ADS baudrate back to original 115200 |
2136 | 2139 | ||
2137 | * Patch by Hojin, 17 Sep 2004: | 2140 | * Patch by Hojin, 17 Sep 2004: |
2138 | Fix typo in cfi_flash.c | 2141 | Fix typo in cfi_flash.c |
2139 | 2142 | ||
2140 | * Patch by Mark Jonas, 09 September 2004: | 2143 | * Patch by Mark Jonas, 09 September 2004: |
2141 | mtest's data line test (with CFG_ALT_MEMTEST set) returned a wrong | 2144 | mtest's data line test (with CFG_ALT_MEMTEST set) returned a wrong |
2142 | error message | 2145 | error message |
2143 | 2146 | ||
2144 | * Patch by Mark Jonas, 31 August 2004: | 2147 | * Patch by Mark Jonas, 31 August 2004: |
2145 | Added option CFG_XLB_PIPELINING to enable XLB pipelining. This | 2148 | Added option CFG_XLB_PIPELINING to enable XLB pipelining. This |
2146 | improves FTP performance for MPC5200 systems. Enabled for IceCube | 2149 | improves FTP performance for MPC5200 systems. Enabled for IceCube |
2147 | by default. | 2150 | by default. |
2148 | 2151 | ||
2149 | * Patch by Michael Bendzick, 30 Aug 2004: | 2152 | * Patch by Michael Bendzick, 30 Aug 2004: |
2150 | - Improve platform.S code for omap1510inn that detects whether code | 2153 | - Improve platform.S code for omap1510inn that detects whether code |
2151 | is running from SDRAM or not. Patch allows SDRAM to be configured | 2154 | is running from SDRAM or not. Patch allows SDRAM to be configured |
2152 | if code is running out of SRAM at 0x20000000. | 2155 | if code is running out of SRAM at 0x20000000. |
2153 | 2156 | ||
2154 | * Patch by Frederick Klatt, 30 Aug 2004: | 2157 | * Patch by Frederick Klatt, 30 Aug 2004: |
2155 | Add support for the Wind River SBC8540/SBC8560 boards | 2158 | Add support for the Wind River SBC8540/SBC8560 boards |
2156 | 2159 | ||
2157 | * Configure SX1 board to use drivers/cfi_flash.c | 2160 | * Configure SX1 board to use drivers/cfi_flash.c |
2158 | 2161 | ||
2159 | * Patches by Michael Bendzick, 30 Aug 2004: | 2162 | * Patches by Michael Bendzick, 30 Aug 2004: |
2160 | - Configure omap1510inn board to use drivers/cfi_flash.c | 2163 | - Configure omap1510inn board to use drivers/cfi_flash.c |
2161 | - Make drivers/cfi_flash.c protect environment and redundant | 2164 | - Make drivers/cfi_flash.c protect environment and redundant |
2162 | environment. | 2165 | environment. |
2163 | 2166 | ||
2164 | * Patch by Steven Scholz, 23 Jun 2004: | 2167 | * Patch by Steven Scholz, 23 Jun 2004: |
2165 | - Add script (tools/img2brec.sh) to programm U-Boot into | 2168 | - Add script (tools/img2brec.sh) to programm U-Boot into |
2166 | (Synch)Flash using the Bootstrap Mode of the MC9328MX1/L | 2169 | (Synch)Flash using the Bootstrap Mode of the MC9328MX1/L |
2167 | 2170 | ||
2168 | * Patches by Scott McNutt, 24 Aug 2004: | 2171 | * Patches by Scott McNutt, 24 Aug 2004: |
2169 | - Add support for Altera Nios-II processors. | 2172 | - Add support for Altera Nios-II processors. |
2170 | - Add support for Psyent PCI-5441 board. | 2173 | - Add support for Psyent PCI-5441 board. |
2171 | - Add support for Psyent PK1C20 board. | 2174 | - Add support for Psyent PK1C20 board. |
2172 | 2175 | ||
2173 | * Patches by Jon Loeliger, 24 Aug 2004: | 2176 | * Patches by Jon Loeliger, 24 Aug 2004: |
2174 | - Add support for the MPC8541 and MPC8555 CDS boards | 2177 | - Add support for the MPC8541 and MPC8555 CDS boards |
2175 | - Cleanup eth?addr handling: make dependent on CONFIG_ETH?ADDR | 2178 | - Cleanup eth?addr handling: make dependent on CONFIG_ETH?ADDR |
2176 | - Convert MPC85xxADS to use common CFI flash driver | 2179 | - Convert MPC85xxADS to use common CFI flash driver |
2177 | - Fix PCI window on MPC85xx; remove unneeded PCI initialization | 2180 | - Fix PCI window on MPC85xx; remove unneeded PCI initialization |
2178 | from board_early_init_f() | 2181 | from board_early_init_f() |
2179 | - Provide SW workaround for PCI initialization on 85xx CDS | 2182 | - Provide SW workaround for PCI initialization on 85xx CDS |
2180 | 2183 | ||
2181 | * Patches by George G. Davis, 24 Aug 2004: | 2184 | * Patches by George G. Davis, 24 Aug 2004: |
2182 | - Enable ramdisk/initrd tagged param support for omap1610h2_config | 2185 | - Enable ramdisk/initrd tagged param support for omap1610h2_config |
2183 | - Remove static network setup defaults from mx1ads_config | 2186 | - Remove static network setup defaults from mx1ads_config |
2184 | - update ARM boards to use constants from mach-types.h | 2187 | - update ARM boards to use constants from mach-types.h |
2185 | 2188 | ||
2186 | * Patch by Gary Jennejohn, 04 Oct 2004: | 2189 | * Patch by Gary Jennejohn, 04 Oct 2004: |
2187 | - fix I2C on at91rm9200 | 2190 | - fix I2C on at91rm9200 |
2188 | - add support for Ricoh RS5C372A RTC | 2191 | - add support for Ricoh RS5C372A RTC |
2189 | 2192 | ||
2190 | * Patch by Gary Jennejohn, 01 Oct 2004: | 2193 | * Patch by Gary Jennejohn, 01 Oct 2004: |
2191 | - add support for CMC PU2 board | 2194 | - add support for CMC PU2 board |
2192 | - add support for I2C on at91rm9200 | 2195 | - add support for I2C on at91rm9200 |
2193 | 2196 | ||
2194 | * Patch by Gary Jennejohn, 28 Sep 2004: | 2197 | * Patch by Gary Jennejohn, 28 Sep 2004: |
2195 | fix baudrate handling on at91rm9200 | 2198 | fix baudrate handling on at91rm9200 |
2196 | 2199 | ||
2197 | * Patch by Yuli Barcohen, 22 Aug 2004: | 2200 | * Patch by Yuli Barcohen, 22 Aug 2004: |
2198 | - remove ZPC.1900 board-specific flash driver; | 2201 | - remove ZPC.1900 board-specific flash driver; |
2199 | switch the port to generic CFI driver; | 2202 | switch the port to generic CFI driver; |
2200 | - port clean-up | 2203 | - port clean-up |
2201 | 2204 | ||
2202 | * Patch by Hinko Kocevar, 21 Aug 2004: | 2205 | * Patch by Hinko Kocevar, 21 Aug 2004: |
2203 | Add calc_fbsize() function used with VIDEOLFB_TAG on TRAB | 2206 | Add calc_fbsize() function used with VIDEOLFB_TAG on TRAB |
2204 | 2207 | ||
2205 | * Clean up tools/bmp_logo.c to not add trailing white space | 2208 | * Clean up tools/bmp_logo.c to not add trailing white space |
2206 | 2209 | ||
2207 | * Patch by Hinko Kocevar, 21 Aug 2004: | 2210 | * Patch by Hinko Kocevar, 21 Aug 2004: |
2208 | - Group common framebuffer functions in common/lcd.c | 2211 | - Group common framebuffer functions in common/lcd.c |
2209 | - Group common framebuffer macros and #defines in include/lcd.h | 2212 | - Group common framebuffer macros and #defines in include/lcd.h |
2210 | - Provide calc_fbsize() for video ATAG | 2213 | - Provide calc_fbsize() for video ATAG |
2211 | 2214 | ||
2212 | * Patch by Sam Song, 21 August 2004: | 2215 | * Patch by Sam Song, 21 August 2004: |
2213 | - Fix a typo in README | 2216 | - Fix a typo in README |
2214 | - Align "(RO)" output for "flinfo" after "protect on" | 2217 | - Align "(RO)" output for "flinfo" after "protect on" |
2215 | - Add RESET support for RPXlite_DW board; adjust CPU:BUS frequency | 2218 | - Add RESET support for RPXlite_DW board; adjust CPU:BUS frequency |
2216 | ratio 1:1 when core frequency less than 50MHz | 2219 | ratio 1:1 when core frequency less than 50MHz |
2217 | 2220 | ||
2218 | * Patches by Hinko Kocevar, 21 Aug 2004: | 2221 | * Patches by Hinko Kocevar, 21 Aug 2004: |
2219 | - fix some "use of label at end of compound statement" warnings | 2222 | - fix some "use of label at end of compound statement" warnings |
2220 | - Define type of LCD panel on lubbock board if CONFIG_LCD is used | 2223 | - Define type of LCD panel on lubbock board if CONFIG_LCD is used |
2221 | 2224 | ||
2222 | * Patch by Steven Scholz, 16 Aug 2004: | 2225 | * Patch by Steven Scholz, 16 Aug 2004: |
2223 | - Introducing the concept of SoCs "./cpu/$(CPU)/$(SOC)" | 2226 | - Introducing the concept of SoCs "./cpu/$(CPU)/$(SOC)" |
2224 | - creating subdirs for SoCs ./cpu/arm920t/imx and ./cpu/arm920t/s3c24x0 | 2227 | - creating subdirs for SoCs ./cpu/arm920t/imx and ./cpu/arm920t/s3c24x0 |
2225 | - moving SoC specific code out of cpu/arm920t/ into cpu/arm920t/$(SOC)/ | 2228 | - moving SoC specific code out of cpu/arm920t/ into cpu/arm920t/$(SOC)/ |
2226 | - moving drivers/s3c24x0_i2c.c and drivers/serial_imx.c out of drivers/ | 2229 | - moving drivers/s3c24x0_i2c.c and drivers/serial_imx.c out of drivers/ |
2227 | into cpu/arm920t/$(SOC)/ | 2230 | into cpu/arm920t/$(SOC)/ |
2228 | 2231 | ||
2229 | * Patches by Sean Chang, 09 Aug 2004: | 2232 | * Patches by Sean Chang, 09 Aug 2004: |
2230 | - Added support for both 8 and 16 bit mode access to System ACE CF | 2233 | - Added support for both 8 and 16 bit mode access to System ACE CF |
2231 | through MPU. | 2234 | through MPU. |
2232 | - Fixed missing System ACE CF device during get FAT partition info | 2235 | - Fixed missing System ACE CF device during get FAT partition info |
2233 | in fat_register_device function. | 2236 | in fat_register_device function. |
2234 | - Enabled System ACE CF support on ML300. | 2237 | - Enabled System ACE CF support on ML300. |
2235 | 2238 | ||
2236 | * Patch by Sean Chang, 09 Aug 2004: | 2239 | * Patch by Sean Chang, 09 Aug 2004: |
2237 | Synch defines for saveenv and do_saveenv functions so they get | 2240 | Synch defines for saveenv and do_saveenv functions so they get |
2238 | compiled under the same statement. | 2241 | compiled under the same statement. |
2239 | 2242 | ||
2240 | * Patch by Sean Chang, 09 Aug 2004: | 2243 | * Patch by Sean Chang, 09 Aug 2004: |
2241 | - Added I2C support for ML300. | 2244 | - Added I2C support for ML300. |
2242 | - Added support for ML300 to read out its environment information | 2245 | - Added support for ML300 to read out its environment information |
2243 | stored on the EEPROM. | 2246 | stored on the EEPROM. |
2244 | - Added support to use board specific parameters as part of | 2247 | - Added support to use board specific parameters as part of |
2245 | U-Boot's environment information. | 2248 | U-Boot's environment information. |
2246 | - Updated MLD files to support configuration for new features | 2249 | - Updated MLD files to support configuration for new features |
2247 | above. | 2250 | above. |
2248 | 2251 | ||
2249 | * Patches by Travis Sawyer, 05 Aug 2004: | 2252 | * Patches by Travis Sawyer, 05 Aug 2004: |
2250 | - Remove incorrect bridge settings for eth group 6 | 2253 | - Remove incorrect bridge settings for eth group 6 |
2251 | - Add call to setup bridge in ppc_440x_eth_initialize | 2254 | - Add call to setup bridge in ppc_440x_eth_initialize |
2252 | - Fix ppc_440x_eth_init to reset the phy only if its the | 2255 | - Fix ppc_440x_eth_init to reset the phy only if its the |
2253 | first time through, otherwise, just check the phy for the | 2256 | first time through, otherwise, just check the phy for the |
2254 | autonegotiated speed/duplex. This allows the use of netconsole | 2257 | autonegotiated speed/duplex. This allows the use of netconsole |
2255 | - only print the speed/duplex the first time the phy is reset. | 2258 | - only print the speed/duplex the first time the phy is reset. |
2256 | 2259 | ||
2257 | * Patch by Shlomo Kut, 29 Mar 2004: | 2260 | * Patch by Shlomo Kut, 29 Mar 2004: |
2258 | Add support for MKS Instruments "Quantum" board | 2261 | Add support for MKS Instruments "Quantum" board |
2259 | 2262 | ||
2260 | * Fix build problem with Cogent boards; | 2263 | * Fix build problem with Cogent boards; |
2261 | avoid using <asm/byteorder.h> when using the host compiler | 2264 | avoid using <asm/byteorder.h> when using the host compiler |
2262 | 2265 | ||
2263 | * Patch by Ganapathi C, 04 Aug 2004: | 2266 | * Patch by Ganapathi C, 04 Aug 2004: |
2264 | Fix NFS timeout issue | 2267 | Fix NFS timeout issue |
2265 | 2268 | ||
2266 | * Patch by Yuli Barcohen, 19 Jul 2004: | 2269 | * Patch by Yuli Barcohen, 19 Jul 2004: |
2267 | - Fix host tools building in Cygwin environment | 2270 | - Fix host tools building in Cygwin environment |
2268 | - Fix header files search order for host tools | 2271 | - Fix header files search order for host tools |
2269 | 2272 | ||
2270 | * Patch by Tom Armistead, 19 Jul 2004: | 2273 | * Patch by Tom Armistead, 19 Jul 2004: |
2271 | Fix kgdb.S support for 74xx_75x cpu | 2274 | Fix kgdb.S support for 74xx_75x cpu |
2272 | 2275 | ||
2273 | * Patch by Jon Loeliger, 15 Jul 2004: | 2276 | * Patch by Jon Loeliger, 15 Jul 2004: |
2274 | Fix MPC85xx I2C driver | 2277 | Fix MPC85xx I2C driver |
2275 | 2278 | ||
2276 | * Fix problems with CDROM drive as slave device on Lite5200 IDE bus. | 2279 | * Fix problems with CDROM drive as slave device on Lite5200 IDE bus. |
2277 | 2280 | ||
2278 | * Patch by Stephen Williams, 15 July 2004 | 2281 | * Patch by Stephen Williams, 15 July 2004 |
2279 | Set the PCI class code for JSE board as part of PCI interface setup | 2282 | Set the PCI class code for JSE board as part of PCI interface setup |
2280 | 2283 | ||
2281 | * Patch by Michael Bendzick, 15 Jul 2004: | 2284 | * Patch by Michael Bendzick, 15 Jul 2004: |
2282 | Fix problem with writes with odd sizes in drivers/cfi_flash.c when | 2285 | Fix problem with writes with odd sizes in drivers/cfi_flash.c when |
2283 | CFG_FLASH_USE_BUFFER_WRITE is set | 2286 | CFG_FLASH_USE_BUFFER_WRITE is set |
2284 | 2287 | ||
2285 | * Patch by Yuli Barcohen, 13 Jul 2004: | 2288 | * Patch by Yuli Barcohen, 13 Jul 2004: |
2286 | Allow clock setting on MPC866/MPC885 series chips according to | 2289 | Allow clock setting on MPC866/MPC885 series chips according to |
2287 | environment variable `cpuclk' | 2290 | environment variable `cpuclk' |
2288 | 2291 | ||
2289 | * Patch by Yuli Barcohen, 20 Apr 2004: | 2292 | * Patch by Yuli Barcohen, 20 Apr 2004: |
2290 | Remove unnecessary redefine of CPM_DATAONLY_SIZE for MPC826x | 2293 | Remove unnecessary redefine of CPM_DATAONLY_SIZE for MPC826x |
2291 | 2294 | ||
2292 | * Patch by Vincent Dubey, 24 Sep 2004: | 2295 | * Patch by Vincent Dubey, 24 Sep 2004: |
2293 | Add support for xaeniax board | 2296 | Add support for xaeniax board |
2294 | 2297 | ||
2295 | * Add comment about non-GPL character of standalone applications to | 2298 | * Add comment about non-GPL character of standalone applications to |
2296 | COPYING file | 2299 | COPYING file |
2297 | 2300 | ||
2298 | * Fix FEC ethernet problem on NSCU board. | 2301 | * Fix FEC ethernet problem on NSCU board. |
2299 | 2302 | ||
2300 | * Patch by Gary Jennejohn, 09 Sep 2004: | 2303 | * Patch by Gary Jennejohn, 09 Sep 2004: |
2301 | allow to use USART1 as console port on at91rm9200dk boards | 2304 | allow to use USART1 as console port on at91rm9200dk boards |
2302 | 2305 | ||
2303 | * Patch by Stefan Roese, 16 Sep 2004: | 2306 | * Patch by Stefan Roese, 16 Sep 2004: |
2304 | Update AR405 board. | 2307 | Update AR405 board. |
2305 | 2308 | ||
2306 | * Fix SysClk handling for PPChameleon and CATcenter boards | 2309 | * Fix SysClk handling for PPChameleon and CATcenter boards |
2307 | 2310 | ||
2308 | * Patch by Detlev Zundel, 08 Sep 2004: | 2311 | * Patch by Detlev Zundel, 08 Sep 2004: |
2309 | Update etags build target | 2312 | Update etags build target |
2310 | 2313 | ||
2311 | * Improve NetConsole support: add support for broadcast destination | 2314 | * Improve NetConsole support: add support for broadcast destination |
2312 | address and buffered input. | 2315 | address and buffered input. |
2313 | 2316 | ||
2314 | * Cleanup compiler warnings for GCC 3.3.x and later | 2317 | * Cleanup compiler warnings for GCC 3.3.x and later |
2315 | 2318 | ||
2316 | * Fix problem in cmd_jffs2.c introduced by CFG_JFFS_SINGLE_PART patch | 2319 | * Fix problem in cmd_jffs2.c introduced by CFG_JFFS_SINGLE_PART patch |
2317 | 2320 | ||
2318 | * Add support for IDS "NC650" board | 2321 | * Add support for IDS "NC650" board |
2319 | 2322 | ||
2320 | * Add automatic update support for LWMON board | 2323 | * Add automatic update support for LWMON board |
2321 | 2324 | ||
2322 | * Clear Block Lock-Bits when erasing flash on LWMON board. | 2325 | * Clear Block Lock-Bits when erasing flash on LWMON board. |
2323 | 2326 | ||
2324 | * Fix return code of "fatload" command | 2327 | * Fix return code of "fatload" command |
2325 | 2328 | ||
2326 | * Enable MSDOS/VFAT filesystem support for LWMON board | 2329 | * Enable MSDOS/VFAT filesystem support for LWMON board |
2327 | 2330 | ||
2328 | * Patch by Martin Krause, 03 Aug 2004: | 2331 | * Patch by Martin Krause, 03 Aug 2004: |
2329 | change timing for SM501 graphics controller on TQM5200 module | 2332 | change timing for SM501 graphics controller on TQM5200 module |
2330 | 2333 | ||
2331 | * Patch by Mark Jonas, 13 July 2004: | 2334 | * Patch by Mark Jonas, 13 July 2004: |
2332 | - Total5200 LCD now run in little endian mode. Endianess conversion | 2335 | - Total5200 LCD now run in little endian mode. Endianess conversion |
2333 | is done in hardware. | 2336 | is done in hardware. |
2334 | - Removed last reference to "console" environment variable. | 2337 | - Removed last reference to "console" environment variable. |
2335 | 2338 | ||
2336 | * Patches by Lars Munch, 12 Jul 2004: | 2339 | * Patches by Lars Munch, 12 Jul 2004: |
2337 | - move at45.c to board/at91rm9200dk/ since this is at91rm9200dk | 2340 | - move at45.c to board/at91rm9200dk/ since this is at91rm9200dk |
2338 | board specific | 2341 | board specific |
2339 | - split out the LXT971A PHY from ns_9750_eth.h | 2342 | - split out the LXT971A PHY from ns_9750_eth.h |
2340 | - split the dm9161 phy part out of at91rm9200_ether.c | 2343 | - split the dm9161 phy part out of at91rm9200_ether.c |
2341 | 2344 | ||
2342 | * Patch by Andreas Engel, 12 Jul 2004: | 2345 | * Patch by Andreas Engel, 12 Jul 2004: |
2343 | Replaced hardcoded PL011 clock frequency with config variable. | 2346 | Replaced hardcoded PL011 clock frequency with config variable. |
2344 | Fixed wrong CONFIG_CMD_DFL doc. | 2347 | Fixed wrong CONFIG_CMD_DFL doc. |
2345 | 2348 | ||
2346 | * Patch by Thomas Viehweger, 09 Jun 2004: | 2349 | * Patch by Thomas Viehweger, 09 Jun 2004: |
2347 | make it possible to remove chpart when there is only one partition | 2350 | make it possible to remove chpart when there is only one partition |
2348 | 2351 | ||
2349 | * Add support for console over UDP (compatible to Ingo Molnar's | 2352 | * Add support for console over UDP (compatible to Ingo Molnar's |
2350 | netconsole patch under Linux) | 2353 | netconsole patch under Linux) |
2351 | 2354 | ||
2352 | * Patch by Jon Loeliger, 16 Jul 2004: | 2355 | * Patch by Jon Loeliger, 16 Jul 2004: |
2353 | - support larger DDR memories up to 2G on the PC8540/8560ADS and | 2356 | - support larger DDR memories up to 2G on the PC8540/8560ADS and |
2354 | STXGP3 boards | 2357 | STXGP3 boards |
2355 | - Made MPC8540/8560ADS be 33Mhz PCI by default. | 2358 | - Made MPC8540/8560ADS be 33Mhz PCI by default. |
2356 | - Removed moldy CONFIG_RAM_AS_FLASH, CFG_FLASH_PORT_WIDTH_16 | 2359 | - Removed moldy CONFIG_RAM_AS_FLASH, CFG_FLASH_PORT_WIDTH_16 |
2357 | and CONFIG_L2_INIT_RAM options. | 2360 | and CONFIG_L2_INIT_RAM options. |
2358 | - Refactor Local Bus initialization out of SDRAM setup. | 2361 | - Refactor Local Bus initialization out of SDRAM setup. |
2359 | - Re-implement new version of LBC11/DDR11 errata workarounds. | 2362 | - Re-implement new version of LBC11/DDR11 errata workarounds. |
2360 | - Moved board specific PCI init parts out of CPU directory. | 2363 | - Moved board specific PCI init parts out of CPU directory. |
2361 | - Added TLB entry for PCI-1 IO Memory | 2364 | - Added TLB entry for PCI-1 IO Memory |
2362 | - Updated README.mpc85xxads | 2365 | - Updated README.mpc85xxads |
2363 | 2366 | ||
2364 | * Patch by Sascha Hauer, 28 Jun: | 2367 | * Patch by Sascha Hauer, 28 Jun: |
2365 | - add generic support for Motorola i.MX architecture | 2368 | - add generic support for Motorola i.MX architecture |
2366 | - add support for mx1ads, mx1fs2 and scb9328 boards | 2369 | - add support for mx1ads, mx1fs2 and scb9328 boards |
2367 | 2370 | ||
2368 | * Patches by Marc Leeman, 23 Jul 2004: | 2371 | * Patches by Marc Leeman, 23 Jul 2004: |
2369 | - Add define for the PCI/Memory Buffer Configuration Register | 2372 | - Add define for the PCI/Memory Buffer Configuration Register |
2370 | - corrected comments in cpu/mpc824x/cpu_init.c | 2373 | - corrected comments in cpu/mpc824x/cpu_init.c |
2371 | 2374 | ||
2372 | * Add support for multiple serial interfaces | 2375 | * Add support for multiple serial interfaces |
2373 | (for example to allow modem dial-in / dial-out) | 2376 | (for example to allow modem dial-in / dial-out) |
2374 | 2377 | ||
2375 | * Patch by Stefan Roese, 15 Jul 2004: | 2378 | * Patch by Stefan Roese, 15 Jul 2004: |
2376 | cpu/ppc4xx/sdram.c rewritten now using get_ram_size() | 2379 | cpu/ppc4xx/sdram.c rewritten now using get_ram_size() |
2377 | 2380 | ||
2378 | * Fix NSCU config; add ethernet wakeup code. | 2381 | * Fix NSCU config; add ethernet wakeup code. |
2379 | 2382 | ||
2380 | * Add link for preloader for Motorola ColdFire to README.m68k | 2383 | * Add link for preloader for Motorola ColdFire to README.m68k |
2381 | 2384 | ||
2382 | * Patch by Michael Bendzick, 12 Jul 2004: | 2385 | * Patch by Michael Bendzick, 12 Jul 2004: |
2383 | fix output formatting in drivers/cfi_flash.c | 2386 | fix output formatting in drivers/cfi_flash.c |
2384 | 2387 | ||
2385 | * Patch by Mark Jonas, 02 Jul 2004: | 2388 | * Patch by Mark Jonas, 02 Jul 2004: |
2386 | Fix lowboot (again) on MPC5xxx | 2389 | Fix lowboot (again) on MPC5xxx |
2387 | 2390 | ||
2388 | * Patch by Curt Brune, 07 Jul 2004: | 2391 | * Patch by Curt Brune, 07 Jul 2004: |
2389 | relocate exception vectors on arm720t if needed | 2392 | relocate exception vectors on arm720t if needed |
2390 | 2393 | ||
2391 | * Patch by George G. Davis, 06 Jul 2004: | 2394 | * Patch by George G. Davis, 06 Jul 2004: |
2392 | - update mach-types.h to latest arm.linux.org.uk master list | 2395 | - update mach-types.h to latest arm.linux.org.uk master list |
2393 | - Set correct OMAP1610 bi_arch_number for build target | 2396 | - Set correct OMAP1610 bi_arch_number for build target |
2394 | 2397 | ||
2395 | * Patch by Curt Brune, 06 Jul 2004: | 2398 | * Patch by Curt Brune, 06 Jul 2004: |
2396 | evb4510: add support for timer interrupt; cleanup | 2399 | evb4510: add support for timer interrupt; cleanup |
2397 | 2400 | ||
2398 | * Patch by Dan Poirot, 06 Jul 2004: | 2401 | * Patch by Dan Poirot, 06 Jul 2004: |
2399 | Fix sbc8260 environment variables | 2402 | Fix sbc8260 environment variables |
2400 | 2403 | ||
2401 | * Cleanup redundand "console" environment variable | 2404 | * Cleanup redundand "console" environment variable |
2402 | 2405 | ||
2403 | * Patch by Mark Jonas, 05 Jul 2004: | 2406 | * Patch by Mark Jonas, 05 Jul 2004: |
2404 | add support for the Total5100's and Total5200's LCD screen | 2407 | add support for the Total5100's and Total5200's LCD screen |
2405 | 2408 | ||
2406 | * Patches by Dan Eisenhut, 01 Jul 2004: | 2409 | * Patches by Dan Eisenhut, 01 Jul 2004: |
2407 | - README fixes. | 2410 | - README fixes. |
2408 | - Move doc2000.h include to prevent compiler warning on some boards | 2411 | - Move doc2000.h include to prevent compiler warning on some boards |
2409 | 2412 | ||
2410 | * Patch by Mark Jonas, 01 Jul 2004: | 2413 | * Patch by Mark Jonas, 01 Jul 2004: |
2411 | Added support for Total5100 and Total5200 (Rev.1 and Rev.2) | 2414 | Added support for Total5100 and Total5200 (Rev.1 and Rev.2) |
2412 | MGT5100 and MPC5200 based Freescale platforms. | 2415 | MGT5100 and MPC5200 based Freescale platforms. |
2413 | 2416 | ||
2414 | * Patch by Philippe Robin, 01 Jul 2004: | 2417 | * Patch by Philippe Robin, 01 Jul 2004: |
2415 | Add initialization for Integrator and versatile board files. | 2418 | Add initialization for Integrator and versatile board files. |
2416 | 2419 | ||
2417 | * Patch by Hinko Kocevar, 01 Jun 2004: | 2420 | * Patch by Hinko Kocevar, 01 Jun 2004: |
2418 | Fix VFD FB allocation, add LCD FB allocation on ARM | 2421 | Fix VFD FB allocation, add LCD FB allocation on ARM |
2419 | 2422 | ||
2420 | * Patch by Martin Krause, 30 Jun 2004: | 2423 | * Patch by Martin Krause, 30 Jun 2004: |
2421 | Add support for TQM5200 board | 2424 | Add support for TQM5200 board |
2422 | 2425 | ||
2423 | * Patch by Martin Krause, 29 Jun 2004: | 2426 | * Patch by Martin Krause, 29 Jun 2004: |
2424 | Add loopw command: infinite write loop on address range | 2427 | Add loopw command: infinite write loop on address range |
2425 | 2428 | ||
2426 | * Patches by Yasushi Shoji, 29 Jun 2004: | 2429 | * Patches by Yasushi Shoji, 29 Jun 2004: |
2427 | - add empty include/asm-microblaze/processor.h | 2430 | - add empty include/asm-microblaze/processor.h |
2428 | - add to CREDITS and MAINTAINERS | 2431 | - add to CREDITS and MAINTAINERS |
2429 | - add gd initialization | 2432 | - add gd initialization |
2430 | - add MicroBlaze and SUZAKU board to MAKEALL script | 2433 | - add MicroBlaze and SUZAKU board to MAKEALL script |
2431 | - add reset support for SUZAKU | 2434 | - add reset support for SUZAKU |
2432 | - add flush_cache() for MicroBlaze | 2435 | - add flush_cache() for MicroBlaze |
2433 | - add CFG_FLASH_SIZE to include/configs/suzaku.h since we have fixed | 2436 | - add CFG_FLASH_SIZE to include/configs/suzaku.h since we have fixed |
2434 | size flash memory on SUZAKU | 2437 | size flash memory on SUZAKU |
2435 | 2438 | ||
2436 | * Patch by Prakash Kumar, 27 Jun 2004: | 2439 | * Patch by Prakash Kumar, 27 Jun 2004: |
2437 | Add support for the PXA250 based Intrinsyc Cerf board. | 2440 | Add support for the PXA250 based Intrinsyc Cerf board. |
2438 | 2441 | ||
2439 | * Patch by Yasushi Shoji, 27 Jun 2004: | 2442 | * Patch by Yasushi Shoji, 27 Jun 2004: |
2440 | fix comment in include/common.h | 2443 | fix comment in include/common.h |
2441 | 2444 | ||
2442 | * Rename SBC8560 into sbc8560 for consistency | 2445 | * Rename SBC8560 into sbc8560 for consistency |
2443 | 2446 | ||
2444 | * Patch by Daniel Poirot, 24 Jun 2004: | 2447 | * Patch by Daniel Poirot, 24 Jun 2004: |
2445 | Add support for Wind River's sbc8240 board | 2448 | Add support for Wind River's sbc8240 board |
2446 | 2449 | ||
2447 | * Patches by Yasushi Shoji, 26 Jun 2004: | 2450 | * Patches by Yasushi Shoji, 26 Jun 2004: |
2448 | - drivers/serial_xuartlite.c: fix "return 0" in void function | 2451 | - drivers/serial_xuartlite.c: fix "return 0" in void function |
2449 | - add microblaze support to mkimage tool | 2452 | - add microblaze support to mkimage tool |
2450 | 2453 | ||
2451 | * Patch by Fred Klatt, 25 Jun 2004: | 2454 | * Patch by Fred Klatt, 25 Jun 2004: |
2452 | Add support for WindRiver's sbc8560 board | 2455 | Add support for WindRiver's sbc8560 board |
2453 | 2456 | ||
2454 | * Patch by Nicolas Lacressonniere, 24 Jun 2004 | 2457 | * Patch by Nicolas Lacressonniere, 24 Jun 2004 |
2455 | Small Bugs fixes for "at91rm9200dk" board: | 2458 | Small Bugs fixes for "at91rm9200dk" board: |
2456 | - Timing modifications for SPI DataFlash access | 2459 | - Timing modifications for SPI DataFlash access |
2457 | - Fix NAND flash detection bug | 2460 | - Fix NAND flash detection bug |
2458 | 2461 | ||
2459 | * Patch by Nicolas Lacressonniere, 24 Jun 2004: | 2462 | * Patch by Nicolas Lacressonniere, 24 Jun 2004: |
2460 | Add Support for Flash AT49BV6416 for AT91RM9200DK board | 2463 | Add Support for Flash AT49BV6416 for AT91RM9200DK board |
2461 | 2464 | ||
2462 | * Patch by Jon Loeliger, 17 June 2004: | 2465 | * Patch by Jon Loeliger, 17 June 2004: |
2463 | Completion of the 8540ADS/8560ADS updates: | 2466 | Completion of the 8540ADS/8560ADS updates: |
2464 | Fix some PCI and Rapid I/O memory maps, | 2467 | Fix some PCI and Rapid I/O memory maps, |
2465 | Initialize both TSEC 1 and 2, | 2468 | Initialize both TSEC 1 and 2, |
2466 | Initialize SDRAM | 2469 | Initialize SDRAM |
2467 | Update MAINTAINER for 85xx boards and README.mpc85xxads | 2470 | Update MAINTAINER for 85xx boards and README.mpc85xxads |
2468 | 2471 | ||
2469 | * Patch by Yuli Barcohen, 16 Jun 2004: | 2472 | * Patch by Yuli Barcohen, 16 Jun 2004: |
2470 | Remove obsolete AdderII port which was superseded by unified | 2473 | Remove obsolete AdderII port which was superseded by unified |
2471 | AdderII/Adder87x port | 2474 | AdderII/Adder87x port |
2472 | 2475 | ||
2473 | * Patch by Ladislav Michl, 16 Jun 2004: | 2476 | * Patch by Ladislav Michl, 16 Jun 2004: |
2474 | Fix gcc-3.3.3 warnings for smc91111.c | 2477 | Fix gcc-3.3.3 warnings for smc91111.c |
2475 | 2478 | ||
2476 | * Patch by Stefan Roese, 02 Jul 2004: | 2479 | * Patch by Stefan Roese, 02 Jul 2004: |
2477 | - Fix bug in 405 ethernet driver; allocated data not cleared! | 2480 | - Fix bug in 405 ethernet driver; allocated data not cleared! |
2478 | - Fix problem in 405 i2c driver; don't try to print without console! | 2481 | - Fix problem in 405 i2c driver; don't try to print without console! |
2479 | 2482 | ||
2480 | * Patch by Paul Ruhland, 11 Jun 2004: | 2483 | * Patch by Paul Ruhland, 11 Jun 2004: |
2481 | Remove debug code from 'board/lpd7a40x/flash.c' | 2484 | Remove debug code from 'board/lpd7a40x/flash.c' |
2482 | 2485 | ||
2483 | * Patch by Andrea Marson, 11 Jun 2004: | 2486 | * Patch by Andrea Marson, 11 Jun 2004: |
2484 | Update for PPChameleon board: | 2487 | Update for PPChameleon board: |
2485 | - support for SysClk @ 25MHz | 2488 | - support for SysClk @ 25MHz |
2486 | - support for Silicon Motion SM712 VGA controller | 2489 | - support for Silicon Motion SM712 VGA controller |
2487 | - some clean ups | 2490 | - some clean ups |
2488 | 2491 | ||
2489 | * Patches by Richard Woodruff, 10 Jun 2004: | 2492 | * Patches by Richard Woodruff, 10 Jun 2004: |
2490 | - fix problems with examples/stubs.c for GCC >= 3.4 | 2493 | - fix problems with examples/stubs.c for GCC >= 3.4 |
2491 | - fix problems with gd initialization | 2494 | - fix problems with gd initialization |
2492 | 2495 | ||
2493 | * Patch by Curt Brune, 17 May 2004: | 2496 | * Patch by Curt Brune, 17 May 2004: |
2494 | - Add support for Samsung S3C4510B CPU (ARM7tdmi based SoC) | 2497 | - Add support for Samsung S3C4510B CPU (ARM7tdmi based SoC) |
2495 | - Add support for ESPD-Inc. EVB4510 Board | 2498 | - Add support for ESPD-Inc. EVB4510 Board |
2496 | 2499 | ||
2497 | * Patch by Marc Leeman, 11 May 2004: | 2500 | * Patch by Marc Leeman, 11 May 2004: |
2498 | Fix for MPC8245 - reading PPC Memory from another device with the | 2501 | Fix for MPC8245 - reading PPC Memory from another device with the |
2499 | PPC as PCI target device corrupts data due to interenal hardware | 2502 | PPC as PCI target device corrupts data due to interenal hardware |
2500 | buffering. | 2503 | buffering. |
2501 | 2504 | ||
2502 | * Fix "cls" command when used with splash screen | 2505 | * Fix "cls" command when used with splash screen |
2503 | 2506 | ||
2504 | * Increase NFS download timeout (now 1 min - 10 sec is to short for a | 2507 | * Increase NFS download timeout (now 1 min - 10 sec is to short for a |
2505 | slow download of a big image) | 2508 | slow download of a big image) |
2506 | 2509 | ||
2507 | * Add "cls" function to MPC823 LCD driver so we can reinitialize the | 2510 | * Add "cls" function to MPC823 LCD driver so we can reinitialize the |
2508 | display even after showing a bitmap | 2511 | display even after showing a bitmap |
2509 | 2512 | ||
2510 | * Patch by Josef Wagner, 04 Jun 2004: | 2513 | * Patch by Josef Wagner, 04 Jun 2004: |
2511 | - DDR Ram support for PM520 (MPC5200) | 2514 | - DDR Ram support for PM520 (MPC5200) |
2512 | - support for different flash types (PM520) | 2515 | - support for different flash types (PM520) |
2513 | - USB / IDE / CF-Card / DiskOnChip support for PM520 | 2516 | - USB / IDE / CF-Card / DiskOnChip support for PM520 |
2514 | - 8 bit boot rom support for PM520/CE520 | 2517 | - 8 bit boot rom support for PM520/CE520 |
2515 | - Add auto SDRAM module detection for MicroSys CPC45 board (MPC8245) | 2518 | - Add auto SDRAM module detection for MicroSys CPC45 board (MPC8245) |
2516 | - I2C and RTC support for CPC45 | 2519 | - I2C and RTC support for CPC45 |
2517 | - support of new flash type (28F160C3T) for CPC45 | 2520 | - support of new flash type (28F160C3T) for CPC45 |
2518 | 2521 | ||
2519 | * Fix flash parameters passed to Linux for PPChameleon board | 2522 | * Fix flash parameters passed to Linux for PPChameleon board |
2520 | 2523 | ||
2521 | * Remove eth_init() from lib_arm/board.c; it's done in net.net.c. | 2524 | * Remove eth_init() from lib_arm/board.c; it's done in net.net.c. |
2522 | 2525 | ||
2523 | * Patch by Paul Ruhland, 10 Jun 2004: | 2526 | * Patch by Paul Ruhland, 10 Jun 2004: |
2524 | fix support for Logic SDK-LH7A404 board and clean up the | 2527 | fix support for Logic SDK-LH7A404 board and clean up the |
2525 | LH7A404 register macros. | 2528 | LH7A404 register macros. |
2526 | 2529 | ||
2527 | * Patch by Matthew McClintock, 10 Jun 2004: | 2530 | * Patch by Matthew McClintock, 10 Jun 2004: |
2528 | Modify code to select correct serial clock on Sandpoint8245 | 2531 | Modify code to select correct serial clock on Sandpoint8245 |
2529 | 2532 | ||
2530 | * Patch by Robert Schwebel, 10 Jun 2004: | 2533 | * Patch by Robert Schwebel, 10 Jun 2004: |
2531 | Add support for Intel K3 strata flash. | 2534 | Add support for Intel K3 strata flash. |
2532 | 2535 | ||
2533 | * Patch by Thomas Brand, 10 Jun 2004: | 2536 | * Patch by Thomas Brand, 10 Jun 2004: |
2534 | Fix "loads" command on DK1S10 board | 2537 | Fix "loads" command on DK1S10 board |
2535 | 2538 | ||
2536 | * Patch by Yuli Barcohen, 09 Jun 2004: | 2539 | * Patch by Yuli Barcohen, 09 Jun 2004: |
2537 | Add support for 8MB flash SIMM and JFFS2 file system on | 2540 | Add support for 8MB flash SIMM and JFFS2 file system on |
2538 | Motorola FADS board and its derivatives (MPC86xADS, MPC885ADS). | 2541 | Motorola FADS board and its derivatives (MPC86xADS, MPC885ADS). |
2539 | 2542 | ||
2540 | * Patch by Yuli Barcohen, 09 Jun 2004: | 2543 | * Patch by Yuli Barcohen, 09 Jun 2004: |
2541 | Add support for Analogue&Micro Adder87x and the older AdderII board. | 2544 | Add support for Analogue&Micro Adder87x and the older AdderII board. |
2542 | 2545 | ||
2543 | * Patch by Ming-Len Wu, 09 Jun 2004: | 2546 | * Patch by Ming-Len Wu, 09 Jun 2004: |
2544 | Add suppport for MC9328 (Dargonball) CPU and Motorola MX1ADS board | 2547 | Add suppport for MC9328 (Dargonball) CPU and Motorola MX1ADS board |
2545 | 2548 | ||
2546 | * Patch by Sam Song, 09 Jun 2004: | 2549 | * Patch by Sam Song, 09 Jun 2004: |
2547 | - Add support for RPXlite_DW board | 2550 | - Add support for RPXlite_DW board |
2548 | - Update FLASH driver for 4*AM29DL323DB90VI | 2551 | - Update FLASH driver for 4*AM29DL323DB90VI |
2549 | - Add option configuration of CFG_ENV_IS_IN_NVRAM on RPXlite_DW board | 2552 | - Add option configuration of CFG_ENV_IS_IN_NVRAM on RPXlite_DW board |
2550 | 2553 | ||
2551 | * Patch by Mark Jonas, 08 June 2004: | 2554 | * Patch by Mark Jonas, 08 June 2004: |
2552 | - Make MPC5200 boards evaluate the SVR to print processor name and | 2555 | - Make MPC5200 boards evaluate the SVR to print processor name and |
2553 | version in checkcpu() (cpu/mpc5xxx/cpu.c). | 2556 | version in checkcpu() (cpu/mpc5xxx/cpu.c). |
2554 | 2557 | ||
2555 | * Patch by Kai-Uwe Bloem, 06 May 2004: | 2558 | * Patch by Kai-Uwe Bloem, 06 May 2004: |
2556 | Fix endianess problem in cramfs code | 2559 | Fix endianess problem in cramfs code |
2557 | 2560 | ||
2558 | * Patch by Tom Armistead, 04 Jun 2004: | 2561 | * Patch by Tom Armistead, 04 Jun 2004: |
2559 | Add support for MAX6900 RTC | 2562 | Add support for MAX6900 RTC |
2560 | 2563 | ||
2561 | * Patches by Ladislav Michl, 03 Jun 2004: | 2564 | * Patches by Ladislav Michl, 03 Jun 2004: |
2562 | - fix cfi_flash.c on LE systems | 2565 | - fix cfi_flash.c on LE systems |
2563 | - let 'make mrproper' delete u-boot.img as well | 2566 | - let 'make mrproper' delete u-boot.img as well |
2564 | - turn printf into debug in cfi_flash.c | 2567 | - turn printf into debug in cfi_flash.c |
2565 | 2568 | ||
2566 | * Patch by Kurt Stremerch, 28 May 2004: | 2569 | * Patch by Kurt Stremerch, 28 May 2004: |
2567 | Add support for Exys XSEngine board | 2570 | Add support for Exys XSEngine board |
2568 | 2571 | ||
2569 | * Patch by Martin Krause, 27 May 2004: | 2572 | * Patch by Martin Krause, 27 May 2004: |
2570 | Fix a MPC5xxx I2C timing issue in i2c_probe(). | 2573 | Fix a MPC5xxx I2C timing issue in i2c_probe(). |
2571 | 2574 | ||
2572 | * Patch by Leif Lindholm, 27 May 2004: | 2575 | * Patch by Leif Lindholm, 27 May 2004: |
2573 | Fix board_init_f() for dbau1x00 board. | 2576 | Fix board_init_f() for dbau1x00 board. |
2574 | 2577 | ||
2575 | * Patch by Imre Deak, 26 May 2004: | 2578 | * Patch by Imre Deak, 26 May 2004: |
2576 | On OMAP1610 platforms check if booting from RAM(CS0) or flash(CS3). | 2579 | On OMAP1610 platforms check if booting from RAM(CS0) or flash(CS3). |
2577 | Set flash base accordingly, and decide whether to do or skip board | 2580 | Set flash base accordingly, and decide whether to do or skip board |
2578 | specific setup steps. | 2581 | specific setup steps. |
2579 | 2582 | ||
2580 | * Patch by Josef Baumgartner, 26 May 2004: | 2583 | * Patch by Josef Baumgartner, 26 May 2004: |
2581 | Add missing define in include/asm-m68k/global_data.h | 2584 | Add missing define in include/asm-m68k/global_data.h |
2582 | 2585 | ||
2583 | * Patch by Josef Baumgartner, 25 May 2004: | 2586 | * Patch by Josef Baumgartner, 25 May 2004: |
2584 | Add missing functions get_ticks() and get_tbclk() in lib_m68k/time.c | 2587 | Add missing functions get_ticks() and get_tbclk() in lib_m68k/time.c |
2585 | 2588 | ||
2586 | * Patch by Paul Ruhland, 24 May 2004: | 2589 | * Patch by Paul Ruhland, 24 May 2004: |
2587 | fix SDRAM initialization for LPD7A400 board. | 2590 | fix SDRAM initialization for LPD7A400 board. |
2588 | 2591 | ||
2589 | * Patch by Jian Zhang, 20 May 2004: | 2592 | * Patch by Jian Zhang, 20 May 2004: |
2590 | add support for environment in NAND flash | 2593 | add support for environment in NAND flash |
2591 | 2594 | ||
2592 | * Patch by Yuli Barcohen, 20 May 2004: | 2595 | * Patch by Yuli Barcohen, 20 May 2004: |
2593 | Add support for Interphase iSPAN boards. | 2596 | Add support for Interphase iSPAN boards. |
2594 | 2597 | ||
2595 | * Patches by Paul Ruhland, 17 May 2004: | 2598 | * Patches by Paul Ruhland, 17 May 2004: |
2596 | - Add I/O functions to the smc91111 ethernet driver to support the | 2599 | - Add I/O functions to the smc91111 ethernet driver to support the |
2597 | Logic LPD7A40x boards. | 2600 | Logic LPD7A40x boards. |
2598 | - Add support for the Logic Zoom LH7A40x based SDK board(s), | 2601 | - Add support for the Logic Zoom LH7A40x based SDK board(s), |
2599 | specifically the LPD7A400. | 2602 | specifically the LPD7A400. |
2600 | 2603 | ||
2601 | * Patches by Robert Schwebel, 15 May 2004: | 2604 | * Patches by Robert Schwebel, 15 May 2004: |
2602 | - call MAC address reading code also for SMSC91C111; | 2605 | - call MAC address reading code also for SMSC91C111; |
2603 | - make SMSC91C111 timeout configurable, remove duplicate code | 2606 | - make SMSC91C111 timeout configurable, remove duplicate code |
2604 | - fix get_timer() for PXA | 2607 | - fix get_timer() for PXA |
2605 | - update doc/README.JFFS2 | 2608 | - update doc/README.JFFS2 |
2606 | - use "bootfile" env variable also for jffs2 | 2609 | - use "bootfile" env variable also for jffs2 |
2607 | 2610 | ||
2608 | * Patch by Tolunay Orkun, 14 May 2004: | 2611 | * Patch by Tolunay Orkun, 14 May 2004: |
2609 | Add support for Cogent CSB472 board (8MB Flash Rev) | 2612 | Add support for Cogent CSB472 board (8MB Flash Rev) |
2610 | 2613 | ||
2611 | * Patch by Thomas Viehweger, 14 May 2004: | 2614 | * Patch by Thomas Viehweger, 14 May 2004: |
2612 | - flash.h: more flash types added | 2615 | - flash.h: more flash types added |
2613 | - immap_8260.h: some bits added (useful for RMII) | 2616 | - immap_8260.h: some bits added (useful for RMII) |
2614 | - cmd_coninfo.c: typo corrected, printf -> puts | 2617 | - cmd_coninfo.c: typo corrected, printf -> puts |
2615 | - reduced size by replacing spaces with tab | 2618 | - reduced size by replacing spaces with tab |
2616 | 2619 | ||
2617 | * Patch by Robert Schwebel, 13 May 2004: | 2620 | * Patch by Robert Schwebel, 13 May 2004: |
2618 | Add 'imgextract' command: extract one part of a multi file image. | 2621 | Add 'imgextract' command: extract one part of a multi file image. |
2619 | 2622 | ||
2620 | * Patches by Jon Loeliger, 11 May 2004: | 2623 | * Patches by Jon Loeliger, 11 May 2004: |
2621 | Dynamically handle REV1 and REV2 MPC85xx parts. | 2624 | Dynamically handle REV1 and REV2 MPC85xx parts. |
2622 | (Jon Loeliger, 10-May-2004). | 2625 | (Jon Loeliger, 10-May-2004). |
2623 | New consistent memory map and Local Access Window across MPC85xx line. | 2626 | New consistent memory map and Local Access Window across MPC85xx line. |
2624 | New CCSRBAR at 0xE000_0000 now. | 2627 | New CCSRBAR at 0xE000_0000 now. |
2625 | Add RAPID I/O memory map. | 2628 | Add RAPID I/O memory map. |
2626 | New memory map in README.MPC85xxads | 2629 | New memory map in README.MPC85xxads |
2627 | (Kumar Gala, 10-May-2004) | 2630 | (Kumar Gala, 10-May-2004) |
2628 | Better board and CPU identification on MPC85xx boards at boot. | 2631 | Better board and CPU identification on MPC85xx boards at boot. |
2629 | (Jon Loeliger, 10-May-2004) | 2632 | (Jon Loeliger, 10-May-2004) |
2630 | SDRAM clock control fixes on MPC8540ADS & MPC8560 boards. | 2633 | SDRAM clock control fixes on MPC8540ADS & MPC8560 boards. |
2631 | Some configuration options for MPC8540ADS & MPC8560ADS cleaned up. | 2634 | Some configuration options for MPC8540ADS & MPC8560ADS cleaned up. |
2632 | (Jim Robertson, 10-May-2004) | 2635 | (Jim Robertson, 10-May-2004) |
2633 | Rewrite of the MPC85xx Three Speed Ethernet Controller (TSEC) driver. | 2636 | Rewrite of the MPC85xx Three Speed Ethernet Controller (TSEC) driver. |
2634 | Supports multiple PHYs. | 2637 | Supports multiple PHYs. |
2635 | (Andy Fleming, 10-May-2004) | 2638 | (Andy Fleming, 10-May-2004) |
2636 | Some README.MPC85xxads updates. | 2639 | Some README.MPC85xxads updates. |
2637 | (Kumar Gala, 10-May-2004) | 2640 | (Kumar Gala, 10-May-2004) |
2638 | Copyright updates for "Freescale" | 2641 | Copyright updates for "Freescale" |
2639 | (Andy Fleming, 10-May-2004) | 2642 | (Andy Fleming, 10-May-2004) |
2640 | 2643 | ||
2641 | * Patch by Stephen Williams, 11 May 2004: | 2644 | * Patch by Stephen Williams, 11 May 2004: |
2642 | Add flash support for ST M29W040B | 2645 | Add flash support for ST M29W040B |
2643 | Reduce JSE specific flash.c to remove dead code. | 2646 | Reduce JSE specific flash.c to remove dead code. |
2644 | 2647 | ||
2645 | * Patch by Markus Pietrek, 04 May 2004: | 2648 | * Patch by Markus Pietrek, 04 May 2004: |
2646 | Fix clear_bss code for ARM systems (all except s3c44b0 which | 2649 | Fix clear_bss code for ARM systems (all except s3c44b0 which |
2647 | doesn't clear BSS at all?) | 2650 | doesn't clear BSS at all?) |
2648 | 2651 | ||
2649 | * Fix "ping" problem on INC-IP board. Strange problem: | 2652 | * Fix "ping" problem on INC-IP board. Strange problem: |
2650 | Sometimes the store word instruction hangs while writing to one of | 2653 | Sometimes the store word instruction hangs while writing to one of |
2651 | the Switch registers, but only if the next instruction is 16-byte | 2654 | the Switch registers, but only if the next instruction is 16-byte |
2652 | aligned. Moving the instruction into a separate function somehow | 2655 | aligned. Moving the instruction into a separate function somehow |
2653 | makes the problem go away. | 2656 | makes the problem go away. |
2654 | 2657 | ||
2655 | * Patch by Rishi Bhattacharya, 08 May 2004: | 2658 | * Patch by Rishi Bhattacharya, 08 May 2004: |
2656 | Add support for TI OMAP5912 OSK Board | 2659 | Add support for TI OMAP5912 OSK Board |
2657 | 2660 | ||
2658 | * Patch by Sam Song May, 07 May 2004: | 2661 | * Patch by Sam Song May, 07 May 2004: |
2659 | Fix typo of UPM table for rmu board | 2662 | Fix typo of UPM table for rmu board |
2660 | 2663 | ||
2661 | * Patch by Pantelis Antoniou, 05 May 2004: | 2664 | * Patch by Pantelis Antoniou, 05 May 2004: |
2662 | - Intracom board update. | 2665 | - Intracom board update. |
2663 | - Add Codec POST. | 2666 | - Add Codec POST. |
2664 | 2667 | ||
2665 | * Add support for the second Ethernet interface for the 'PPChameleon' | 2668 | * Add support for the second Ethernet interface for the 'PPChameleon' |
2666 | board. | 2669 | board. |
2667 | 2670 | ||
2668 | * Patch by Dave Peverley, 30 Apr 2004: | 2671 | * Patch by Dave Peverley, 30 Apr 2004: |
2669 | Add support for OMAP730 Perseus2 Development board | 2672 | Add support for OMAP730 Perseus2 Development board |
2670 | 2673 | ||
2671 | * Patch by Alan J. Luse, 29 Apr 2004: | 2674 | * Patch by Alan J. Luse, 29 Apr 2004: |
2672 | Fix flash chip-select (OR0) option register setting on FADS boards. | 2675 | Fix flash chip-select (OR0) option register setting on FADS boards. |
2673 | 2676 | ||
2674 | * Patch by Alan J. Luse, 29 Apr 2004: | 2677 | * Patch by Alan J. Luse, 29 Apr 2004: |
2675 | Report MII network speed and duplex setting properly when | 2678 | Report MII network speed and duplex setting properly when |
2676 | auto-negotiate is not enabled. | 2679 | auto-negotiate is not enabled. |
2677 | 2680 | ||
2678 | * Patch by Jarrett Redd, 29 Apr 2004: | 2681 | * Patch by Jarrett Redd, 29 Apr 2004: |
2679 | Fix hang on reset on Ocotea board due to flash in wrong mode. | 2682 | Fix hang on reset on Ocotea board due to flash in wrong mode. |
2680 | 2683 | ||
2681 | * Patch by Dave Peverley, 29 Apr 2004: | 2684 | * Patch by Dave Peverley, 29 Apr 2004: |
2682 | add MAC address detection to smc91111 driver | 2685 | add MAC address detection to smc91111 driver |
2683 | 2686 | ||
2684 | * Patch by David Mรผller, 28 Apr 2004: | 2687 | * Patch by David Mรผller, 28 Apr 2004: |
2685 | fix typo in lib_arm/board.c | 2688 | fix typo in lib_arm/board.c |
2686 | 2689 | ||
2687 | * Patch by Tolunay Orkun, 20 Apr 2004: | 2690 | * Patch by Tolunay Orkun, 20 Apr 2004: |
2688 | - README update: add CONFIG_CSB272 and csb272_config | 2691 | - README update: add CONFIG_CSB272 and csb272_config |
2689 | - add descriptions for some MII/PHY options, CONFIG_I2CFAST, and | 2692 | - add descriptions for some MII/PHY options, CONFIG_I2CFAST, and |
2690 | i2cfast environment variable | 2693 | i2cfast environment variable |
2691 | 2694 | ||
2692 | * Patch by Yuli Barcohen, 19 Apr 2004: | 2695 | * Patch by Yuli Barcohen, 19 Apr 2004: |
2693 | - Rename DUET_ADS to MPC885ADS | 2696 | - Rename DUET_ADS to MPC885ADS |
2694 | - Rename CONFIG_DUET to CONFIG_MPC885_FAMILY | 2697 | - Rename CONFIG_DUET to CONFIG_MPC885_FAMILY |
2695 | - Rename CONFIG_866_et_al to CONFIG_MPC866_FAMILY | 2698 | - Rename CONFIG_866_et_al to CONFIG_MPC866_FAMILY |
2696 | - Clean up FADS family port to use the new defines | 2699 | - Clean up FADS family port to use the new defines |
2697 | 2700 | ||
2698 | * Fix PCI support on CPC45 board | 2701 | * Fix PCI support on CPC45 board |
2699 | 2702 | ||
2700 | * Patch by Scott McNutt, 25 Apr 2004: | 2703 | * Patch by Scott McNutt, 25 Apr 2004: |
2701 | Add Nios GDB/JTAG Console support: | 2704 | Add Nios GDB/JTAG Console support: |
2702 | - Add stubs to support gdb via JTAG. | 2705 | - Add stubs to support gdb via JTAG. |
2703 | - Add support for console over JTAG. | 2706 | - Add support for console over JTAG. |
2704 | - Minor cleanup. | 2707 | - Minor cleanup. |
2705 | 2708 | ||
2706 | * Add support for CATcenter board (based on PPChameleon ME module) | 2709 | * Add support for CATcenter board (based on PPChameleon ME module) |
2707 | 2710 | ||
2708 | * Patch by Klaus Heydeck, 12 May 2004: | 2711 | * Patch by Klaus Heydeck, 12 May 2004: |
2709 | Using external watchdog for KUP4 boards in mpc8xx/cpu.c; | 2712 | Using external watchdog for KUP4 boards in mpc8xx/cpu.c; |
2710 | load_sernum_ethaddr() for KUP4 boards in lib_ppc/board.c; | 2713 | load_sernum_ethaddr() for KUP4 boards in lib_ppc/board.c; |
2711 | various changes to KUP4 board specific files | 2714 | various changes to KUP4 board specific files |
2712 | 2715 | ||
2713 | * Fix minor network problem on MPC5200: need some delay between | 2716 | * Fix minor network problem on MPC5200: need some delay between |
2714 | resetting the PHY and sending the first packet. Implemented in a | 2717 | resetting the PHY and sending the first packet. Implemented in a |
2715 | "natural" way by invoking the PHY reset and initialization code | 2718 | "natural" way by invoking the PHY reset and initialization code |
2716 | only once after power on vs. each time the interface is brought up. | 2719 | only once after power on vs. each time the interface is brought up. |
2717 | 2720 | ||
2718 | * Add some limited support for low-speed devices to SL811 USB controller | 2721 | * Add some limited support for low-speed devices to SL811 USB controller |
2719 | (at least "usb reset" now passes successfully and "usb info" displays | 2722 | (at least "usb reset" now passes successfully and "usb info" displays |
2720 | correct information) | 2723 | correct information) |
2721 | 2724 | ||
2722 | * Change init sequence for multiple network interfaces: initialize | 2725 | * Change init sequence for multiple network interfaces: initialize |
2723 | on-chip interfaces before external cards. | 2726 | on-chip interfaces before external cards. |
2724 | 2727 | ||
2725 | * Fix memory leak in the NAND-specific JFFS2 code | 2728 | * Fix memory leak in the NAND-specific JFFS2 code |
2726 | 2729 | ||
2727 | * Fix SL811 USB controller when attached to a USB hub | 2730 | * Fix SL811 USB controller when attached to a USB hub |
2728 | 2731 | ||
2729 | * Fix config option spelling in PM520 config file | 2732 | * Fix config option spelling in PM520 config file |
2730 | 2733 | ||
2731 | * Fix PHY discovery problem in cpu/mpc8xx/fec.c (introduced by | 2734 | * Fix PHY discovery problem in cpu/mpc8xx/fec.c (introduced by |
2732 | patches by Pantelis Antoniou, 30 Mar 2004) | 2735 | patches by Pantelis Antoniou, 30 Mar 2004) |
2733 | 2736 | ||
2734 | * Fix minor NAND JFFS2 related issue | 2737 | * Fix minor NAND JFFS2 related issue |
2735 | 2738 | ||
2736 | * Fixes for SL811 USB controller: | 2739 | * Fixes for SL811 USB controller: |
2737 | - implement workaround for broken memory stick | 2740 | - implement workaround for broken memory stick |
2738 | - improve error handling | 2741 | - improve error handling |
2739 | 2742 | ||
2740 | * Increase packet send timeout to 1 ms in cpu/mpc8xx/scc.c to better | 2743 | * Increase packet send timeout to 1 ms in cpu/mpc8xx/scc.c to better |
2741 | cope with congested networks. | 2744 | cope with congested networks. |
2742 | 2745 | ||
2743 | ====================================================================== | 2746 | ====================================================================== |
2744 | Changes for U-Boot 1.1.1: | 2747 | Changes for U-Boot 1.1.1: |
2745 | ====================================================================== | 2748 | ====================================================================== |
2746 | 2749 | ||
2747 | * Patch by Travis Sawyer, 23 Apr 2004: | 2750 | * Patch by Travis Sawyer, 23 Apr 2004: |
2748 | Fix VSC/CIS 8201 phy descrambler interoperability timing due to | 2751 | Fix VSC/CIS 8201 phy descrambler interoperability timing due to |
2749 | errata from Vitesse Semiconductor. | 2752 | errata from Vitesse Semiconductor. |
2750 | 2753 | ||
2751 | * Patch by Philippe Robin, 22 Apr 2004: | 2754 | * Patch by Philippe Robin, 22 Apr 2004: |
2752 | Fix ethernet configuration for "versatile" board | 2755 | Fix ethernet configuration for "versatile" board |
2753 | 2756 | ||
2754 | * Patch by Kshitij Gupta, 21 Apr 2004: | 2757 | * Patch by Kshitij Gupta, 21 Apr 2004: |
2755 | Remove busy loop and use MPU timer fr usleep() on OMAP1510/1610 boards | 2758 | Remove busy loop and use MPU timer fr usleep() on OMAP1510/1610 boards |
2756 | 2759 | ||
2757 | * Patch by Steven Scholz, 24 Feb 2004: | 2760 | * Patch by Steven Scholz, 24 Feb 2004: |
2758 | Fix a bug in AT91RM9200 ethernet driver: | 2761 | Fix a bug in AT91RM9200 ethernet driver: |
2759 | The MII interface is now initialized before accessing the PHY. | 2762 | The MII interface is now initialized before accessing the PHY. |
2760 | 2763 | ||
2761 | * Patch by John Kerl, 19 Apr 2004: | 2764 | * Patch by John Kerl, 19 Apr 2004: |
2762 | Use U-boot's miiphy.h for PHY register names, rather than | 2765 | Use U-boot's miiphy.h for PHY register names, rather than |
2763 | introducing a new header file. | 2766 | introducing a new header file. |
2764 | 2767 | ||
2765 | * Update pci_ids.h from linux-2.4.26 | 2768 | * Update pci_ids.h from linux-2.4.26 |
2766 | 2769 | ||
2767 | * Patch by Masami Komiya, 19 Apr 2004: | 2770 | * Patch by Masami Komiya, 19 Apr 2004: |
2768 | Fix problem cause by VLAN function on little endian architecture | 2771 | Fix problem cause by VLAN function on little endian architecture |
2769 | without VLAN environment | 2772 | without VLAN environment |
2770 | 2773 | ||
2771 | * Clean up the TQM8xx_YYMHz configurations; allow to use the same | 2774 | * Clean up the TQM8xx_YYMHz configurations; allow to use the same |
2772 | binary image for all clock frequencies. Implement run-time | 2775 | binary image for all clock frequencies. Implement run-time |
2773 | optimization of flash access timing based on the actual bus | 2776 | optimization of flash access timing based on the actual bus |
2774 | frequency. | 2777 | frequency. |
2775 | 2778 | ||
2776 | * Modify KUP4X board configuration to use SL811 driver for USB memory | 2779 | * Modify KUP4X board configuration to use SL811 driver for USB memory |
2777 | sticks (including FAT / VFAT filesystem support) | 2780 | sticks (including FAT / VFAT filesystem support) |
2778 | 2781 | ||
2779 | * Add SL811 Host Controller Interface driver for USB | 2782 | * Add SL811 Host Controller Interface driver for USB |
2780 | 2783 | ||
2781 | * Add CFG_I2C_EEPROM_ADDR_OVERFLOW desription to README | 2784 | * Add CFG_I2C_EEPROM_ADDR_OVERFLOW desription to README |
2782 | 2785 | ||
2783 | * Patch by Pantelis Antoniou, 19 Apr 2004: | 2786 | * Patch by Pantelis Antoniou, 19 Apr 2004: |
2784 | Allow to use shell style syntax (i. e. ${var} ) with standard parser. | 2787 | Allow to use shell style syntax (i. e. ${var} ) with standard parser. |
2785 | Minor patches for Intracom boards. | 2788 | Minor patches for Intracom boards. |
2786 | 2789 | ||
2787 | * Patch by Christian Pell, 19 Apr 2004: | 2790 | * Patch by Christian Pell, 19 Apr 2004: |
2788 | cleanup support for CF/IDE on PCMCIA for PXA25X | 2791 | cleanup support for CF/IDE on PCMCIA for PXA25X |
2789 | 2792 | ||
2790 | * Temporarily disabled John Kerl's extended MII command code because | 2793 | * Temporarily disabled John Kerl's extended MII command code because |
2791 | "miivals.h" is missing | 2794 | "miivals.h" is missing |
2792 | 2795 | ||
2793 | * Patches by Mark Jonas, 13 Apr 2004: | 2796 | * Patches by Mark Jonas, 13 Apr 2004: |
2794 | - Remove CS0 chip select timing setting from cpu/mpc5xxx/start.S | 2797 | - Remove CS0 chip select timing setting from cpu/mpc5xxx/start.S |
2795 | - Add sync instructions to IceCube SDRAM init code | 2798 | - Add sync instructions to IceCube SDRAM init code |
2796 | - Move SDRAM chip constants into seperate include files | 2799 | - Move SDRAM chip constants into seperate include files |
2797 | - Unify DDR and SDR initialization code | 2800 | - Unify DDR and SDR initialization code |
2798 | - Unify all IceCube (Lite5xxx) target names | 2801 | - Unify all IceCube (Lite5xxx) target names |
2799 | 2802 | ||
2800 | * Patch by John Kerl, 16 Apr 2004: | 2803 | * Patch by John Kerl, 16 Apr 2004: |
2801 | Enable ranges in mii command, e.g. mii read 0-1f 0 or | 2804 | Enable ranges in mii command, e.g. mii read 0-1f 0 or |
2802 | mii read 4-7 18-1a. Also add mii dump subcommand for | 2805 | mii read 4-7 18-1a. Also add mii dump subcommand for |
2803 | pretty-printing standard regs 0-5. | 2806 | pretty-printing standard regs 0-5. |
2804 | 2807 | ||
2805 | * Patch by Stephen Williams, 16 April 2004: | 2808 | * Patch by Stephen Williams, 16 April 2004: |
2806 | fix typo in JSE.h; update MAINTAINERS | 2809 | fix typo in JSE.h; update MAINTAINERS |
2807 | 2810 | ||
2808 | * Patch by Matthew S. McClintock, 14 Apr 2004: | 2811 | * Patch by Matthew S. McClintock, 14 Apr 2004: |
2809 | fix initdram function for utx8245 board | 2812 | fix initdram function for utx8245 board |
2810 | 2813 | ||
2811 | * Patch by Markus Pietrek, 14 Apr 2004: | 2814 | * Patch by Markus Pietrek, 14 Apr 2004: |
2812 | use ATAG_INITRD2 instead of deprecated ATAG_INITRD tag | 2815 | use ATAG_INITRD2 instead of deprecated ATAG_INITRD tag |
2813 | 2816 | ||
2814 | * Patch by Reinhard Meyer, 18 Apr 2004: | 2817 | * Patch by Reinhard Meyer, 18 Apr 2004: |
2815 | provide the IDE Reset Function for EMK 5200 boards | 2818 | provide the IDE Reset Function for EMK 5200 boards |
2816 | 2819 | ||
2817 | * Patch by Masami Komiya, 12 Apr 2004: | 2820 | * Patch by Masami Komiya, 12 Apr 2004: |
2818 | fix pci_hose_write_config_{byte,word}_via_dword problems | 2821 | fix pci_hose_write_config_{byte,word}_via_dword problems |
2819 | 2822 | ||
2820 | * Patch by Sangmoon Kim, 12 Apr 2004: | 2823 | * Patch by Sangmoon Kim, 12 Apr 2004: |
2821 | Update max RAM size for debris board | 2824 | Update max RAM size for debris board |
2822 | 2825 | ||
2823 | * Patch by Travis Sawyer, 08 Apr 2004: | 2826 | * Patch by Travis Sawyer, 08 Apr 2004: |
2824 | Add TLB entry for second DIMM slot on ocotea | 2827 | Add TLB entry for second DIMM slot on ocotea |
2825 | 2828 | ||
2826 | * Patch by Masami Komiya, 08 Apr 2004: | 2829 | * Patch by Masami Komiya, 08 Apr 2004: |
2827 | add RTL8169 network driver | 2830 | add RTL8169 network driver |
2828 | 2831 | ||
2829 | * Patch by Dan Malek, 07 Apr 2004: | 2832 | * Patch by Dan Malek, 07 Apr 2004: |
2830 | - Add support for RPC/STx GP3, Motorola 8560 board | 2833 | - Add support for RPC/STx GP3, Motorola 8560 board |
2831 | - Update 85xx TSEC driver so it searches MII for first available PHY | 2834 | - Update 85xx TSEC driver so it searches MII for first available PHY |
2832 | and uses that one. | 2835 | and uses that one. |
2833 | - Add functions to support console MII commands. | 2836 | - Add functions to support console MII commands. |
2834 | 2837 | ||
2835 | * Patch by Tolunay Orkun, 07 Apr 2004: | 2838 | * Patch by Tolunay Orkun, 07 Apr 2004: |
2836 | Move initialization of bi_iic_fast[] | 2839 | Move initialization of bi_iic_fast[] |
2837 | from board_init_f() to board_init_r() | 2840 | from board_init_f() to board_init_r() |
2838 | 2841 | ||
2839 | * Patch by Yasushi Shoji, 07 Apr 2004: | 2842 | * Patch by Yasushi Shoji, 07 Apr 2004: |
2840 | Cleanup microblaze port | 2843 | Cleanup microblaze port |
2841 | 2844 | ||
2842 | * Patch by Sangmoon Kim, 07 Apr 2004: | 2845 | * Patch by Sangmoon Kim, 07 Apr 2004: |
2843 | Add auto SDRAM module detection for Debris board | 2846 | Add auto SDRAM module detection for Debris board |
2844 | 2847 | ||
2845 | * Patch by Rune Torgersen, 06 Apr 2004: | 2848 | * Patch by Rune Torgersen, 06 Apr 2004: |
2846 | - Fix some PCI problems on the MPC8266ADS board | 2849 | - Fix some PCI problems on the MPC8266ADS board |
2847 | - Fix the location of some PCI entries in the immap structure | 2850 | - Fix the location of some PCI entries in the immap structure |
2848 | 2851 | ||
2849 | * Patch by Yasushi Shoji, 07 Apr 2004: | 2852 | * Patch by Yasushi Shoji, 07 Apr 2004: |
2850 | - add support for microblaze processors | 2853 | - add support for microblaze processors |
2851 | - add support for AtmarkTechno "suzaku" board | 2854 | - add support for AtmarkTechno "suzaku" board |
2852 | 2855 | ||
2853 | * Configure PPChameleon board to use redundand environment in flash | 2856 | * Configure PPChameleon board to use redundand environment in flash |
2854 | 2857 | ||
2855 | * Configure PPChameleon board to use JFFS2 NAND support. | 2858 | * Configure PPChameleon board to use JFFS2 NAND support. |
2856 | 2859 | ||
2857 | * Added support for JFFS2 filesystem (read-only) on top of NAND flash | 2860 | * Added support for JFFS2 filesystem (read-only) on top of NAND flash |
2858 | 2861 | ||
2859 | * Patch by Rune Torgersen, 16 Apr 2004: | 2862 | * Patch by Rune Torgersen, 16 Apr 2004: |
2860 | LBA48 fixes | 2863 | LBA48 fixes |
2861 | 2864 | ||
2862 | * Patches by Pantelis Antoniou, 16 Apr 2004: | 2865 | * Patches by Pantelis Antoniou, 16 Apr 2004: |
2863 | - add support for a new version of an Intracom board and fix | 2866 | - add support for a new version of an Intracom board and fix |
2864 | various other things on others. | 2867 | various other things on others. |
2865 | - add verify support to the crc32 command (define | 2868 | - add verify support to the crc32 command (define |
2866 | CONFIG_CRC32_VERIFY to enable it) | 2869 | CONFIG_CRC32_VERIFY to enable it) |
2867 | - fix FEC driver for MPC8xx systems: | 2870 | - fix FEC driver for MPC8xx systems: |
2868 | 1. fix compilation problems for boards that use dynamic | 2871 | 1. fix compilation problems for boards that use dynamic |
2869 | allocation of DPRAM | 2872 | allocation of DPRAM |
2870 | 2. shut down FEC after network transfers | 2873 | 2. shut down FEC after network transfers |
2871 | - HUSH parser fixes: | 2874 | - HUSH parser fixes: |
2872 | 1. A new test command was added. This is a simplified version of | 2875 | 1. A new test command was added. This is a simplified version of |
2873 | the one in the bourne shell. | 2876 | the one in the bourne shell. |
2874 | 2. A new exit command was added which terminates the current | 2877 | 2. A new exit command was added which terminates the current |
2875 | executing script. | 2878 | executing script. |
2876 | 3. Fixed handing of $? (exit code of last executed command) | 2879 | 3. Fixed handing of $? (exit code of last executed command) |
2877 | - Fix some compile problems; | 2880 | - Fix some compile problems; |
2878 | add "once" functionality for the netretry variable | 2881 | add "once" functionality for the netretry variable |
2879 | 2882 | ||
2880 | * Patch by George G. Davis, 02 Apr 2004: | 2883 | * Patch by George G. Davis, 02 Apr 2004: |
2881 | add support for Intel Assabet board | 2884 | add support for Intel Assabet board |
2882 | 2885 | ||
2883 | * Patch by Stephen Williams, 01 Apr 2004: | 2886 | * Patch by Stephen Williams, 01 Apr 2004: |
2884 | Add support for Picture Elements JSE board | 2887 | Add support for Picture Elements JSE board |
2885 | 2888 | ||
2886 | * Patch by Christian Pell, 01 Apr 2004: | 2889 | * Patch by Christian Pell, 01 Apr 2004: |
2887 | Add CompactFlash support for PXA systems. | 2890 | Add CompactFlash support for PXA systems. |
2888 | 2891 | ||
2889 | * Patches by Pantelis Antoniou, 30 Mar 2004: | 2892 | * Patches by Pantelis Antoniou, 30 Mar 2004: |
2890 | - add auto-complete support to the U-Boot CLI | 2893 | - add auto-complete support to the U-Boot CLI |
2891 | - add support for NETTA and NETPHONE boards; fix NETVIA board | 2894 | - add support for NETTA and NETPHONE boards; fix NETVIA board |
2892 | - add support for the Epson 156x series of graphical displays | 2895 | - add support for the Epson 156x series of graphical displays |
2893 | (These displays are serial and not suitable for using a normal | 2896 | (These displays are serial and not suitable for using a normal |
2894 | framebuffer console on them) | 2897 | framebuffer console on them) |
2895 | - add infrastructure needed in order to POST any DSPs in a board | 2898 | - add infrastructure needed in order to POST any DSPs in a board |
2896 | - improve and fix various things in the MPC8xx FEC driver: | 2899 | - improve and fix various things in the MPC8xx FEC driver: |
2897 | 1. The new 87x and 88x series of processors have two FECs, | 2900 | 1. The new 87x and 88x series of processors have two FECs, |
2898 | and the new driver supports them both. | 2901 | and the new driver supports them both. |
2899 | 2. Another change in the 87x/88x series is support for | 2902 | 2. Another change in the 87x/88x series is support for |
2900 | the RMII (Reduced MII) interface. However numerous | 2903 | the RMII (Reduced MII) interface. However numerous |
2901 | changes are needed to make it work since the PHYs | 2904 | changes are needed to make it work since the PHYs |
2902 | are connected to the same lines. That means that | 2905 | are connected to the same lines. That means that |
2903 | you have to address them correctly over the MII | 2906 | you have to address them correctly over the MII |
2904 | interface. | 2907 | interface. |
2905 | 3. We now correctly match the MII/RMII interface | 2908 | 3. We now correctly match the MII/RMII interface |
2906 | configuration to what the PHY reports. | 2909 | configuration to what the PHY reports. |
2907 | - Fix problem when readingthe MII status register. Due to the | 2910 | - Fix problem when readingthe MII status register. Due to the |
2908 | internal design of many PHYs you have to read the register | 2911 | internal design of many PHYs you have to read the register |
2909 | twice. The problem is more apparent in 10Mbit mode. | 2912 | twice. The problem is more apparent in 10Mbit mode. |
2910 | - add new mode ".jffs2s" for reading from a NAND device: it just | 2913 | - add new mode ".jffs2s" for reading from a NAND device: it just |
2911 | skips over bad blocks. | 2914 | skips over bad blocks. |
2912 | - add networking support for VLANs (802.1q), and CDP (Cisco | 2915 | - add networking support for VLANs (802.1q), and CDP (Cisco |
2913 | Discovery Protocol) | 2916 | Discovery Protocol) |
2914 | - some minor patches / cleanup | 2917 | - some minor patches / cleanup |
2915 | 2918 | ||
2916 | * Patch by Yuli Barcohen, 28 Mar 2004: | 2919 | * Patch by Yuli Barcohen, 28 Mar 2004: |
2917 | - Add support for MPC8272 family including MPC8247/8248/8271/8272 | 2920 | - Add support for MPC8272 family including MPC8247/8248/8271/8272 |
2918 | - Add support for MPC8272ADS evaluation board (another flavour of MPC8260ADS) | 2921 | - Add support for MPC8272ADS evaluation board (another flavour of MPC8260ADS) |
2919 | - Change configuration method for MPC8260ADS family | 2922 | - Change configuration method for MPC8260ADS family |
2920 | 2923 | ||
2921 | * add startup code to clear the BSS of standalone applications | 2924 | * add startup code to clear the BSS of standalone applications |
2922 | 2925 | ||
2923 | * Fix if / elif handling bug in HUSH shell | 2926 | * Fix if / elif handling bug in HUSH shell |
2924 | 2927 | ||
2925 | ====================================================================== | 2928 | ====================================================================== |
2926 | Changes for U-Boot 1.1.0: | 2929 | Changes for U-Boot 1.1.0: |
2927 | ====================================================================== | 2930 | ====================================================================== |
2928 | 2931 | ||
2929 | * Patch by Mark Jonas: Remove config.tmp files only when | 2932 | * Patch by Mark Jonas: Remove config.tmp files only when |
2930 | unconfiguring the board | 2933 | unconfiguring the board |
2931 | 2934 | ||
2932 | * Adapt RMU board for bigger flash memory | 2935 | * Adapt RMU board for bigger flash memory |
2933 | 2936 | ||
2934 | * Patch by Klaus Heydeck, 13 Mar 2003: | 2937 | * Patch by Klaus Heydeck, 13 Mar 2003: |
2935 | Add support for KUP4X Board | 2938 | Add support for KUP4X Board |
2936 | 2939 | ||
2937 | * Patch by Pavel Bartusek, 21 Mar 2004 | 2940 | * Patch by Pavel Bartusek, 21 Mar 2004 |
2938 | Add Reiserfs support | 2941 | Add Reiserfs support |
2939 | 2942 | ||
2940 | * Patch by Hinko Kocevar, 20 Mar 2004 | 2943 | * Patch by Hinko Kocevar, 20 Mar 2004 |
2941 | - Add auto-release for SMSC LAN91c111 driver | 2944 | - Add auto-release for SMSC LAN91c111 driver |
2942 | - Add save/restore of PTR and PNR regs as suggested in datasheet | 2945 | - Add save/restore of PTR and PNR regs as suggested in datasheet |
2943 | 2946 | ||
2944 | * Patch by Stephen Williams, 19 March 2004 | 2947 | * Patch by Stephen Williams, 19 March 2004 |
2945 | Increase speed of sector reads from SystemACE, | 2948 | Increase speed of sector reads from SystemACE, |
2946 | shorten poll timeout and remove a useless reset | 2949 | shorten poll timeout and remove a useless reset |
2947 | 2950 | ||
2948 | * Patch by Tolunay Orkun, 19 Mar 2004: | 2951 | * Patch by Tolunay Orkun, 19 Mar 2004: |
2949 | Make GigE PHY 1000Mbps Speed/Duplex detection conditional | 2952 | Make GigE PHY 1000Mbps Speed/Duplex detection conditional |
2950 | (CONFIG_PHY_GIGE) | 2953 | (CONFIG_PHY_GIGE) |
2951 | 2954 | ||
2952 | * Patch by Brad Kemp, 18 Mar 2004: | 2955 | * Patch by Brad Kemp, 18 Mar 2004: |
2953 | prevent machine checks during a PCI scan | 2956 | prevent machine checks during a PCI scan |
2954 | 2957 | ||
2955 | * Patch by Pierre Aubert, 18 Mar 2004: | 2958 | * Patch by Pierre Aubert, 18 Mar 2004: |
2956 | Fix string cleaning in IDE identification | 2959 | Fix string cleaning in IDE identification |
2957 | 2960 | ||
2958 | * Patch by Pierre Aubert, 18 Mar 2004: | 2961 | * Patch by Pierre Aubert, 18 Mar 2004: |
2959 | - Unify video mode handling for Chips & Technologies 69000 Video | 2962 | - Unify video mode handling for Chips & Technologies 69000 Video |
2960 | chip and Silicon Motion SMI 712/710/810 Video chip | 2963 | chip and Silicon Motion SMI 712/710/810 Video chip |
2961 | - Add selection of the video output (CRT or LCD) via 'videoout' | 2964 | - Add selection of the video output (CRT or LCD) via 'videoout' |
2962 | environment variable for the Silicon Motion | 2965 | environment variable for the Silicon Motion |
2963 | - README update | 2966 | - README update |
2964 | 2967 | ||
2965 | * Patch by Pierre Aubert, 18 Mar 2004: | 2968 | * Patch by Pierre Aubert, 18 Mar 2004: |
2966 | include/common.h typo fix | 2969 | include/common.h typo fix |
2967 | 2970 | ||
2968 | * Patches by Tolunay Orkun, 17 Mar 2004: | 2971 | * Patches by Tolunay Orkun, 17 Mar 2004: |
2969 | - Add support for bd->bi_iic_fast[] initialization via environment | 2972 | - Add support for bd->bi_iic_fast[] initialization via environment |
2970 | variable "i2cfast" (CONFIG_I2CFAST) | 2973 | variable "i2cfast" (CONFIG_I2CFAST) |
2971 | - Add "i2cfast" u-boot environment variable support for csb272 | 2974 | - Add "i2cfast" u-boot environment variable support for csb272 |
2972 | 2975 | ||
2973 | * Patch by Carl Riechers, 17 Mar 2004: | 2976 | * Patch by Carl Riechers, 17 Mar 2004: |
2974 | Ignore '\0' characters in console input for use with telnet and | 2977 | Ignore '\0' characters in console input for use with telnet and |
2975 | telco pads. | 2978 | telco pads. |
2976 | 2979 | ||
2977 | * Patch by Leon Kukovec, 17 Mar 2004: | 2980 | * Patch by Leon Kukovec, 17 Mar 2004: |
2978 | typo fix for strswab prototype #ifdef | 2981 | typo fix for strswab prototype #ifdef |
2979 | 2982 | ||
2980 | * Patches by Thomas Viehweger, 16 Mar 2004: | 2983 | * Patches by Thomas Viehweger, 16 Mar 2004: |
2981 | - show PCI clock frequency on MPC8260 systems | 2984 | - show PCI clock frequency on MPC8260 systems |
2982 | - add FCC_PSMR_RMII flag for HiP7 processors | 2985 | - add FCC_PSMR_RMII flag for HiP7 processors |
2983 | - in do_jffs2_fsload(), take load address from load_addr if not set | 2986 | - in do_jffs2_fsload(), take load address from load_addr if not set |
2984 | explicit, update load_addr otherwise | 2987 | explicit, update load_addr otherwise |
2985 | - replaced printf by putc/puts when no formatting is needed | 2988 | - replaced printf by putc/puts when no formatting is needed |
2986 | (smaller code size, faster execution) | 2989 | (smaller code size, faster execution) |
2987 | 2990 | ||
2988 | * Patch by Phillippe Robin, 16 Mar 2004: | 2991 | * Patch by Phillippe Robin, 16 Mar 2004: |
2989 | avoid dereferencing NULL pointer in lib_arm/armlinux.c | 2992 | avoid dereferencing NULL pointer in lib_arm/armlinux.c |
2990 | 2993 | ||
2991 | * Patch by Stephen Williams, 15 Mar 2004: | 2994 | * Patch by Stephen Williams, 15 Mar 2004: |
2992 | Fix CONFIG_SERIAL_SOFTWARE_FIFO documentation | 2995 | Fix CONFIG_SERIAL_SOFTWARE_FIFO documentation |
2993 | 2996 | ||
2994 | * Patch by Tolunay Orkun, 15 Mar 2004: | 2997 | * Patch by Tolunay Orkun, 15 Mar 2004: |
2995 | Initialize bi_opbfreq to real OPB frequency via get_OPB_freq() | 2998 | Initialize bi_opbfreq to real OPB frequency via get_OPB_freq() |
2996 | 2999 | ||
2997 | * Patch by Travis Sawyer, 15 Mar 2004: | 3000 | * Patch by Travis Sawyer, 15 Mar 2004: |
2998 | Update CREDITS & MAINTAINERS files for PPC440GX & Ocotea port | 3001 | Update CREDITS & MAINTAINERS files for PPC440GX & Ocotea port |
2999 | 3002 | ||
3000 | * Add start-up delay to make sure power has stabilized before | 3003 | * Add start-up delay to make sure power has stabilized before |
3001 | attempting to switch on USB on SX1 board. | 3004 | attempting to switch on USB on SX1 board. |
3002 | 3005 | ||
3003 | * Patch by Josef Wagner, 18 Mar 2004: | 3006 | * Patch by Josef Wagner, 18 Mar 2004: |
3004 | - Add support for MicroSys XM250 board (PXA255) | 3007 | - Add support for MicroSys XM250 board (PXA255) |
3005 | - Add support for MicroSys PM828 board (MPC8280) | 3008 | - Add support for MicroSys PM828 board (MPC8280) |
3006 | - Add support for 32 MB Flash on PM825/826 | 3009 | - Add support for 32 MB Flash on PM825/826 |
3007 | - new SDRAM refresh rate for PM825/PM826 | 3010 | - new SDRAM refresh rate for PM825/PM826 |
3008 | - added support for MicroSys PM520 (MPC5200) | 3011 | - added support for MicroSys PM520 (MPC5200) |
3009 | - replaced Query by Identify command in CPU86/flash.c | 3012 | - replaced Query by Identify command in CPU86/flash.c |
3010 | to support 28F160F3B | 3013 | to support 28F160F3B |
3011 | 3014 | ||
3012 | * Fix wrap around problem with udelay() on ARM920T | 3015 | * Fix wrap around problem with udelay() on ARM920T |
3013 | 3016 | ||
3014 | * Add support for Macronix flash on TRAB board | 3017 | * Add support for Macronix flash on TRAB board |
3015 | 3018 | ||
3016 | * Patch by Pierre Aubert, 15 Mar 2004: | 3019 | * Patch by Pierre Aubert, 15 Mar 2004: |
3017 | Fix buffer overflow in IDE identification | 3020 | Fix buffer overflow in IDE identification |
3018 | 3021 | ||
3019 | * Fix power-off of LCD for out-of-band temperatures on LWMON board | 3022 | * Fix power-off of LCD for out-of-band temperatures on LWMON board |
3020 | 3023 | ||
3021 | * Remove redundand #define in IceCube.h | 3024 | * Remove redundand #define in IceCube.h |
3022 | 3025 | ||
3023 | * Patch by Steven Scholz, 27 Feb 2004: | 3026 | * Patch by Steven Scholz, 27 Feb 2004: |
3024 | - Adding get_ticks() and get_tbclk() for AT91RM9200 | 3027 | - Adding get_ticks() and get_tbclk() for AT91RM9200 |
3025 | - Many white space fixes in cpu/at91rm9200/interrupts.c | 3028 | - Many white space fixes in cpu/at91rm9200/interrupts.c |
3026 | 3029 | ||
3027 | * Patches by Steven Scholz, 20 Feb 2004: | 3030 | * Patches by Steven Scholz, 20 Feb 2004: |
3028 | some cleanup in AT91RM9200 related code | 3031 | some cleanup in AT91RM9200 related code |
3029 | 3032 | ||
3030 | * Patches by Travis Sawyer, 12 Mar 2004: | 3033 | * Patches by Travis Sawyer, 12 Mar 2004: |
3031 | - Fix Gigabit Ethernet support for 440GX | 3034 | - Fix Gigabit Ethernet support for 440GX |
3032 | - Add Gigabit Ethernet Support to MII PHY utilities | 3035 | - Add Gigabit Ethernet Support to MII PHY utilities |
3033 | 3036 | ||
3034 | * Patch by Brad Kemp, 12 Mar 2004: | 3037 | * Patch by Brad Kemp, 12 Mar 2004: |
3035 | Fixes for drivers/cfi_flash.c: | 3038 | Fixes for drivers/cfi_flash.c: |
3036 | - Better support for x8/x16 implementations | 3039 | - Better support for x8/x16 implementations |
3037 | - Added failure for AMD chips attempting to use CFG_FLASH_USE_BUFFER_WRITE | 3040 | - Added failure for AMD chips attempting to use CFG_FLASH_USE_BUFFER_WRITE |
3038 | - Added defines for AMD command and address constants | 3041 | - Added defines for AMD command and address constants |
3039 | 3042 | ||
3040 | * Patch by Leon Kukovec, 12 Mar 2004: | 3043 | * Patch by Leon Kukovec, 12 Mar 2004: |
3041 | Fix get_dentfromdir() to correctly handle deleted dentries | 3044 | Fix get_dentfromdir() to correctly handle deleted dentries |
3042 | 3045 | ||
3043 | * Patch by George G. Davis, 11 Mar 2004: | 3046 | * Patch by George G. Davis, 11 Mar 2004: |
3044 | Remove hard coded network settings in TI OMAP1610 H2 | 3047 | Remove hard coded network settings in TI OMAP1610 H2 |
3045 | default board config | 3048 | default board config |
3046 | 3049 | ||
3047 | * Patch by George G. Davis, 11 Mar 2004: | 3050 | * Patch by George G. Davis, 11 Mar 2004: |
3048 | add support for ADS GraphicsClient+ board. | 3051 | add support for ADS GraphicsClient+ board. |
3049 | 3052 | ||
3050 | * Patch by Pierre Aubert, 11 Mar 2004: | 3053 | * Patch by Pierre Aubert, 11 Mar 2004: |
3051 | - add bitmap command and splash screen support in cfb console | 3054 | - add bitmap command and splash screen support in cfb console |
3052 | - add [optional] origin in the bitmap display command | 3055 | - add [optional] origin in the bitmap display command |
3053 | 3056 | ||
3054 | * Patch by Travis Sawyer, 11 Mar 2004: | 3057 | * Patch by Travis Sawyer, 11 Mar 2004: |
3055 | Fix ocotea board early init interrupt setup. | 3058 | Fix ocotea board early init interrupt setup. |
3056 | 3059 | ||
3057 | * Patch by Thomas Viehweger, 11 Mar 2004: | 3060 | * Patch by Thomas Viehweger, 11 Mar 2004: |
3058 | Remove redundand code; add PCI-specific bits to include/mpc8260.h | 3061 | Remove redundand code; add PCI-specific bits to include/mpc8260.h |
3059 | 3062 | ||
3060 | * Patch by Stephan Linz, 09 Mar 2004 | 3063 | * Patch by Stephan Linz, 09 Mar 2004 |
3061 | - Add support for the SSV ADNP/ESC1 (Nios Softcore) | 3064 | - Add support for the SSV ADNP/ESC1 (Nios Softcore) |
3062 | 3065 | ||
3063 | * Patch by George G. Davis, 9 Mar 2004: | 3066 | * Patch by George G. Davis, 9 Mar 2004: |
3064 | fix recent build failure for SA1100 target | 3067 | fix recent build failure for SA1100 target |
3065 | 3068 | ||
3066 | * Patch by Travis Sawyer, 09 Mar 2004: | 3069 | * Patch by Travis Sawyer, 09 Mar 2004: |
3067 | Support native interrupt mode for the IBM440GX. | 3070 | Support native interrupt mode for the IBM440GX. |
3068 | Previously it was running in 440GP compatibility mode. | 3071 | Previously it was running in 440GP compatibility mode. |
3069 | 3072 | ||
3070 | * Patch by Philippe Robin, 09 Mar 2004: | 3073 | * Patch by Philippe Robin, 09 Mar 2004: |
3071 | Added ARM Integrator AP, CP and Versatile PB926EJ-S Reference | 3074 | Added ARM Integrator AP, CP and Versatile PB926EJ-S Reference |
3072 | Platform support. | 3075 | Platform support. |
3073 | 3076 | ||
3074 | * Patch by Masami Komiya, 08 Mar 2004: | 3077 | * Patch by Masami Komiya, 08 Mar 2004: |
3075 | Don't overwrite server IP address or boot file name | 3078 | Don't overwrite server IP address or boot file name |
3076 | when the boot server does not return values | 3079 | when the boot server does not return values |
3077 | 3080 | ||
3078 | * Patch by Tolunay Orkun, 5 Mar 2004: | 3081 | * Patch by Tolunay Orkun, 5 Mar 2004: |
3079 | Removed compile time restriction on CFG_I2C_SPEED for DS1338 RTC | 3082 | Removed compile time restriction on CFG_I2C_SPEED for DS1338 RTC |
3080 | 3083 | ||
3081 | * Patch by Tolunay Orkun, 5 Mar 2004: | 3084 | * Patch by Tolunay Orkun, 5 Mar 2004: |
3082 | Fix early board initialization for Cogent CSB272 board | 3085 | Fix early board initialization for Cogent CSB272 board |
3083 | 3086 | ||
3084 | * Patch by Ed Okerson, 3 Mar 2004: | 3087 | * Patch by Ed Okerson, 3 Mar 2004: |
3085 | fix CFI flash writes for little endian systems | 3088 | fix CFI flash writes for little endian systems |
3086 | 3089 | ||
3087 | * Patch by Reinhard Meyer, 01 Mar 2004: | 3090 | * Patch by Reinhard Meyer, 01 Mar 2004: |
3088 | generalize USB and IDE support for MPC5200 with according | 3091 | generalize USB and IDE support for MPC5200 with according |
3089 | changes to IceCube.h and TOP5200.h | 3092 | changes to IceCube.h and TOP5200.h |
3090 | add Am29LV256 256 MBit FLASH support for TOP5200 boards | 3093 | add Am29LV256 256 MBit FLASH support for TOP5200 boards |
3091 | add info about USB and IDE to README | 3094 | add info about USB and IDE to README |
3092 | 3095 | ||
3093 | * Patch by Yuli Barcohen, 4 Mar 2004: | 3096 | * Patch by Yuli Barcohen, 4 Mar 2004: |
3094 | Fix problems with GCC 3.3.x which changed handling of global | 3097 | Fix problems with GCC 3.3.x which changed handling of global |
3095 | variables explicitly initialized to zero (now in .bss instead of | 3098 | variables explicitly initialized to zero (now in .bss instead of |
3096 | .data as before). | 3099 | .data as before). |
3097 | 3100 | ||
3098 | * Patch by Leon Kukovec, 02 Mar 2004: | 3101 | * Patch by Leon Kukovec, 02 Mar 2004: |
3099 | add strswab() to fix IDE LBA capacity, firmware and model numbers | 3102 | add strswab() to fix IDE LBA capacity, firmware and model numbers |
3100 | on little endian machines | 3103 | on little endian machines |
3101 | 3104 | ||
3102 | * Patch by Masami Komiya, 02 Mar 2004: | 3105 | * Patch by Masami Komiya, 02 Mar 2004: |
3103 | - Remove get_ticks() from NFS code | 3106 | - Remove get_ticks() from NFS code |
3104 | - Add verification of RPC transaction ID | 3107 | - Add verification of RPC transaction ID |
3105 | 3108 | ||
3106 | * Patch by Pierre Aubert, 02 Mar 2004: | 3109 | * Patch by Pierre Aubert, 02 Mar 2004: |
3107 | cleanup for IDE and USB drivers for MPC5200 | 3110 | cleanup for IDE and USB drivers for MPC5200 |
3108 | 3111 | ||
3109 | * Patch by Travis Sawyer, 01 Mar 2004: | 3112 | * Patch by Travis Sawyer, 01 Mar 2004: |
3110 | Ocotea: | 3113 | Ocotea: |
3111 | - Add IBM PPC440GX Ref Platform support (Ocotea) | 3114 | - Add IBM PPC440GX Ref Platform support (Ocotea) |
3112 | Original code by Paul Reynolds <PaulReynolds@lhsolutions.com> | 3115 | Original code by Paul Reynolds <PaulReynolds@lhsolutions.com> |
3113 | Adapted to U-Boot and 440GX port | 3116 | Adapted to U-Boot and 440GX port |
3114 | 440gx_enet.c: | 3117 | 440gx_enet.c: |
3115 | - Add gracious handling of all Ethernet Pin Selections for 440GX | 3118 | - Add gracious handling of all Ethernet Pin Selections for 440GX |
3116 | - Add RGMII selection for Cicada CIS8201 Gigabit PHY | 3119 | - Add RGMII selection for Cicada CIS8201 Gigabit PHY |
3117 | ppc440.h: | 3120 | ppc440.h: |
3118 | - Add needed bit definitions | 3121 | - Add needed bit definitions |
3119 | - Fix formatting | 3122 | - Fix formatting |
3120 | 3123 | ||
3121 | * Patch by Carl Riechers, 1 Mar 2004: | 3124 | * Patch by Carl Riechers, 1 Mar 2004: |
3122 | Add PPC440GX prbdv0 divider to fix memory clock calculation. | 3125 | Add PPC440GX prbdv0 divider to fix memory clock calculation. |
3123 | 3126 | ||
3124 | * Patch by Stephan Linz, 27 Feb 2004 | 3127 | * Patch by Stephan Linz, 27 Feb 2004 |
3125 | - avoid problems for targets without NFS download support | 3128 | - avoid problems for targets without NFS download support |
3126 | 3129 | ||
3127 | * Patch by Rune Torgersen, 27 Feb 2004: | 3130 | * Patch by Rune Torgersen, 27 Feb 2004: |
3128 | - Added LBA48 support (CONFIG_LBA48 & CFG_64BIT_LBA) | 3131 | - Added LBA48 support (CONFIG_LBA48 & CFG_64BIT_LBA) |
3129 | - Added support for 64bit printing in vsprintf (CFG_64BIT_VSPRINTF) | 3132 | - Added support for 64bit printing in vsprintf (CFG_64BIT_VSPRINTF) |
3130 | - Added support for 64bit strtoul (CFG_64BIT_STRTOUL) | 3133 | - Added support for 64bit strtoul (CFG_64BIT_STRTOUL) |
3131 | 3134 | ||
3132 | * Patch by Masami Komiya, 27 Feb 2004: | 3135 | * Patch by Masami Komiya, 27 Feb 2004: |
3133 | Fix rarpboot: add autoload by NFS | 3136 | Fix rarpboot: add autoload by NFS |
3134 | 3137 | ||
3135 | * Patch by Dan Eisenhut, 26 Feb 2004: | 3138 | * Patch by Dan Eisenhut, 26 Feb 2004: |
3136 | fix flash_write return value in saveenv | 3139 | fix flash_write return value in saveenv |
3137 | 3140 | ||
3138 | * Patch by Stephan Linz, 11 Dec 2003 | 3141 | * Patch by Stephan Linz, 11 Dec 2003 |
3139 | expand config.mk to avoid trigraph warnings on NIOS | 3142 | expand config.mk to avoid trigraph warnings on NIOS |
3140 | 3143 | ||
3141 | * Rename "BMS2003" board into "HMI10" | 3144 | * Rename "BMS2003" board into "HMI10" |
3142 | 3145 | ||
3143 | * SX1 patches: use "serial#" for USB serial #; use redundand environment | 3146 | * SX1 patches: use "serial#" for USB serial #; use redundand environment |
3144 | storage; auto-set console on USB port (using preboot command) | 3147 | storage; auto-set console on USB port (using preboot command) |
3145 | 3148 | ||
3146 | * Add support for SX1 mobile phone; add support for USB-based console | 3149 | * Add support for SX1 mobile phone; add support for USB-based console |
3147 | (enable with "setenv stdout usbtty; setenv stdin usbtty") | 3150 | (enable with "setenv stdout usbtty; setenv stdin usbtty") |
3148 | 3151 | ||
3149 | * Fix LOWBOOT configuration for MPC5200 with DDR memory | 3152 | * Fix LOWBOOT configuration for MPC5200 with DDR memory |
3150 | 3153 | ||
3151 | * Fix SDRAM timings for LITE5200 / IceCube board | 3154 | * Fix SDRAM timings for LITE5200 / IceCube board |
3152 | 3155 | ||
3153 | * Handle Auti-MDIX / connection status for INCA-IP | 3156 | * Handle Auti-MDIX / connection status for INCA-IP |
3154 | 3157 | ||
3155 | * Fix USB problems when attempting to read 0 bytes | 3158 | * Fix USB problems when attempting to read 0 bytes |
3156 | 3159 | ||
3157 | * Patch by Travis Sawyer, 26 Feb 2004: | 3160 | * Patch by Travis Sawyer, 26 Feb 2004: |
3158 | Fix broken compile for XPEDITE1K target. | 3161 | Fix broken compile for XPEDITE1K target. |
3159 | 3162 | ||
3160 | * Patch by Stephan Linz, 26 Feb 2004: | 3163 | * Patch by Stephan Linz, 26 Feb 2004: |
3161 | Bug fix for NFS code on NIOS targets | 3164 | Bug fix for NFS code on NIOS targets |
3162 | 3165 | ||
3163 | * Patch by Stephen Williams, 26 Feb 2004: | 3166 | * Patch by Stephen Williams, 26 Feb 2004: |
3164 | Break up SystemACE reads of large block counts | 3167 | Break up SystemACE reads of large block counts |
3165 | 3168 | ||
3166 | * Patch by Pierre Aubert, 26 Feb 2004 | 3169 | * Patch by Pierre Aubert, 26 Feb 2004 |
3167 | add IDE support for MPC5200 | 3170 | add IDE support for MPC5200 |
3168 | 3171 | ||
3169 | * Patch by Masami Komiya, 26 Feb 2004: | 3172 | * Patch by Masami Komiya, 26 Feb 2004: |
3170 | add autoload via NFS | 3173 | add autoload via NFS |
3171 | 3174 | ||
3172 | * Patch by Stephen Williams | 3175 | * Patch by Stephen Williams |
3173 | Use of CONFIG_SERIAL_SOFTWARE_FIFO in board.c consistent with uses | 3176 | Use of CONFIG_SERIAL_SOFTWARE_FIFO in board.c consistent with uses |
3174 | elsewhere in the source. | 3177 | elsewhere in the source. |
3175 | 3178 | ||
3176 | * Patch by Steven Scholz, 25 Feb 2004: | 3179 | * Patch by Steven Scholz, 25 Feb 2004: |
3177 | - Timeouts in FPGA code should be based on CFG_HZ | 3180 | - Timeouts in FPGA code should be based on CFG_HZ |
3178 | - Minor cleanup in code for Altera FPGA ACEX1K | 3181 | - Minor cleanup in code for Altera FPGA ACEX1K |
3179 | 3182 | ||
3180 | * Patch by Steven Scholz, 25 Feb 2004: | 3183 | * Patch by Steven Scholz, 25 Feb 2004: |
3181 | Changed "Directory Hierarchy" section in README | 3184 | Changed "Directory Hierarchy" section in README |
3182 | 3185 | ||
3183 | * Patch by Masami Komiya, 25 Feb 2004: | 3186 | * Patch by Masami Komiya, 25 Feb 2004: |
3184 | Reduce copy count in nfs_read_reply() of NFS code | 3187 | Reduce copy count in nfs_read_reply() of NFS code |
3185 | 3188 | ||
3186 | * Patch by Markus Pietrek, 24 Feb 2004: | 3189 | * Patch by Markus Pietrek, 24 Feb 2004: |
3187 | NS9750 DevBoard added | 3190 | NS9750 DevBoard added |
3188 | 3191 | ||
3189 | * Patch by Pierre Aubert, 24 Feb 2004 | 3192 | * Patch by Pierre Aubert, 24 Feb 2004 |
3190 | add USB support for MPC5200 | 3193 | add USB support for MPC5200 |
3191 | 3194 | ||
3192 | * Patch by Steven Scholz, 24 Feb 2004: | 3195 | * Patch by Steven Scholz, 24 Feb 2004: |
3193 | - fix MII commands to use values from last command | 3196 | - fix MII commands to use values from last command |
3194 | 3197 | ||
3195 | * Patch by Torsten Demke, 24 Feb 2004: | 3198 | * Patch by Torsten Demke, 24 Feb 2004: |
3196 | Add support for the eXalion platform (SPSW-8240, F-30, F-300) | 3199 | Add support for the eXalion platform (SPSW-8240, F-30, F-300) |
3197 | 3200 | ||
3198 | * Patch by Rahul Shanbhag, 19 Feb 2004: | 3201 | * Patch by Rahul Shanbhag, 19 Feb 2004: |
3199 | Fixes for for OMAP1610 board: | 3202 | Fixes for for OMAP1610 board: |
3200 | - shift some IRQ specific code to platform.S file | 3203 | - shift some IRQ specific code to platform.S file |
3201 | - remove duplicatewatchdog reset code from start.S | 3204 | - remove duplicatewatchdog reset code from start.S |
3202 | 3205 | ||
3203 | * Make Auto-MDIX Support configurable on INCA-IP board | 3206 | * Make Auto-MDIX Support configurable on INCA-IP board |
3204 | 3207 | ||
3205 | * Fix license for mkimage tool | 3208 | * Fix license for mkimage tool |
3206 | 3209 | ||
3207 | * Patch by Masami Komiya, 24 Feb 2004: | 3210 | * Patch by Masami Komiya, 24 Feb 2004: |
3208 | Update NetBootFileXferSize in NFS code | 3211 | Update NetBootFileXferSize in NFS code |
3209 | 3212 | ||
3210 | * Patch by Scott McNutt, 24 Feb 2004: | 3213 | * Patch by Scott McNutt, 24 Feb 2004: |
3211 | fix packet length in NFS code | 3214 | fix packet length in NFS code |
3212 | 3215 | ||
3213 | * Patch by Masami Komiy, 22 Feb 2004: | 3216 | * Patch by Masami Komiy, 22 Feb 2004: |
3214 | Add support for NFS for file download | 3217 | Add support for NFS for file download |
3215 | 3218 | ||
3216 | * Patch by Andrea Scian, 17 Feb 2004: | 3219 | * Patch by Andrea Scian, 17 Feb 2004: |
3217 | Add support for S3C44B0 processor and DAVE B2 board | 3220 | Add support for S3C44B0 processor and DAVE B2 board |
3218 | 3221 | ||
3219 | * Patch by Steven Scholz, 20 Feb 2004: | 3222 | * Patch by Steven Scholz, 20 Feb 2004: |
3220 | - Add support for MII commands on AT91RM9200 boards | 3223 | - Add support for MII commands on AT91RM9200 boards |
3221 | - some cleanup in AT91RM9200 ethernet code | 3224 | - some cleanup in AT91RM9200 ethernet code |
3222 | 3225 | ||
3223 | * Patch by Peter Ryser, 20 Feb 2004: | 3226 | * Patch by Peter Ryser, 20 Feb 2004: |
3224 | Add support for the Xilinx ML300 platform | 3227 | Add support for the Xilinx ML300 platform |
3225 | 3228 | ||
3226 | * Patch by Stephan Linz, 17 Feb 2004: | 3229 | * Patch by Stephan Linz, 17 Feb 2004: |
3227 | Fix watchdog support for NIOS | 3230 | Fix watchdog support for NIOS |
3228 | 3231 | ||
3229 | * Patch by Josh Fryman, 16 Feb 2004: | 3232 | * Patch by Josh Fryman, 16 Feb 2004: |
3230 | Fix byte-swapping for cfi_flash.c for different bus widths | 3233 | Fix byte-swapping for cfi_flash.c for different bus widths |
3231 | 3234 | ||
3232 | * Patch by Jon Diekema, 14 Jeb 2004: | 3235 | * Patch by Jon Diekema, 14 Jeb 2004: |
3233 | Remove duplicate "FPGA Support" notes from the README file | 3236 | Remove duplicate "FPGA Support" notes from the README file |
3234 | 3237 | ||
3235 | * Patches by Reinhard Meyer, 14 Feb 2004: | 3238 | * Patches by Reinhard Meyer, 14 Feb 2004: |
3236 | - update board/emk tree; use common flash driver | 3239 | - update board/emk tree; use common flash driver |
3237 | - Corrected tested bits in machine check exception in cpu/mpc5xxx/traps.c | 3240 | - Corrected tested bits in machine check exception in cpu/mpc5xxx/traps.c |
3238 | [adapted for other PPC CPUs -- wd] | 3241 | [adapted for other PPC CPUs -- wd] |
3239 | - Added support for the M48T08 on the EVAL5200 board in rtc/mk48t59.c | 3242 | - Added support for the M48T08 on the EVAL5200 board in rtc/mk48t59.c |
3240 | 3243 | ||
3241 | * Patch by Jon Diekema, 13 Feb 2004: | 3244 | * Patch by Jon Diekema, 13 Feb 2004: |
3242 | Call show_boot_progress() whenever POST "FAILED" is printed. | 3245 | Call show_boot_progress() whenever POST "FAILED" is printed. |
3243 | 3246 | ||
3244 | * Patch by Nishant Kamat, 13 Feb 2004: | 3247 | * Patch by Nishant Kamat, 13 Feb 2004: |
3245 | Add support for TI OMAP1610 H2 Board | 3248 | Add support for TI OMAP1610 H2 Board |
3246 | Fixes for cpu/arm926ejs/interrupt.c | 3249 | Fixes for cpu/arm926ejs/interrupt.c |
3247 | (based on Richard Woodruff's patch for arm925, 16 Oct 03) | 3250 | (based on Richard Woodruff's patch for arm925, 16 Oct 03) |
3248 | Fix for a timer bug in OMAP1610 Innovator | 3251 | Fix for a timer bug in OMAP1610 Innovator |
3249 | Add support for CS0 (ROM)/CS3 (Flash) boot in OMAP1610 Innovator and H2 | 3252 | Add support for CS0 (ROM)/CS3 (Flash) boot in OMAP1610 Innovator and H2 |
3250 | 3253 | ||
3251 | * Patches by Stephan Linz, 12 Feb 2004: | 3254 | * Patches by Stephan Linz, 12 Feb 2004: |
3252 | - add support for NIOS timer with variable period preload counter value | 3255 | - add support for NIOS timer with variable period preload counter value |
3253 | - prepare POST framework support for NIOS targets | 3256 | - prepare POST framework support for NIOS targets |
3254 | 3257 | ||
3255 | * Patch by Denis Peter, 11 Feb 2004: | 3258 | * Patch by Denis Peter, 11 Feb 2004: |
3256 | add POST support for the MIP405 board | 3259 | add POST support for the MIP405 board |
3257 | 3260 | ||
3258 | * Patch by Laurent Mohin, 10 Feb 2004: | 3261 | * Patch by Laurent Mohin, 10 Feb 2004: |
3259 | Fix buffer overflow in common/usb.c | 3262 | Fix buffer overflow in common/usb.c |
3260 | 3263 | ||
3261 | * Patch by Tolunay Orkun, 10 Feb 2004: | 3264 | * Patch by Tolunay Orkun, 10 Feb 2004: |
3262 | Add support for Cogent CSB272 board | 3265 | Add support for Cogent CSB272 board |
3263 | 3266 | ||
3264 | * Patch by Thomas Elste, 10 Feb 2004: | 3267 | * Patch by Thomas Elste, 10 Feb 2004: |
3265 | Add support for NET+50 CPU and ModNET50 board | 3268 | Add support for NET+50 CPU and ModNET50 board |
3266 | 3269 | ||
3267 | * Patch by Sam Song, 10 Feb 2004: | 3270 | * Patch by Sam Song, 10 Feb 2004: |
3268 | Fix typos in cfi_flash.c | 3271 | Fix typos in cfi_flash.c |
3269 | 3272 | ||
3270 | * Patch by Leon Kukovec, 10 Feb 2004 | 3273 | * Patch by Leon Kukovec, 10 Feb 2004 |
3271 | Fixed long dir entry slot id calculation in get_vfatname | 3274 | Fixed long dir entry slot id calculation in get_vfatname |
3272 | 3275 | ||
3273 | * Patch by Robin Gilks, 10 Feb 2004: | 3276 | * Patch by Robin Gilks, 10 Feb 2004: |
3274 | add "itest" command (operators: -eq, -ne, -lt, -gt, -le, -ge, ==, | 3277 | add "itest" command (operators: -eq, -ne, -lt, -gt, -le, -ge, ==, |
3275 | !=, <>, <, >, <=, >=) | 3278 | !=, <>, <, >, <=, >=) |
3276 | 3279 | ||
3277 | * Fix problem with side effects in macros in include/usb.h | 3280 | * Fix problem with side effects in macros in include/usb.h |
3278 | 3281 | ||
3279 | * Patch by David Benson, 13 Nov 2003: | 3282 | * Patch by David Benson, 13 Nov 2003: |
3280 | bug 841358 - fix TFTP download size limit | 3283 | bug 841358 - fix TFTP download size limit |
3281 | 3284 | ||
3282 | * Fixing bug 850768: | 3285 | * Fixing bug 850768: |
3283 | improper flush_cache() in load_serial() | 3286 | improper flush_cache() in load_serial() |
3284 | 3287 | ||
3285 | * Fixing bug 834943: | 3288 | * Fixing bug 834943: |
3286 | MPC8540 - missing volatile declarations | 3289 | MPC8540 - missing volatile declarations |
3287 | 3290 | ||
3288 | * Patch by Stephen Williams, 09 Feb 2004: | 3291 | * Patch by Stephen Williams, 09 Feb 2004: |
3289 | Add support for Xilinx SystemACE chip: | 3292 | Add support for Xilinx SystemACE chip: |
3290 | - New files common/cmd_ace.c and include/systemace.h | 3293 | - New files common/cmd_ace.c and include/systemace.h |
3291 | - Hook systemace support into cmd_fat and the partition manager | 3294 | - Hook systemace support into cmd_fat and the partition manager |
3292 | 3295 | ||
3293 | * Patch by Travis Sawyer, 09 Feb 2004: | 3296 | * Patch by Travis Sawyer, 09 Feb 2004: |
3294 | Add bi_opbfreq & bi_iic_fast to 440GX bd_info as needed for Linux | 3297 | Add bi_opbfreq & bi_iic_fast to 440GX bd_info as needed for Linux |
3295 | 3298 | ||
3296 | * Patch by Travis Sawyer, 09 Feb 2004: | 3299 | * Patch by Travis Sawyer, 09 Feb 2004: |
3297 | o 440GX: | 3300 | o 440GX: |
3298 | - Fix PCI Indirect access for type 1 config cycles with ppc440. | 3301 | - Fix PCI Indirect access for type 1 config cycles with ppc440. |
3299 | - Add phymode for 440 enet | 3302 | - Add phymode for 440 enet |
3300 | - fix pci pre init | 3303 | - fix pci pre init |
3301 | o XPedite1K: | 3304 | o XPedite1K: |
3302 | - Change board_pre_init to board_early_init_f | 3305 | - Change board_pre_init to board_early_init_f |
3303 | - Add user flash to bus controller setup | 3306 | - Add user flash to bus controller setup |
3304 | - Fix pci pre init | 3307 | - Fix pci pre init |
3305 | - Fix is_pci_host to check GPIO for monarch bit | 3308 | - Fix is_pci_host to check GPIO for monarch bit |
3306 | - Force xpedite1k to pci conventional mode (via #define option) | 3309 | - Force xpedite1k to pci conventional mode (via #define option) |
3307 | 3310 | ||
3308 | * Patch by Brad Kemp, 4 Feb 2004: | 3311 | * Patch by Brad Kemp, 4 Feb 2004: |
3309 | - handle the machine check that is generated during the PCI scans | 3312 | - handle the machine check that is generated during the PCI scans |
3310 | on 82xx processors. | 3313 | on 82xx processors. |
3311 | - define the registers used in the IMMR by the PCI subsystem. | 3314 | - define the registers used in the IMMR by the PCI subsystem. |
3312 | 3315 | ||
3313 | * Patch by Pierre Aubert, 03 Feb 2004: | 3316 | * Patch by Pierre Aubert, 03 Feb 2004: |
3314 | cpu/mpc5xxx/start.S: copy MBAR into SPR311 | 3317 | cpu/mpc5xxx/start.S: copy MBAR into SPR311 |
3315 | 3318 | ||
3316 | * Patch by Jeff Angielski, 03 Feb 2004: | 3319 | * Patch by Jeff Angielski, 03 Feb 2004: |
3317 | Fix copy & paste error in cpu/mpc8260/pci.c | 3320 | Fix copy & paste error in cpu/mpc8260/pci.c |
3318 | 3321 | ||
3319 | * Patch by Reinhard Meyer, 24 Jan 2004: | 3322 | * Patch by Reinhard Meyer, 24 Jan 2004: |
3320 | Fix typo in cpu/mpc5xxx/pci_mpc5200.c | 3323 | Fix typo in cpu/mpc5xxx/pci_mpc5200.c |
3321 | 3324 | ||
3322 | * Add Auto-MDIX support for INCA-IP | 3325 | * Add Auto-MDIX support for INCA-IP |
3323 | 3326 | ||
3324 | * Some code cleanup | 3327 | * Some code cleanup |
3325 | 3328 | ||
3326 | * Patch by Josef Baumgartner, 10 Feb 2004: | 3329 | * Patch by Josef Baumgartner, 10 Feb 2004: |
3327 | Fixes for ColdFire port | 3330 | Fixes for ColdFire port |
3328 | 3331 | ||
3329 | * Patch by Brad Kemp, 11 Feb 2004: | 3332 | * Patch by Brad Kemp, 11 Feb 2004: |
3330 | Fix CFI flash driver problems | 3333 | Fix CFI flash driver problems |
3331 | 3334 | ||
3332 | * Make sure to use a bus clock divider of 2 only when running TQM8xxM | 3335 | * Make sure to use a bus clock divider of 2 only when running TQM8xxM |
3333 | modules at CPU clock frequencies above 66 MHz. | 3336 | modules at CPU clock frequencies above 66 MHz. |
3334 | 3337 | ||
3335 | * Optimize flash programming speed for LWMON (by another 100% :-) | 3338 | * Optimize flash programming speed for LWMON (by another 100% :-) |
3336 | 3339 | ||
3337 | * Patch by Jian Zhang, 3 Feb 2004: | 3340 | * Patch by Jian Zhang, 3 Feb 2004: |
3338 | - Changed the incorrect FAT12BUFSIZE | 3341 | - Changed the incorrect FAT12BUFSIZE |
3339 | - data_begin in fsdata can be negative. Changed it to be short. | 3342 | - data_begin in fsdata can be negative. Changed it to be short. |
3340 | 3343 | ||
3341 | * Patches by Stephan Linz, 30 Jan 2004: | 3344 | * Patches by Stephan Linz, 30 Jan 2004: |
3342 | 1: - board/altera/common/flash.c:flash_erase(): | 3345 | 1: - board/altera/common/flash.c:flash_erase(): |
3343 | o allow interrupts befor get_timer() call | 3346 | o allow interrupts befor get_timer() call |
3344 | o check-up each erased sector and avoid unexpected timeouts | 3347 | o check-up each erased sector and avoid unexpected timeouts |
3345 | - board/altera/dk1c20/dk1s10.c:board_early_init_f(): | 3348 | - board/altera/dk1c20/dk1s10.c:board_early_init_f(): |
3346 | o enclose sevenseg_set() in cpp condition | 3349 | o enclose sevenseg_set() in cpp condition |
3347 | - remove the ASMI configuration for DK1S10_standard_32 (never present) | 3350 | - remove the ASMI configuration for DK1S10_standard_32 (never present) |
3348 | - fix some typed in mistakes in the NIOS documentation | 3351 | - fix some typed in mistakes in the NIOS documentation |
3349 | 2: - split DK1C20 configuration into several header files: | 3352 | 2: - split DK1C20 configuration into several header files: |
3350 | o two new files for each NIOS CPU description | 3353 | o two new files for each NIOS CPU description |
3351 | o U-Boot related part is remaining in DK1C20.h | 3354 | o U-Boot related part is remaining in DK1C20.h |
3352 | 3: - split DK1S10 configuration into several header files: | 3355 | 3: - split DK1S10 configuration into several header files: |
3353 | o two new files for each NIOS CPU description | 3356 | o two new files for each NIOS CPU description |
3354 | o U-Boot related part is remaining in DK1S10.h | 3357 | o U-Boot related part is remaining in DK1S10.h |
3355 | 4: - Add support for the Microtronix Linux Development Kit | 3358 | 4: - Add support for the Microtronix Linux Development Kit |
3356 | NIOS CPU configuration at the Altera Nios Development Kit, | 3359 | NIOS CPU configuration at the Altera Nios Development Kit, |
3357 | Stratix Edition (DK-1S10) | 3360 | Stratix Edition (DK-1S10) |
3358 | 5: - Add documentation for the Altera Nios Development Kit, | 3361 | 5: - Add documentation for the Altera Nios Development Kit, |
3359 | Stratix Edition (DK-1S10) | 3362 | Stratix Edition (DK-1S10) |
3360 | 6: - Add support for the Nios Serial Peripharel Interface (SPI) | 3363 | 6: - Add support for the Nios Serial Peripharel Interface (SPI) |
3361 | (master only) | 3364 | (master only) |
3362 | 7: - Add support for the common U-Boot SPI framework at | 3365 | 7: - Add support for the common U-Boot SPI framework at |
3363 | RTC driver DS1306 | 3366 | RTC driver DS1306 |
3364 | 3367 | ||
3365 | * Patch by Rahul Shanbhag, 28 Jan 2004: | 3368 | * Patch by Rahul Shanbhag, 28 Jan 2004: |
3366 | Fix flash protection/locking handling for OMAP1610 innovator board. | 3369 | Fix flash protection/locking handling for OMAP1610 innovator board. |
3367 | 3370 | ||
3368 | * Patch by Rolf Peukert, 28 Jan 2004: | 3371 | * Patch by Rolf Peukert, 28 Jan 2004: |
3369 | fix flash write problems on CSB226 board (write with 32 bit bus width) | 3372 | fix flash write problems on CSB226 board (write with 32 bit bus width) |
3370 | 3373 | ||
3371 | * Patches by Mark Jonas, 16 Jan 2004: | 3374 | * Patches by Mark Jonas, 16 Jan 2004: |
3372 | - fix rounding error when calculating baudrates for MPC5200 PSCs | 3375 | - fix rounding error when calculating baudrates for MPC5200 PSCs |
3373 | - make sure CFG_RAMBOOT and CFG_LOWBOOT are not enabled at the same | 3376 | - make sure CFG_RAMBOOT and CFG_LOWBOOT are not enabled at the same |
3374 | time which is not supported | 3377 | time which is not supported |
3375 | 3378 | ||
3376 | * Patch by Yuli Barcohen, 26 Jan 2004: | 3379 | * Patch by Yuli Barcohen, 26 Jan 2004: |
3377 | Allow bzip2 compression for small memory footprint boards | 3380 | Allow bzip2 compression for small memory footprint boards |
3378 | 3381 | ||
3379 | * Patch by Brad Kemp, 21 Jan 2004: | 3382 | * Patch by Brad Kemp, 21 Jan 2004: |
3380 | Add support for CFI flash driver for both the Intel and the AMD | 3383 | Add support for CFI flash driver for both the Intel and the AMD |
3381 | command sets. | 3384 | command sets. |
3382 | 3385 | ||
3383 | * Patch by Travis Sawyer, 20 Jan 2004: | 3386 | * Patch by Travis Sawyer, 20 Jan 2004: |
3384 | Fix pci bridge auto enumeration of sibling p2p bridges. | 3387 | Fix pci bridge auto enumeration of sibling p2p bridges. |
3385 | 3388 | ||
3386 | * Patch by Tolunay Orkun, 12 Jan 2004: | 3389 | * Patch by Tolunay Orkun, 12 Jan 2004: |
3387 | Add some delays as needed for Intel LXT971A PHY support | 3390 | Add some delays as needed for Intel LXT971A PHY support |
3388 | 3391 | ||
3389 | * Patches by Stephan Linz, 09 Jan 2004: | 3392 | * Patches by Stephan Linz, 09 Jan 2004: |
3390 | - avoid warning: unused variable `piop' in board/altera/common/sevenseg.c | 3393 | - avoid warning: unused variable `piop' in board/altera/common/sevenseg.c |
3391 | - make DK1C20 board configuration related to ASMI conform to | 3394 | - make DK1C20 board configuration related to ASMI conform to |
3392 | documentation | 3395 | documentation |
3393 | 3396 | ||
3394 | * Patch by Anders Larsen, 09 Jan 2004: | 3397 | * Patch by Anders Larsen, 09 Jan 2004: |
3395 | 3398 | ||
3396 | ARM memory layout fixes: the abort-stack is now set up in the | 3399 | ARM memory layout fixes: the abort-stack is now set up in the |
3397 | correct RAM area, and the BSS is zeroed out as it should be. | 3400 | correct RAM area, and the BSS is zeroed out as it should be. |
3398 | 3401 | ||
3399 | Furthermore, the magic variables 'armboot_end' and 'armboot_end_data' | 3402 | Furthermore, the magic variables 'armboot_end' and 'armboot_end_data' |
3400 | of the linker scripts are replaced by '__bss_start' and '_end', | 3403 | of the linker scripts are replaced by '__bss_start' and '_end', |
3401 | resp., which is a further step to eliminate unnecessary differences | 3404 | resp., which is a further step to eliminate unnecessary differences |
3402 | between the implementation of the CPU architectures. | 3405 | between the implementation of the CPU architectures. |
3403 | 3406 | ||
3404 | * Patch by liang a lei, 9 Jan 2004: | 3407 | * Patch by liang a lei, 9 Jan 2004: |
3405 | Fix Intel 28F128J3 ID in include/flash.h | 3408 | Fix Intel 28F128J3 ID in include/flash.h |
3406 | 3409 | ||
3407 | * Patch by Masami Komiya, 09 Jan 2004: | 3410 | * Patch by Masami Komiya, 09 Jan 2004: |
3408 | add support for TB0229 board (NEC VR4131 MIPS processor) | 3411 | add support for TB0229 board (NEC VR4131 MIPS processor) |
3409 | 3412 | ||
3410 | * Patch by Leon Kukovec, 12 Dec 2003: | 3413 | * Patch by Leon Kukovec, 12 Dec 2003: |
3411 | changed extern __inline__ into static __inline__ in | 3414 | changed extern __inline__ into static __inline__ in |
3412 | include/linux/byteorder/swab.h | 3415 | include/linux/byteorder/swab.h |
3413 | 3416 | ||
3414 | * Patch by Travis Sawyer, 30 Dec 2003: | 3417 | * Patch by Travis Sawyer, 30 Dec 2003: |
3415 | Add support for IBM PPC440GX. Multiple EMAC Ethernet devices, | 3418 | Add support for IBM PPC440GX. Multiple EMAC Ethernet devices, |
3416 | select MDI port based on enabled EMAC device. | 3419 | select MDI port based on enabled EMAC device. |
3417 | Add support for XES Inc <http://www.xes-inc.com> XPedite1000 440GX | 3420 | Add support for XES Inc <http://www.xes-inc.com> XPedite1000 440GX |
3418 | base PrPMC board. | 3421 | base PrPMC board. |
3419 | 3422 | ||
3420 | * Patch by Wolter Kamphuis, 15 Dec 2003: | 3423 | * Patch by Wolter Kamphuis, 15 Dec 2003: |
3421 | made CONFIG_SILENT_CONSOLE usable on all architectures | 3424 | made CONFIG_SILENT_CONSOLE usable on all architectures |
3422 | 3425 | ||
3423 | * Disable date command on TQM866M - there is no RTC on MPC866 | 3426 | * Disable date command on TQM866M - there is no RTC on MPC866 |
3424 | 3427 | ||
3425 | * Fix variable CPU clock for MPC859/866 systems for low CPU clocks | 3428 | * Fix variable CPU clock for MPC859/866 systems for low CPU clocks |
3426 | 3429 | ||
3427 | * Implement adaptive SDRAM timing configuration based on actual CPU | 3430 | * Implement adaptive SDRAM timing configuration based on actual CPU |
3428 | clock frequency for INCA-IP; fix problem with board hanging when | 3431 | clock frequency for INCA-IP; fix problem with board hanging when |
3429 | switching from 150MHz to 100MHz | 3432 | switching from 150MHz to 100MHz |
3430 | 3433 | ||
3431 | * Add PCMCIA CS support for BMS2003 board | 3434 | * Add PCMCIA CS support for BMS2003 board |
3432 | 3435 | ||
3433 | * Add variable CPU clock for MPC859/866 systems (so far only TQM866M): | 3436 | * Add variable CPU clock for MPC859/866 systems (so far only TQM866M): |
3434 | see doc/README.MPC866 for details; | 3437 | see doc/README.MPC866 for details; |
3435 | implement workaround for "SIU4" and "SIU9" silicon bugs on MPC866; | 3438 | implement workaround for "SIU4" and "SIU9" silicon bugs on MPC866; |
3436 | calculate CPU clock frequency from PLL register values. | 3439 | calculate CPU clock frequency from PLL register values. |
3437 | 3440 | ||
3438 | * Add support for 128 MB RAM on TQM8xxL/M modules | 3441 | * Add support for 128 MB RAM on TQM8xxL/M modules |
3439 | 3442 | ||
3440 | * Fix PS/2 keyboard problem caused by statically initialized variable | 3443 | * Fix PS/2 keyboard problem caused by statically initialized variable |
3441 | pointing to a location in flash | 3444 | pointing to a location in flash |
3442 | 3445 | ||
3443 | * Fix INCA-IP clock calculation: 400/3 = 133.3 MHz, not 130. | 3446 | * Fix INCA-IP clock calculation: 400/3 = 133.3 MHz, not 130. |
3444 | 3447 | ||
3445 | * The PS/2 mux on the BMS2003 board needs 450 ms after power on | 3448 | * The PS/2 mux on the BMS2003 board needs 450 ms after power on |
3446 | before we can access it; add delay in case we are faster (with no | 3449 | before we can access it; add delay in case we are faster (with no |
3447 | CF card inserted) | 3450 | CF card inserted) |
3448 | 3451 | ||
3449 | * Cleanup of some init functions | 3452 | * Cleanup of some init functions |
3450 | 3453 | ||
3451 | * Make sure SCC Ethernet is always stopped by the time we boot Linux | 3454 | * Make sure SCC Ethernet is always stopped by the time we boot Linux |
3452 | to avoid Linux crashes by early packets coming in. | 3455 | to avoid Linux crashes by early packets coming in. |
3453 | 3456 | ||
3454 | * Accelerate flash accesses on LWMON board by using buffered writes | 3457 | * Accelerate flash accesses on LWMON board by using buffered writes |
3455 | 3458 | ||
3456 | * Fix typo in Makefile; | 3459 | * Fix typo in Makefile; |
3457 | fix problem with PARTNUM detection | 3460 | fix problem with PARTNUM detection |
3458 | 3461 | ||
3459 | * Patch by Reinhard Meyer, 09 Jan 2004: | 3462 | * Patch by Reinhard Meyer, 09 Jan 2004: |
3460 | - add RTC support for MPC5200 based boards (requires RTC_XTAL) | 3463 | - add RTC support for MPC5200 based boards (requires RTC_XTAL) |
3461 | 3464 | ||
3462 | * Add support for IDE LED on BMS2003 board | 3465 | * Add support for IDE LED on BMS2003 board |
3463 | (exclusive with status LED!) | 3466 | (exclusive with status LED!) |
3464 | 3467 | ||
3465 | * Add support for PS/2 keyboard (used with PS/2 multiplexor on | 3468 | * Add support for PS/2 keyboard (used with PS/2 multiplexor on |
3466 | BMS2003 board) | 3469 | BMS2003 board) |
3467 | 3470 | ||
3468 | * Patches by Reinhard Meyer, 4 Jan 2004 + 7 Jan 2004: | 3471 | * Patches by Reinhard Meyer, 4 Jan 2004 + 7 Jan 2004: |
3469 | Add common files for "emk" boards | 3472 | Add common files for "emk" boards |
3470 | 3473 | ||
3471 | * Add a common get_ram_size() function and modify the the | 3474 | * Add a common get_ram_size() function and modify the the |
3472 | board-specific files to invoke that common implementation. | 3475 | board-specific files to invoke that common implementation. |
3473 | 3476 | ||
3474 | ====================================================================== | 3477 | ====================================================================== |
3475 | Changes for U-Boot 1.0.1: | 3478 | Changes for U-Boot 1.0.1: |
3476 | ====================================================================== | 3479 | ====================================================================== |
3477 | 3480 | ||
3478 | * Set default clock for INCA-IP to 150 MHz | 3481 | * Set default clock for INCA-IP to 150 MHz |
3479 | 3482 | ||
3480 | * Make BMS2003 use a separate config file to avoid #ifdef mess; | 3483 | * Make BMS2003 use a separate config file to avoid #ifdef mess; |
3481 | add I2C support; add support for DS1337 RTC | 3484 | add I2C support; add support for DS1337 RTC |
3482 | 3485 | ||
3483 | * Add CompactFlash support for BMS2003 board | 3486 | * Add CompactFlash support for BMS2003 board |
3484 | 3487 | ||
3485 | * Add support for status LED on BMS2003 board | 3488 | * Add support for status LED on BMS2003 board |
3486 | 3489 | ||
3487 | * Patch by Scott McNutt, 02 Jan 2004: | 3490 | * Patch by Scott McNutt, 02 Jan 2004: |
3488 | Add support for the Nios Active Serial Memory Interface (ASMI) | 3491 | Add support for the Nios Active Serial Memory Interface (ASMI) |
3489 | on Cyclone devices | 3492 | on Cyclone devices |
3490 | 3493 | ||
3491 | * Patch by Andrea Marson, 16 Dec 2003: | 3494 | * Patch by Andrea Marson, 16 Dec 2003: |
3492 | Add support for the PPChameleon ME and HI modules | 3495 | Add support for the PPChameleon ME and HI modules |
3493 | 3496 | ||
3494 | * Patch by Yuli Barcohen, 22 Dec 2003: | 3497 | * Patch by Yuli Barcohen, 22 Dec 2003: |
3495 | Add support for Motorola DUET ADS board (MPC87x/88x) | 3498 | Add support for Motorola DUET ADS board (MPC87x/88x) |
3496 | 3499 | ||
3497 | * Patch by Robert Schwebel, 15 Dec 2003: | 3500 | * Patch by Robert Schwebel, 15 Dec 2003: |
3498 | add support for cramfs (uses JFFS2 command interface) | 3501 | add support for cramfs (uses JFFS2 command interface) |
3499 | 3502 | ||
3500 | * Patches by Stephan Linz, 11 Dec 2003: | 3503 | * Patches by Stephan Linz, 11 Dec 2003: |
3501 | - more documentation for NIOS port | 3504 | - more documentation for NIOS port |
3502 | - new struct nios_pio_t, struct nios_spi_t | 3505 | - new struct nios_pio_t, struct nios_spi_t |
3503 | - Reconfiguration for NIOS Development Kit DK1C20: | 3506 | - Reconfiguration for NIOS Development Kit DK1C20: |
3504 | o move board related code from board/dk1c20 | 3507 | o move board related code from board/dk1c20 |
3505 | to board/altera/dk1c20 | 3508 | to board/altera/dk1c20 |
3506 | o create a new common source path board/altera/common | 3509 | o create a new common source path board/altera/common |
3507 | and move generic flash access stuff into it | 3510 | and move generic flash access stuff into it |
3508 | o change/expand configuration file DK1C20.h | 3511 | o change/expand configuration file DK1C20.h |
3509 | - Add support for NIOS Development Kit DK1S10 | 3512 | - Add support for NIOS Development Kit DK1S10 |
3510 | - Add status LED support for NIOS systems | 3513 | - Add status LED support for NIOS systems |
3511 | - Add dual 7-segment LED support for Altera NIOS DevKits | 3514 | - Add dual 7-segment LED support for Altera NIOS DevKits |
3512 | 3515 | ||
3513 | * Patch by Ronen Shitrit, 10 Dec 2003: | 3516 | * Patch by Ronen Shitrit, 10 Dec 2003: |
3514 | Add support for the Marvell DB64360 / DB64460 development boards | 3517 | Add support for the Marvell DB64360 / DB64460 development boards |
3515 | 3518 | ||
3516 | * Patch by Detlev Zundel, 10 Dec 2003: | 3519 | * Patch by Detlev Zundel, 10 Dec 2003: |
3517 | fix dependency problem in examples/Makefile | 3520 | fix dependency problem in examples/Makefile |
3518 | 3521 | ||
3519 | * Patch by Denis Peter, 8 Dec 2003 | 3522 | * Patch by Denis Peter, 8 Dec 2003 |
3520 | - add support for the PATI board (MPC555) | 3523 | - add support for the PATI board (MPC555) |
3521 | - add SPI support for the MPC5xx | 3524 | - add SPI support for the MPC5xx |
3522 | 3525 | ||
3523 | * Patch by Anders Larsen, 08 Dec 2003: | 3526 | * Patch by Anders Larsen, 08 Dec 2003: |
3524 | add configuration options CONFIG_SERIAL_TAG and CONFIG_REVISION_TAG | 3527 | add configuration options CONFIG_SERIAL_TAG and CONFIG_REVISION_TAG |
3525 | to pass ATAG_SERIAL and ATAG_REVISION, resp., to the ARM target; | 3528 | to pass ATAG_SERIAL and ATAG_REVISION, resp., to the ARM target; |
3526 | cleanup some redundand #defines | 3529 | cleanup some redundand #defines |
3527 | 3530 | ||
3528 | * Patch by Andrรฉ Schwarz, 8 Dec 2003: | 3531 | * Patch by Andrรฉ Schwarz, 8 Dec 2003: |
3529 | fixes for Davicom DM9102A Ethernet Chip (#define CONFIG_TULIP_FIX_DAVICOM): | 3532 | fixes for Davicom DM9102A Ethernet Chip (#define CONFIG_TULIP_FIX_DAVICOM): |
3530 | - TX and RX deskriptors must be quad-word aligned | 3533 | - TX and RX deskriptors must be quad-word aligned |
3531 | - does not work with only one TX deskriptor | 3534 | - does not work with only one TX deskriptor |
3532 | - standard reset method does not work | 3535 | - standard reset method does not work |
3533 | 3536 | ||
3534 | * Patch by Masami Komiya, 08 Dec 2003: | 3537 | * Patch by Masami Komiya, 08 Dec 2003: |
3535 | add RTL8139 ethernet driver | 3538 | add RTL8139 ethernet driver |
3536 | 3539 | ||
3537 | * Patches by Ed Okerson, 07 Dec 2003: | 3540 | * Patches by Ed Okerson, 07 Dec 2003: |
3538 | - fix ethernet for the AU1x00 processors in little-endian mode. | 3541 | - fix ethernet for the AU1x00 processors in little-endian mode. |
3539 | - extend memsetup.S for the AU1x00 processors in BE and LE modes | 3542 | - extend memsetup.S for the AU1x00 processors in BE and LE modes |
3540 | 3543 | ||
3541 | * Minor code cleanup (coding style) | 3544 | * Minor code cleanup (coding style) |
3542 | 3545 | ||
3543 | * Patch by Reinhard Meyer, 30 Dec 2003: | 3546 | * Patch by Reinhard Meyer, 30 Dec 2003: |
3544 | - cpu/mpc5xxx/fec.c: added CONFIG_PHY_ADDR, added CONFIG_PHY_TYPE, | 3547 | - cpu/mpc5xxx/fec.c: added CONFIG_PHY_ADDR, added CONFIG_PHY_TYPE, |
3545 | - added CONFIG_PHY_ADDR to include/configs/IceCube.h, | 3548 | - added CONFIG_PHY_ADDR to include/configs/IceCube.h, |
3546 | - turned debug print of PHY registers into a function (called in two places) | 3549 | - turned debug print of PHY registers into a function (called in two places) |
3547 | - added support for EMK MPC5200 based modules | 3550 | - added support for EMK MPC5200 based modules |
3548 | 3551 | ||
3549 | * Fix MPC8xx PLPRCR_MFD_SHIFT typo | 3552 | * Fix MPC8xx PLPRCR_MFD_SHIFT typo |
3550 | 3553 | ||
3551 | * Add support for TQM866M modules | 3554 | * Add support for TQM866M modules |
3552 | 3555 | ||
3553 | * Fixes for TQM855M with 4 MB flash (Am29DL163 = _no_ mirror bit flash) | 3556 | * Fixes for TQM855M with 4 MB flash (Am29DL163 = _no_ mirror bit flash) |
3554 | 3557 | ||
3555 | * Fix a few compiler warnings | 3558 | * Fix a few compiler warnings |
3556 | 3559 | ||
3557 | * Patch by Reinhard Meyer, 28 Dec 2003: | 3560 | * Patch by Reinhard Meyer, 28 Dec 2003: |
3558 | Add initial support for TOP5200 board | 3561 | Add initial support for TOP5200 board |
3559 | 3562 | ||
3560 | * Make CPU clock on ICA-IP board controllable by a "cpuclk" | 3563 | * Make CPU clock on ICA-IP board controllable by a "cpuclk" |
3561 | environment variable which can set to "100", "133", or "150". The | 3564 | environment variable which can set to "100", "133", or "150". The |
3562 | CPU clock will be configured accordingly upon next reboot. Other | 3565 | CPU clock will be configured accordingly upon next reboot. Other |
3563 | values are ignored. In case of an invalid or undefined "cpuclk" | 3566 | values are ignored. In case of an invalid or undefined "cpuclk" |
3564 | value, the compile-time default CPU clock speed will be used. | 3567 | value, the compile-time default CPU clock speed will be used. |
3565 | 3568 | ||
3566 | * Enable Quad-UART on BMS2003 board (initialize the PCMCIA memory | 3569 | * Enable Quad-UART on BMS2003 board (initialize the PCMCIA memory |
3567 | window that is used to access the UART registers by the Linux driver) | 3570 | window that is used to access the UART registers by the Linux driver) |
3568 | 3571 | ||
3569 | * Patch by Reinhard Meyer, 20 Dec 2003: | 3572 | * Patch by Reinhard Meyer, 20 Dec 2003: |
3570 | Fix clock calculation for the MPC5200 for higher clock frequencies | 3573 | Fix clock calculation for the MPC5200 for higher clock frequencies |
3571 | (above 2**32 / 10 = 429.5 MHz). | 3574 | (above 2**32 / 10 = 429.5 MHz). |
3572 | 3575 | ||
3573 | * Fix CONFIG_PLL_PCI_TO_MEM_MULTIPLIER divider error in SP8240 configuration | 3576 | * Fix CONFIG_PLL_PCI_TO_MEM_MULTIPLIER divider error in SP8240 configuration |
3574 | 3577 | ||
3575 | * Fix IceCube CLKIN configuration (it's 33.000000MHz) | 3578 | * Fix IceCube CLKIN configuration (it's 33.000000MHz) |
3576 | 3579 | ||
3577 | * Add new configuration for IceCube board with DDR memory | 3580 | * Add new configuration for IceCube board with DDR memory |
3578 | 3581 | ||
3579 | * Update TRAB memory configurations | 3582 | * Update TRAB memory configurations |
3580 | 3583 | ||
3581 | * Add JFFS2 support for INCA-IP board | 3584 | * Add JFFS2 support for INCA-IP board |
3582 | 3585 | ||
3583 | * Patch by Bill Hargen, 09 Dec 2003: | 3586 | * Patch by Bill Hargen, 09 Dec 2003: |
3584 | - BUBINGA405EP: changed flash driver to protect top sector containing | 3587 | - BUBINGA405EP: changed flash driver to protect top sector containing |
3585 | first instruction. | 3588 | first instruction. |
3586 | - BUBINGA405EP: configured "eeprom" command to access boot config EEPROM. | 3589 | - BUBINGA405EP: configured "eeprom" command to access boot config EEPROM. |
3587 | - BUBINGA405EP: fixed PLL init (init chip selects before FPGA/NVRAM access). | 3590 | - BUBINGA405EP: fixed PLL init (init chip selects before FPGA/NVRAM access). |
3588 | - 405EP: fixed SPD-based SDRAM init (only use banks 0 and 1). | 3591 | - 405EP: fixed SPD-based SDRAM init (only use banks 0 and 1). |
3589 | - 405EP: added/fixed support for "reginfo" command. | 3592 | - 405EP: added/fixed support for "reginfo" command. |
3590 | - 4xx: removed spurious MII error messages on "mii info" command. | 3593 | - 4xx: removed spurious MII error messages on "mii info" command. |
3591 | 3594 | ||
3592 | * Patch by Bernhard Kuhn, 28 Nov 2003: | 3595 | * Patch by Bernhard Kuhn, 28 Nov 2003: |
3593 | add support for ColdFire CPU | 3596 | add support for ColdFire CPU |
3594 | add support for Motorola M5272C3 and M5282EVB boards | 3597 | add support for Motorola M5272C3 and M5282EVB boards |
3595 | 3598 | ||
3596 | * Patch by Pierre Aubert, 24 Nov 2003: | 3599 | * Patch by Pierre Aubert, 24 Nov 2003: |
3597 | - add a return value for the fpga command | 3600 | - add a return value for the fpga command |
3598 | - add ide_preinit() function called in ide_init if CONFIG_IDE_PREINIT | 3601 | - add ide_preinit() function called in ide_init if CONFIG_IDE_PREINIT |
3599 | is defined. If ide_preinit fails, ide_init is aborted. | 3602 | is defined. If ide_preinit fails, ide_init is aborted. |
3600 | - fix an endianess problem in fat.h | 3603 | - fix an endianess problem in fat.h |
3601 | 3604 | ||
3602 | * Patch by Wolter Kamphuis, 05 Dec 2003: | 3605 | * Patch by Wolter Kamphuis, 05 Dec 2003: |
3603 | Add support for SNMC's QS850/QS823/QS860T boards | 3606 | Add support for SNMC's QS850/QS823/QS860T boards |
3604 | 3607 | ||
3605 | * Patch by Yuli Barcohen, 3 Dec 2003: | 3608 | * Patch by Yuli Barcohen, 3 Dec 2003: |
3606 | "revive" U-Boot support for old Motorola MPC860ADS board | 3609 | "revive" U-Boot support for old Motorola MPC860ADS board |
3607 | 3610 | ||
3608 | * Patch by Cam(ilo?), 03 Dec 2003: | 3611 | * Patch by Cam(ilo?), 03 Dec 2003: |
3609 | make examples build even with broken Montavista objcopy | 3612 | make examples build even with broken Montavista objcopy |
3610 | 3613 | ||
3611 | * Patch by Pavel Bartusek, 27 Nov 2003: | 3614 | * Patch by Pavel Bartusek, 27 Nov 2003: |
3612 | fix conversion problem with "bootretry" evironment variable | 3615 | fix conversion problem with "bootretry" evironment variable |
3613 | 3616 | ||
3614 | * Patch by Andre Schwarz, 24 Nov 2003: | 3617 | * Patch by Andre Schwarz, 24 Nov 2003: |
3615 | add support for mvblue (mvBlueLYNX and mvBlueBOX) boards | 3618 | add support for mvblue (mvBlueLYNX and mvBlueBOX) boards |
3616 | 3619 | ||
3617 | * Patch by Pavel Bartusek, 21 Nov 2003: | 3620 | * Patch by Pavel Bartusek, 21 Nov 2003: |
3618 | set ZMII bridge speed on 440 | 3621 | set ZMII bridge speed on 440 |
3619 | 3622 | ||
3620 | * Patch by Anders Larsen, 17 Nov 2003: | 3623 | * Patch by Anders Larsen, 17 Nov 2003: |
3621 | Fix mismatched #ifdef / #endif in include/asm-arm/arch-pxa/hardware.h | 3624 | Fix mismatched #ifdef / #endif in include/asm-arm/arch-pxa/hardware.h |
3622 | 3625 | ||
3623 | * Patches by David Mรผller, 14 Nov 2003: | 3626 | * Patches by David Mรผller, 14 Nov 2003: |
3624 | - board/mpl/common/common_util.c | 3627 | - board/mpl/common/common_util.c |
3625 | * implement support for BZIP2 compressed images | 3628 | * implement support for BZIP2 compressed images |
3626 | * various cleanups (printf -> puts, ...) | 3629 | * various cleanups (printf -> puts, ...) |
3627 | - board/mpl/common/flash.c | 3630 | - board/mpl/common/flash.c |
3628 | * report correct errors to upper layers | 3631 | * report correct errors to upper layers |
3629 | * check the erase fail and VPP low bits in status reg | 3632 | * check the erase fail and VPP low bits in status reg |
3630 | - board/mpl/vcma9/cmd_vcma9.c | 3633 | - board/mpl/vcma9/cmd_vcma9.c |
3631 | - board/mpl/vcma9/flash.c | 3634 | - board/mpl/vcma9/flash.c |
3632 | * various cleanups (printf -> puts, ...) | 3635 | * various cleanups (printf -> puts, ...) |
3633 | - common/cmd_usb.c | 3636 | - common/cmd_usb.c |
3634 | * fix typo in comment | 3637 | * fix typo in comment |
3635 | - cpu/arm920t/usb_ohci.c | 3638 | - cpu/arm920t/usb_ohci.c |
3636 | * support for S3C2410 is missing in #if line | 3639 | * support for S3C2410 is missing in #if line |
3637 | - drivers/cs8900.c | 3640 | - drivers/cs8900.c |
3638 | * reinit some registers in case of error (cable missing, ...) | 3641 | * reinit some registers in case of error (cable missing, ...) |
3639 | - fs/fat/fat.c | 3642 | - fs/fat/fat.c |
3640 | * support for USB/MMC devices is missing in #if line | 3643 | * support for USB/MMC devices is missing in #if line |
3641 | - include/configs/MIP405.h | 3644 | - include/configs/MIP405.h |
3642 | - include/configs/PIP405.h | 3645 | - include/configs/PIP405.h |
3643 | * enable BZIP2 support | 3646 | * enable BZIP2 support |
3644 | * enlarge malloc space to 1MiB because of BZIP2 support | 3647 | * enlarge malloc space to 1MiB because of BZIP2 support |
3645 | - include/configs/VCMA9.h | 3648 | - include/configs/VCMA9.h |
3646 | * enable BZIP2 support | 3649 | * enable BZIP2 support |
3647 | * enlarge malloc space to 1MiB because of BZIP2 support | 3650 | * enlarge malloc space to 1MiB because of BZIP2 support |
3648 | * enable USB support | 3651 | * enable USB support |
3649 | - lib_arm/armlinux.c | 3652 | - lib_arm/armlinux.c |
3650 | * change calling convention of ARM Linux kernel as | 3653 | * change calling convention of ARM Linux kernel as |
3651 | described on http://www.arm.linux.org.uk/developer/booting.php | 3654 | described on http://www.arm.linux.org.uk/developer/booting.php |
3652 | 3655 | ||
3653 | * Patch by Thomas Lange, 14 Nov 2003: | 3656 | * Patch by Thomas Lange, 14 Nov 2003: |
3654 | Split dbau1x00 into dbau1000, dbau1100 and dbau1500 configs to | 3657 | Split dbau1x00 into dbau1000, dbau1100 and dbau1500 configs to |
3655 | support all these AMD boards. | 3658 | support all these AMD boards. |
3656 | 3659 | ||
3657 | * Patch by Thomas Lange, 14 Nov 2003: | 3660 | * Patch by Thomas Lange, 14 Nov 2003: |
3658 | Workaround for mips au1x00 physical memory accesses (the au1x00 | 3661 | Workaround for mips au1x00 physical memory accesses (the au1x00 |
3659 | uses a 36 bit bus internally and cannot access physical memory | 3662 | uses a 36 bit bus internally and cannot access physical memory |
3660 | directly. Use the uncached SDRAM address instead of the physical | 3663 | directly. Use the uncached SDRAM address instead of the physical |
3661 | one.) | 3664 | one.) |
3662 | 3665 | ||
3663 | * Patch by Xue Ligong (Joe), 13 Nov 2003: | 3666 | * Patch by Xue Ligong (Joe), 13 Nov 2003: |
3664 | add Realtek 8019 ethernet driver | 3667 | add Realtek 8019 ethernet driver |
3665 | 3668 | ||
3666 | * Patch by Yuli Barcohen, 13 Nov 2003: | 3669 | * Patch by Yuli Barcohen, 13 Nov 2003: |
3667 | MPC826xADS/PQ2FADS cleanup | 3670 | MPC826xADS/PQ2FADS cleanup |
3668 | 3671 | ||
3669 | * Patch by Anders Larsen, 12 Nov 2003: | 3672 | * Patch by Anders Larsen, 12 Nov 2003: |
3670 | Update README to mark the PORTIO commands non-standard | 3673 | Update README to mark the PORTIO commands non-standard |
3671 | 3674 | ||
3672 | * Patch by Nicolas Lacressonniรจre, 12 Nov 2003: | 3675 | * Patch by Nicolas Lacressonniรจre, 12 Nov 2003: |
3673 | update for for Atmel AT91RM9200DK development kit: | 3676 | update for for Atmel AT91RM9200DK development kit: |
3674 | - support for environment variables in DataFlash | 3677 | - support for environment variables in DataFlash |
3675 | - Atmel DataFlash AT45DB1282 support | 3678 | - Atmel DataFlash AT45DB1282 support |
3676 | 3679 | ||
3677 | * Patch by Jeff Carr, 11 Nov 2003: | 3680 | * Patch by Jeff Carr, 11 Nov 2003: |
3678 | add support for new version of 8270 processors | 3681 | add support for new version of 8270 processors |
3679 | 3682 | ||
3680 | * Patches by George G. Davis, 05 Nov 2003: | 3683 | * Patches by George G. Davis, 05 Nov 2003: |
3681 | - only pass the ARM linux initrd tag to the kernel when an initrd | 3684 | - only pass the ARM linux initrd tag to the kernel when an initrd |
3682 | is actually present | 3685 | is actually present |
3683 | - update omap1510inn configuration file | 3686 | - update omap1510inn configuration file |
3684 | 3687 | ||
3685 | * Patches by Stephan Linz, 3 Nov 2003: | 3688 | * Patches by Stephan Linz, 3 Nov 2003: |
3686 | - more endianess fixes for LAN91C111 driver | 3689 | - more endianess fixes for LAN91C111 driver |
3687 | - CFG_HZ configuration patch for NIOS Cyclone board | 3690 | - CFG_HZ configuration patch for NIOS Cyclone board |
3688 | 3691 | ||
3689 | * Patch by Stephan Linz, 28 Oct 2003: | 3692 | * Patch by Stephan Linz, 28 Oct 2003: |
3690 | fix PHY_INT_REG vs. PHY_MASK_REG bug in drivers/smc91111.c | 3693 | fix PHY_INT_REG vs. PHY_MASK_REG bug in drivers/smc91111.c |
3691 | 3694 | ||
3692 | * Patch by Steven Scholz, 20 Oct 2003: | 3695 | * Patch by Steven Scholz, 20 Oct 2003: |
3693 | - make "mii info <addr>" show infor for PHY at "addr" only | 3696 | - make "mii info <addr>" show infor for PHY at "addr" only |
3694 | - Endian fix for miiphy_info() | 3697 | - Endian fix for miiphy_info() |
3695 | 3698 | ||
3696 | * Patch by Gleb Natapov, 19 Sep 2003: | 3699 | * Patch by Gleb Natapov, 19 Sep 2003: |
3697 | Move most of the timer interrupt related PPC code to ppc_lib/interrupts.c | 3700 | Move most of the timer interrupt related PPC code to ppc_lib/interrupts.c |
3698 | 3701 | ||
3699 | * Patch by Anders Larsen, 17 Sep 2003: | 3702 | * Patch by Anders Larsen, 17 Sep 2003: |
3700 | Bring ARM memory layout in sync with the documentation: | 3703 | Bring ARM memory layout in sync with the documentation: |
3701 | stack and malloc-heap are now located _below_ the U-Boot code | 3704 | stack and malloc-heap are now located _below_ the U-Boot code |
3702 | 3705 | ||
3703 | * Accelerate booting on TRAB board: read and check autoupdate image | 3706 | * Accelerate booting on TRAB board: read and check autoupdate image |
3704 | headers first instead of always reading the whole images. | 3707 | headers first instead of always reading the whole images. |
3705 | 3708 | ||
3706 | * Fix type in MPC5XXX code (pointed out by Victor Wren) | 3709 | * Fix type in MPC5XXX code (pointed out by Victor Wren) |
3707 | 3710 | ||
3708 | * Enabled password check on RMU board | 3711 | * Enabled password check on RMU board |
3709 | 3712 | ||
3710 | * Fix configuration problem with IceCube in LOWBOOT configuration: | 3713 | * Fix configuration problem with IceCube in LOWBOOT configuration: |
3711 | envrionment got embedded, corrupting the image layout. | 3714 | envrionment got embedded, corrupting the image layout. |
3712 | 3715 | ||
3713 | * Fix NEC display names (it's 6440 [for 640x480], not 6640). | 3716 | * Fix NEC display names (it's 6440 [for 640x480], not 6640). |
3714 | 3717 | ||
3715 | * Added BMS2003 board | 3718 | * Added BMS2003 board |
3716 | add support for NEC NL6448BC33-54. 10.4", 640x480 TFT display | 3719 | add support for NEC NL6448BC33-54. 10.4", 640x480 TFT display |
3717 | 3720 | ||
3718 | * Fix flash driver for TRAB board (must use Unlock Bypass Reset | 3721 | * Fix flash driver for TRAB board (must use Unlock Bypass Reset |
3719 | command to exit Unlock Bypass Mode); adjust timings for flash, SRAM | 3722 | command to exit Unlock Bypass Mode); adjust timings for flash, SRAM |
3720 | and CPLD | 3723 | and CPLD |
3721 | 3724 | ||
3722 | * Use "-fPIC" instead of "-mrelocatable" to prevent problems with | 3725 | * Use "-fPIC" instead of "-mrelocatable" to prevent problems with |
3723 | recent tools | 3726 | recent tools |
3724 | 3727 | ||
3725 | * Add checksum verification to 'imls' command | 3728 | * Add checksum verification to 'imls' command |
3726 | 3729 | ||
3727 | * Add bd_info fields needed for 4xx Linux I2C driver | 3730 | * Add bd_info fields needed for 4xx Linux I2C driver |
3728 | 3731 | ||
3729 | * Patch by Martin Krause, 4 Nov. 2003: | 3732 | * Patch by Martin Krause, 4 Nov. 2003: |
3730 | Fix error in cmd_vfd.c (TRAB board: "vfd /1" shows now only one Bitmap) | 3733 | Fix error in cmd_vfd.c (TRAB board: "vfd /1" shows now only one Bitmap) |
3731 | 3734 | ||
3732 | * Print used network interface when CONFIG_NET_MULTI is set | 3735 | * Print used network interface when CONFIG_NET_MULTI is set |
3733 | 3736 | ||
3734 | * Patch by Bernhard Kuhn, 28 Oct 2003: | 3737 | * Patch by Bernhard Kuhn, 28 Oct 2003: |
3735 | Add low boot support for MPC5200 | 3738 | Add low boot support for MPC5200 |
3736 | 3739 | ||
3737 | * Fix problem with dual PCMCIA support (NSCU) | 3740 | * Fix problem with dual PCMCIA support (NSCU) |
3738 | 3741 | ||
3739 | * Fix MPC5200 I2C initialization function | 3742 | * Fix MPC5200 I2C initialization function |
3740 | 3743 | ||
3741 | ====================================================================== | 3744 | ====================================================================== |
3742 | Changes for U-Boot 1.0.0: | 3745 | Changes for U-Boot 1.0.0: |
3743 | ====================================================================== | 3746 | ====================================================================== |
3744 | 3747 | ||
3745 | * Fix parameter passing to standalone images with bootm command | 3748 | * Fix parameter passing to standalone images with bootm command |
3746 | 3749 | ||
3747 | * Patch by Kyle Harris, 30 Oct 2003: | 3750 | * Patch by Kyle Harris, 30 Oct 2003: |
3748 | Fix build errors for ixdp425 board | 3751 | Fix build errors for ixdp425 board |
3749 | 3752 | ||
3750 | * Patch by David M. Horn, 29 Oct 2003: | 3753 | * Patch by David M. Horn, 29 Oct 2003: |
3751 | Fixes to build under CYGWIN | 3754 | Fixes to build under CYGWIN |
3752 | 3755 | ||
3753 | * Get IceCube MGT5100 working (again) | 3756 | * Get IceCube MGT5100 working (again) |
3754 | 3757 | ||
3755 | * Fix problems in memory test on some boards (which was not | 3758 | * Fix problems in memory test on some boards (which was not |
3756 | non-destructive as intended) | 3759 | non-destructive as intended) |
3757 | 3760 | ||
3758 | * Patch by Gary Jennejohn, 28 Oct 2003: | 3761 | * Patch by Gary Jennejohn, 28 Oct 2003: |
3759 | Change fs/fat/fat.c to put I/O buffers in BSS instead on the stack | 3762 | Change fs/fat/fat.c to put I/O buffers in BSS instead on the stack |
3760 | to prevent stack overflow on ARM systems | 3763 | to prevent stack overflow on ARM systems |
3761 | 3764 | ||
3762 | * Patch by Stephan Linz, 28 Oct 2003: | 3765 | * Patch by Stephan Linz, 28 Oct 2003: |
3763 | fix init sequence error for NIOS port | 3766 | fix init sequence error for NIOS port |
3764 | 3767 | ||
3765 | * Allow lowercase spelling for IceCube_5200; support MPC5200LITE name | 3768 | * Allow lowercase spelling for IceCube_5200; support MPC5200LITE name |
3766 | 3769 | ||
3767 | * Add CONFIG_VERSION_VARIABLE to TRAB configuration | 3770 | * Add CONFIG_VERSION_VARIABLE to TRAB configuration |
3768 | 3771 | ||
3769 | * Patch by Xiao Xianghua, 23 Oct 2003: | 3772 | * Patch by Xiao Xianghua, 23 Oct 2003: |
3770 | small patch for mpc85xx | 3773 | small patch for mpc85xx |
3771 | 3774 | ||
3772 | * Fix small problem in MPC5200 I2C driver | 3775 | * Fix small problem in MPC5200 I2C driver |
3773 | 3776 | ||
3774 | * Fix FCC3 support on ATC board | 3777 | * Fix FCC3 support on ATC board |
3775 | 3778 | ||
3776 | * Correct header printing for multi-image files in do_bootm() | 3779 | * Correct header printing for multi-image files in do_bootm() |
3777 | 3780 | ||
3778 | * Make CONFIG_SILENT_CONSOLE work with CONFIG_AUTOBOOT_KEYED | 3781 | * Make CONFIG_SILENT_CONSOLE work with CONFIG_AUTOBOOT_KEYED |
3779 | 3782 | ||
3780 | * Fix PCI problems on PPChameleon board | 3783 | * Fix PCI problems on PPChameleon board |
3781 | 3784 | ||
3782 | * Patch by Steven Scholz, 18 Oct 2003: | 3785 | * Patch by Steven Scholz, 18 Oct 2003: |
3783 | Fix AT91RM9200 ethernet driver | 3786 | Fix AT91RM9200 ethernet driver |
3784 | 3787 | ||
3785 | * Patch by Nye Liu, 17 Oct 2003: | 3788 | * Patch by Nye Liu, 17 Oct 2003: |
3786 | Fix typo in include/mpc8xx.h | 3789 | Fix typo in include/mpc8xx.h |
3787 | 3790 | ||
3788 | * Patch by Richard Woodruff, 16 Oct 03: | 3791 | * Patch by Richard Woodruff, 16 Oct 03: |
3789 | Fixes for cpu/arm925/interrupt.c | 3792 | Fixes for cpu/arm925/interrupt.c |
3790 | - Initialize timestamp & lastdec vars. | 3793 | - Initialize timestamp & lastdec vars. |
3791 | - fix timestamp overflows. | 3794 | - fix timestamp overflows. |
3792 | - fix lastdec overflow. | 3795 | - fix lastdec overflow. |
3793 | - smarter normalization to allow udelay() below 1ms to work. | 3796 | - smarter normalization to allow udelay() below 1ms to work. |
3794 | 3797 | ||
3795 | * Patch by Scott McNutt, 16 Oct | 3798 | * Patch by Scott McNutt, 16 Oct |
3796 | add networking support for the Altera Nios Development Kit, | 3799 | add networking support for the Altera Nios Development Kit, |
3797 | Cyclone Edition (DK-1C20) | 3800 | Cyclone Edition (DK-1C20) |
3798 | 3801 | ||
3799 | * Patch by Jon Diekema, 14 Oct 2003: | 3802 | * Patch by Jon Diekema, 14 Oct 2003: |
3800 | add hint about doc/README.silent to README file | 3803 | add hint about doc/README.silent to README file |
3801 | 3804 | ||
3802 | * Add CompactFlash support for NSCU | 3805 | * Add CompactFlash support for NSCU |
3803 | 3806 | ||
3804 | * Fix PCI problems on PPChameleonEVB | 3807 | * Fix PCI problems on PPChameleonEVB |
3805 | 3808 | ||
3806 | * TRAB auto-update: Base decision if we have to strip the image | 3809 | * TRAB auto-update: Base decision if we have to strip the image |
3807 | header on image type as encoded in the header | 3810 | header on image type as encoded in the header |
3808 | (include image type patch by Martin Krause, 17 Oct 2003) | 3811 | (include image type patch by Martin Krause, 17 Oct 2003) |
3809 | 3812 | ||
3810 | * Patches by Xianghua Xiao, 15 Oct 2003: | 3813 | * Patches by Xianghua Xiao, 15 Oct 2003: |
3811 | 3814 | ||
3812 | - Added Motorola CPU 8540/8560 support (cpu/85xx) | 3815 | - Added Motorola CPU 8540/8560 support (cpu/85xx) |
3813 | - Added Motorola MPC8540ADS board support (board/mpc8540ads) | 3816 | - Added Motorola MPC8540ADS board support (board/mpc8540ads) |
3814 | - Added Motorola MPC8560ADS board support (board/mpc8560ads) | 3817 | - Added Motorola MPC8560ADS board support (board/mpc8560ads) |
3815 | 3818 | ||
3816 | * Fix flash timings on TRAB board | 3819 | * Fix flash timings on TRAB board |
3817 | 3820 | ||
3818 | * Make sure HUSH is initialized for running auto-update scripts | 3821 | * Make sure HUSH is initialized for running auto-update scripts |
3819 | 3822 | ||
3820 | * Make 5200 reset command _really_ reset the board, without running | 3823 | * Make 5200 reset command _really_ reset the board, without running |
3821 | any other code after it | 3824 | any other code after it |
3822 | 3825 | ||
3823 | * Fix errors with flash erase when range spans across banks | 3826 | * Fix errors with flash erase when range spans across banks |
3824 | that are mapped in reverse order | 3827 | that are mapped in reverse order |
3825 | 3828 | ||
3826 | * Fix flash mapping and display on P3G4 board | 3829 | * Fix flash mapping and display on P3G4 board |
3827 | 3830 | ||
3828 | * Patch by Kyle Harris, 15 Jul 2003: | 3831 | * Patch by Kyle Harris, 15 Jul 2003: |
3829 | - add support for Intel IXP425 CPU | 3832 | - add support for Intel IXP425 CPU |
3830 | - add support for IXDP425 eval board | 3833 | - add support for IXDP425 eval board |
3831 | 3834 | ||
3832 | * Added config option CONFIG_SILENT_CONSOLE. See doc/README.silent | 3835 | * Added config option CONFIG_SILENT_CONSOLE. See doc/README.silent |
3833 | for more information | 3836 | for more information |
3834 | 3837 | ||
3835 | * Patch by Steven Scholz, 10 Oct 2003 | 3838 | * Patch by Steven Scholz, 10 Oct 2003 |
3836 | - Add support for Altera FPGA ACEX1K | 3839 | - Add support for Altera FPGA ACEX1K |
3837 | 3840 | ||
3838 | * Patches by Thomas Lange, 09 Oct 2003: | 3841 | * Patches by Thomas Lange, 09 Oct 2003: |
3839 | - fix cmd_ide.c for non ppc boards (read/write functions did not | 3842 | - fix cmd_ide.c for non ppc boards (read/write functions did not |
3840 | add ATA base address) | 3843 | add ATA base address) |
3841 | - fix for shannon board | 3844 | - fix for shannon board |
3842 | - #ifdef CONFIG_IDE_8xx_DIRECT some otherwise unused code | 3845 | - #ifdef CONFIG_IDE_8xx_DIRECT some otherwise unused code |
3843 | - Endian swap ATA identity for all big endian CPUs, not just PPC | 3846 | - Endian swap ATA identity for all big endian CPUs, not just PPC |
3844 | - MIPS only: New option CONFIG_MEMSIZE_IN_BYTES for passing memsize | 3847 | - MIPS only: New option CONFIG_MEMSIZE_IN_BYTES for passing memsize |
3845 | args to linux | 3848 | args to linux |
3846 | - add support for dbau1x00 board (MIPS32) | 3849 | - add support for dbau1x00 board (MIPS32) |
3847 | 3850 | ||
3848 | * Patch by Sangmoon Kim, 07 Oct 2003: | 3851 | * Patch by Sangmoon Kim, 07 Oct 2003: |
3849 | add support for debris board | 3852 | add support for debris board |
3850 | 3853 | ||
3851 | * Patch by Martin Krause, 09 Oct 2003: | 3854 | * Patch by Martin Krause, 09 Oct 2003: |
3852 | Fixes for TRAB board | 3855 | Fixes for TRAB board |
3853 | - /board/trab/rs485.c: correct baudrate | 3856 | - /board/trab/rs485.c: correct baudrate |
3854 | - /board/trab/cmd_trab.c: bug fix for problem with timer overflow in | 3857 | - /board/trab/cmd_trab.c: bug fix for problem with timer overflow in |
3855 | udelay(); fix some timing problems with adc controller | 3858 | udelay(); fix some timing problems with adc controller |
3856 | - /board/trab/trab_fkt.c: add new commands: gain, eeprom and power; | 3859 | - /board/trab/trab_fkt.c: add new commands: gain, eeprom and power; |
3857 | modify commands: touch and buzzer | 3860 | modify commands: touch and buzzer |
3858 | 3861 | ||
3859 | * Disable CONFIG_SUPPORT_VFAT when used with CONFIG_AUTO_UPDATE | 3862 | * Disable CONFIG_SUPPORT_VFAT when used with CONFIG_AUTO_UPDATE |
3860 | (quick & dirty workaround for rogue pointer problem in get_vfatname()); | 3863 | (quick & dirty workaround for rogue pointer problem in get_vfatname()); |
3861 | Use direct function calls for auto_update instead of hush commands | 3864 | Use direct function calls for auto_update instead of hush commands |
3862 | 3865 | ||
3863 | * Patch by Scott McNutt, 04 Oct 2003: | 3866 | * Patch by Scott McNutt, 04 Oct 2003: |
3864 | - add support for Altera Nios-32 CPU | 3867 | - add support for Altera Nios-32 CPU |
3865 | - add support for Nios Cyclone Development Kit (DK-1C20) | 3868 | - add support for Nios Cyclone Development Kit (DK-1C20) |
3866 | 3869 | ||
3867 | * Patch by Steven Scholz, 29 Sep 2003: | 3870 | * Patch by Steven Scholz, 29 Sep 2003: |
3868 | - A second parameter for bootm overwrites the load address for | 3871 | - A second parameter for bootm overwrites the load address for |
3869 | "Standalone Application" images. | 3872 | "Standalone Application" images. |
3870 | - bootm sets environment variable "filesize" to the resulting | 3873 | - bootm sets environment variable "filesize" to the resulting |
3871 | (uncompressed) data length for "Standalone Application" images | 3874 | (uncompressed) data length for "Standalone Application" images |
3872 | when autostart is set to "no". Now you can do something like | 3875 | when autostart is set to "no". Now you can do something like |
3873 | if bootm $fpgadata $some_free_ram ; then | 3876 | if bootm $fpgadata $some_free_ram ; then |
3874 | fpga load 0 $some_free_ram $filesize | 3877 | fpga load 0 $some_free_ram $filesize |
3875 | fi | 3878 | fi |
3876 | 3879 | ||
3877 | * Patch by Denis Peter, 25 Sept 2003: | 3880 | * Patch by Denis Peter, 25 Sept 2003: |
3878 | add support for the MIP405 Rev. C board | 3881 | add support for the MIP405 Rev. C board |
3879 | 3882 | ||
3880 | * Patch by Yuli Barcohen, 25 Sep 2003: | 3883 | * Patch by Yuli Barcohen, 25 Sep 2003: |
3881 | add support for Zephyr Engineering ZPC.1900 board | 3884 | add support for Zephyr Engineering ZPC.1900 board |
3882 | 3885 | ||
3883 | * Patch by Anders Larsen, 23 Sep 2003: | 3886 | * Patch by Anders Larsen, 23 Sep 2003: |
3884 | add CMD_PORTIO to CFG_CMD_NONSTD (commands in question are only | 3887 | add CMD_PORTIO to CFG_CMD_NONSTD (commands in question are only |
3885 | implemented for the x86 architecture) | 3888 | implemented for the x86 architecture) |
3886 | 3889 | ||
3887 | * Patch by Sangmoon Kim, 23 Sep 2003: | 3890 | * Patch by Sangmoon Kim, 23 Sep 2003: |
3888 | fix pll_pci_to_mem_multiplier table for MPC8245 | 3891 | fix pll_pci_to_mem_multiplier table for MPC8245 |
3889 | 3892 | ||
3890 | * Patch by Anders Larsen, 22 Sep 2003: | 3893 | * Patch by Anders Larsen, 22 Sep 2003: |
3891 | enable timed autoboot on PXA | 3894 | enable timed autoboot on PXA |
3892 | 3895 | ||
3893 | * Patch by David Mรผller, 22 Sep 2003: | 3896 | * Patch by David Mรผller, 22 Sep 2003: |
3894 | - add $(CFLAGS) to "-print-libgcc-filename" so compiler driver | 3897 | - add $(CFLAGS) to "-print-libgcc-filename" so compiler driver |
3895 | returns correct libgcc file path | 3898 | returns correct libgcc file path |
3896 | - "latency" reduction of busy-loop waiting to improve "U-Boot" boot | 3899 | - "latency" reduction of busy-loop waiting to improve "U-Boot" boot |
3897 | time on s3c24x0 systems | 3900 | time on s3c24x0 systems |
3898 | 3901 | ||
3899 | * Patch by Jon Diekema, 19 Sep 2003: | 3902 | * Patch by Jon Diekema, 19 Sep 2003: |
3900 | - Add CFG_FAULT_ECHO_LINK_DOWN option to echo the inverted Ethernet | 3903 | - Add CFG_FAULT_ECHO_LINK_DOWN option to echo the inverted Ethernet |
3901 | link state to the fault LED. | 3904 | link state to the fault LED. |
3902 | - In NetLoop, make the Fault LED reflect the link status. The link | 3905 | - In NetLoop, make the Fault LED reflect the link status. The link |
3903 | status gets updated on entry, and on timeouts. | 3906 | status gets updated on entry, and on timeouts. |
3904 | 3907 | ||
3905 | * Patch by Anders Larsen, 18 Sep 2003: | 3908 | * Patch by Anders Larsen, 18 Sep 2003: |
3906 | allow mkimage to build and run on Cygwin-hosted systems | 3909 | allow mkimage to build and run on Cygwin-hosted systems |
3907 | 3910 | ||
3908 | * Patch by Frank Mรผller, 18 Sep 2003: | 3911 | * Patch by Frank Mรผller, 18 Sep 2003: |
3909 | use bi_intfreq instead of bi_busfreq to compute fec_mii_speed in | 3912 | use bi_intfreq instead of bi_busfreq to compute fec_mii_speed in |
3910 | cpu/mpc8xx/fec.c | 3913 | cpu/mpc8xx/fec.c |
3911 | 3914 | ||
3912 | * Patch by Pantelis Antoniou, 16 Sep 2003: | 3915 | * Patch by Pantelis Antoniou, 16 Sep 2003: |
3913 | add tool to compute fileds in the PLPRCR register for MPC86x | 3916 | add tool to compute fileds in the PLPRCR register for MPC86x |
3914 | 3917 | ||
3915 | * Use IH_TYPE_FILESYSTEM for TRAB "disk" images. | 3918 | * Use IH_TYPE_FILESYSTEM for TRAB "disk" images. |
3916 | 3919 | ||
3917 | * Fix build problems under FreeBSD | 3920 | * Fix build problems under FreeBSD |
3918 | 3921 | ||
3919 | * Add generic filesystem image type | 3922 | * Add generic filesystem image type |
3920 | 3923 | ||
3921 | * Make fatload set filesize environment variable | 3924 | * Make fatload set filesize environment variable |
3922 | 3925 | ||
3923 | * enable basic / medium / high-end configurations for PPChameleonEVB | 3926 | * enable basic / medium / high-end configurations for PPChameleonEVB |
3924 | board; fix NAND code | 3927 | board; fix NAND code |
3925 | 3928 | ||
3926 | * enable TFTP client code to specify to the server the desired | 3929 | * enable TFTP client code to specify to the server the desired |
3927 | timeout value (see RFC-2349) | 3930 | timeout value (see RFC-2349) |
3928 | 3931 | ||
3929 | * Improve SDRAM setup for TRAB board | 3932 | * Improve SDRAM setup for TRAB board |
3930 | 3933 | ||
3931 | * Suppress all output with splashscreen configured only if "splashimage" | 3934 | * Suppress all output with splashscreen configured only if "splashimage" |
3932 | is set | 3935 | is set |
3933 | 3936 | ||
3934 | * Fix problems with I2C support for mpc5200 | 3937 | * Fix problems with I2C support for mpc5200 |
3935 | 3938 | ||
3936 | * Adapt TRAB configuration and auto_update to new memory layout | 3939 | * Adapt TRAB configuration and auto_update to new memory layout |
3937 | 3940 | ||
3938 | * Add configuration for wtk board | 3941 | * Add configuration for wtk board |
3939 | 3942 | ||
3940 | * Add support for the Sharp LQ065T9DR51U LCD display | 3943 | * Add support for the Sharp LQ065T9DR51U LCD display |
3941 | 3944 | ||
3942 | * Patch by Rune Torgersen, 17 Sep 2003: | 3945 | * Patch by Rune Torgersen, 17 Sep 2003: |
3943 | - Fixes for MPC8266 default config | 3946 | - Fixes for MPC8266 default config |
3944 | - Allow eth_loopback_test() on 8260 to use a subset of the FCC's | 3947 | - Allow eth_loopback_test() on 8260 to use a subset of the FCC's |
3945 | 3948 | ||
3946 | * Patches by Jon Diekema, 17 Sep 2003: | 3949 | * Patches by Jon Diekema, 17 Sep 2003: |
3947 | - update README (SHOW_BOOT_PROGRESS values for cmd_nand.c and | 3950 | - update README (SHOW_BOOT_PROGRESS values for cmd_nand.c and |
3948 | env_common.c) | 3951 | env_common.c) |
3949 | - sbc8260 tweaks | 3952 | - sbc8260 tweaks |
3950 | - adjust "help" output | 3953 | - adjust "help" output |
3951 | 3954 | ||
3952 | * Patches by Anders Larsen, 17 Sep 2003: | 3955 | * Patches by Anders Larsen, 17 Sep 2003: |
3953 | - fix spelling errors | 3956 | - fix spelling errors |
3954 | - set GD_FLG_DEVINIT flag only after device function pointers | 3957 | - set GD_FLG_DEVINIT flag only after device function pointers |
3955 | are valid | 3958 | are valid |
3956 | - Allow CFG_ALT_MEMTEST on systems where address zero isn't | 3959 | - Allow CFG_ALT_MEMTEST on systems where address zero isn't |
3957 | writeable | 3960 | writeable |
3958 | - enable 3.rd UART (ST-UART) on PXA(XScale) CPUs | 3961 | - enable 3.rd UART (ST-UART) on PXA(XScale) CPUs |
3959 | - trigger watchdog while waiting in serial driver | 3962 | - trigger watchdog while waiting in serial driver |
3960 | 3963 | ||
3961 | * Add auto-update code for TRAB board using USB memory sticks, | 3964 | * Add auto-update code for TRAB board using USB memory sticks, |
3962 | support new configuration with more memory | 3965 | support new configuration with more memory |
3963 | 3966 | ||
3964 | * disable MPC5200 bus pipelining as workaround for bus contention | 3967 | * disable MPC5200 bus pipelining as workaround for bus contention |
3965 | 3968 | ||
3966 | * Modify XLB arbiter priorities on MPC5200 so all devices use same | 3969 | * Modify XLB arbiter priorities on MPC5200 so all devices use same |
3967 | priority; configure critical interrupts to be handled like external | 3970 | priority; configure critical interrupts to be handled like external |
3968 | interrupts | 3971 | interrupts |
3969 | 3972 | ||
3970 | * Make IPB clock on MGT5100/MPC5200 configurable in board config file; | 3973 | * Make IPB clock on MGT5100/MPC5200 configurable in board config file; |
3971 | go back to 66 MHz for stability | 3974 | go back to 66 MHz for stability |
3972 | 3975 | ||
3973 | * Patches by Jon Diekema, 15 Sep 2003: | 3976 | * Patches by Jon Diekema, 15 Sep 2003: |
3974 | - add description for missing CFG_CMD_* entries in the README file | 3977 | - add description for missing CFG_CMD_* entries in the README file |
3975 | - sacsng tweaks | 3978 | - sacsng tweaks |
3976 | 3979 | ||
3977 | * Patch by Gleb Natapov, 14 Sep 2003: | 3980 | * Patch by Gleb Natapov, 14 Sep 2003: |
3978 | enable watchdog support for all MPC824x boards that have a watchdog | 3981 | enable watchdog support for all MPC824x boards that have a watchdog |
3979 | 3982 | ||
3980 | * On MPC5200, restrict FEC to a maximum of 10 Mbps to work around the | 3983 | * On MPC5200, restrict FEC to a maximum of 10 Mbps to work around the |
3981 | "Non-octet Aligned Frame" errors we see at 100 Mbps | 3984 | "Non-octet Aligned Frame" errors we see at 100 Mbps |
3982 | 3985 | ||
3983 | * Patch by Sharad Gupta, 14 Sep 2003: | 3986 | * Patch by Sharad Gupta, 14 Sep 2003: |
3984 | fix SPR numbers for upper BAT register ([ID]BAT[4-7][UL]) | 3987 | fix SPR numbers for upper BAT register ([ID]BAT[4-7][UL]) |
3985 | 3988 | ||
3986 | * Patch by llandre, 11 Sep 2003: | 3989 | * Patch by llandre, 11 Sep 2003: |
3987 | update configuration for PPChameleonEVB board | 3990 | update configuration for PPChameleonEVB board |
3988 | 3991 | ||
3989 | * Patch by David Mรผller, 13 Sep 2003: | 3992 | * Patch by David Mรผller, 13 Sep 2003: |
3990 | various changes to VCMA9 board specific files | 3993 | various changes to VCMA9 board specific files |
3991 | 3994 | ||
3992 | * Add I2C support for MGT5100 / MPC5200 | 3995 | * Add I2C support for MGT5100 / MPC5200 |
3993 | 3996 | ||
3994 | * Patch by Rune Torgersen, 11 Sep 2003: | 3997 | * Patch by Rune Torgersen, 11 Sep 2003: |
3995 | Changed default memory option on MPC8266ADS to NOT be Page Based | 3998 | Changed default memory option on MPC8266ADS to NOT be Page Based |
3996 | Interleave, since this doesn't work very well with the standard | 3999 | Interleave, since this doesn't work very well with the standard |
3997 | 16MB DIMM | 4000 | 16MB DIMM |
3998 | 4001 | ||
3999 | * Patch by George G. Davis, 12 Sep 2003: | 4002 | * Patch by George G. Davis, 12 Sep 2003: |
4000 | fix Makefile settings for sk98 driver | 4003 | fix Makefile settings for sk98 driver |
4001 | 4004 | ||
4002 | * Patch by Stefan Roese, 12 Sep 2003: | 4005 | * Patch by Stefan Roese, 12 Sep 2003: |
4003 | - new boards added: DP405, HUB405, PLU405, VOH405 | 4006 | - new boards added: DP405, HUB405, PLU405, VOH405 |
4004 | - some esd boards updated | 4007 | - some esd boards updated |
4005 | - cpu/ppc4xx/sdram.c: disable memory controller before setting | 4008 | - cpu/ppc4xx/sdram.c: disable memory controller before setting |
4006 | first values | 4009 | first values |
4007 | - cpu/ppc4xx/405_pci.c: set vendor id on PPC405EP systems | 4010 | - cpu/ppc4xx/405_pci.c: set vendor id on PPC405EP systems |
4008 | 4011 | ||
4009 | * Patch by Martin Krause, 11 Sep 2003: | 4012 | * Patch by Martin Krause, 11 Sep 2003: |
4010 | add burn-in tests for TRAB board | 4013 | add burn-in tests for TRAB board |
4011 | 4014 | ||
4012 | * Enable instruction cache on MPC5200 board | 4015 | * Enable instruction cache on MPC5200 board |
4013 | 4016 | ||
4014 | * Patch by Denis Peter, 11 Sep 2003: | 4017 | * Patch by Denis Peter, 11 Sep 2003: |
4015 | - fix USB data pointer assignment for bulk only transfer. | 4018 | - fix USB data pointer assignment for bulk only transfer. |
4016 | - prevent to display erased directories in FAT filesystem. | 4019 | - prevent to display erased directories in FAT filesystem. |
4017 | 4020 | ||
4018 | * Change output format for NAND flash - make it look like for other | 4021 | * Change output format for NAND flash - make it look like for other |
4019 | memory, too | 4022 | memory, too |
4020 | 4023 | ||
4021 | ====================================================================== | 4024 | ====================================================================== |
4022 | Changes for U-Boot 0.4.8: | 4025 | Changes for U-Boot 0.4.8: |
4023 | ====================================================================== | 4026 | ====================================================================== |
4024 | 4027 | ||
4025 | * Add I2C and RTC support for RMU board | 4028 | * Add I2C and RTC support for RMU board |
4026 | 4029 | ||
4027 | * Patches by Denis Peter, 9 Sep 2003: | 4030 | * Patches by Denis Peter, 9 Sep 2003: |
4028 | add FAT support for IDE, SCSI and USB | 4031 | add FAT support for IDE, SCSI and USB |
4029 | 4032 | ||
4030 | * Patches by Gleb Natapov, 2 Sep 2003: | 4033 | * Patches by Gleb Natapov, 2 Sep 2003: |
4031 | - cleanup of POST code for unsupported architectures | 4034 | - cleanup of POST code for unsupported architectures |
4032 | - MPC824x locks way0 of data cache for use as initial RAM; | 4035 | - MPC824x locks way0 of data cache for use as initial RAM; |
4033 | this patch unlocks it after relocation to RAM and invalidates | 4036 | this patch unlocks it after relocation to RAM and invalidates |
4034 | the locked entries. | 4037 | the locked entries. |
4035 | 4038 | ||
4036 | * Patch by Gleb Natapov, 30 Aug 2003: | 4039 | * Patch by Gleb Natapov, 30 Aug 2003: |
4037 | new I2C driver for mpc107 bridge. Now works from flash. | 4040 | new I2C driver for mpc107 bridge. Now works from flash. |
4038 | 4041 | ||
4039 | * Patch by Dave Ellis, 11 Aug 2003: | 4042 | * Patch by Dave Ellis, 11 Aug 2003: |
4040 | - JFFS2: fix typo in common/cmd_jffs2.c | 4043 | - JFFS2: fix typo in common/cmd_jffs2.c |
4041 | - JFFS2: fix CFG_JFFS2_SORT_FRAGMENTS option | 4044 | - JFFS2: fix CFG_JFFS2_SORT_FRAGMENTS option |
4042 | - JFFS2: remove node version 0 warning | 4045 | - JFFS2: remove node version 0 warning |
4043 | - JFFS2: accept JFFS2 PADDING nodes | 4046 | - JFFS2: accept JFFS2 PADDING nodes |
4044 | - SXNI855T: add AM29LV800 support | 4047 | - SXNI855T: add AM29LV800 support |
4045 | - SXNI855T: move environment from EEPROM to flash | 4048 | - SXNI855T: move environment from EEPROM to flash |
4046 | - SXNI855T: boot from JFFS2 in NOR or NAND flash | 4049 | - SXNI855T: boot from JFFS2 in NOR or NAND flash |
4047 | 4050 | ||
4048 | * Patch by Bill Hargen, 11 Aug 2003: | 4051 | * Patch by Bill Hargen, 11 Aug 2003: |
4049 | fixes for I2C on MPC8240 | 4052 | fixes for I2C on MPC8240 |
4050 | - fix i2c_write routine | 4053 | - fix i2c_write routine |
4051 | - fix iprobe command | 4054 | - fix iprobe command |
4052 | - eliminates use of global variables, plus dead code, cleanup. | 4055 | - eliminates use of global variables, plus dead code, cleanup. |
4053 | 4056 | ||
4054 | * Add support for USB Mass Storage Devices (BBB) | 4057 | * Add support for USB Mass Storage Devices (BBB) |
4055 | (tested with USB memory sticks only) | 4058 | (tested with USB memory sticks only) |
4056 | 4059 | ||
4057 | * Avoid flicker on TRAB's VFD | 4060 | * Avoid flicker on TRAB's VFD |
4058 | 4061 | ||
4059 | * Add support for SK98xx driver | 4062 | * Add support for SK98xx driver |
4060 | 4063 | ||
4061 | * Add PCI support for SL8245 board | 4064 | * Add PCI support for SL8245 board |
4062 | 4065 | ||
4063 | * Support IceCube board configurations with 1 x AMD AM29LV065 (8 MB) | 4066 | * Support IceCube board configurations with 1 x AMD AM29LV065 (8 MB) |
4064 | or 1 x AM29LV652 (two LV065 in one chip = 16 MB); | 4067 | or 1 x AM29LV652 (two LV065 in one chip = 16 MB); |
4065 | Run IPB at 133 Mhz; adjust the MII clock frequency accordingly | 4068 | Run IPB at 133 Mhz; adjust the MII clock frequency accordingly |
4066 | 4069 | ||
4067 | * Set BRG_CLK on PM825/826 to 64MHz (VCO_OUT / 4, instead of 16 MHz) | 4070 | * Set BRG_CLK on PM825/826 to 64MHz (VCO_OUT / 4, instead of 16 MHz) |
4068 | to allow for more accurate baudrate settings | 4071 | to allow for more accurate baudrate settings |
4069 | (error now 0.7% at 115 kbps, instead of 3.5% before) | 4072 | (error now 0.7% at 115 kbps, instead of 3.5% before) |
4070 | 4073 | ||
4071 | * Patch by Andreas Mohr, 4 Sep 2003: | 4074 | * Patch by Andreas Mohr, 4 Sep 2003: |
4072 | Fix a lot of spelling errors | 4075 | Fix a lot of spelling errors |
4073 | 4076 | ||
4074 | * Add support for PPChameleon Eval Board | 4077 | * Add support for PPChameleon Eval Board |
4075 | 4078 | ||
4076 | * Add support for P3G4 board | 4079 | * Add support for P3G4 board |
4077 | 4080 | ||
4078 | * Fix problem with MGT5100 FEC driver: add "early" MAC address | 4081 | * Fix problem with MGT5100 FEC driver: add "early" MAC address |
4079 | initialization | 4082 | initialization |
4080 | 4083 | ||
4081 | * Patch by Yuli Barcohen, 7 Aug 2003: | 4084 | * Patch by Yuli Barcohen, 7 Aug 2003: |
4082 | check BCSR to detect if the board is configured in PCI mode | 4085 | check BCSR to detect if the board is configured in PCI mode |
4083 | 4086 | ||
4084 | ====================================================================== | 4087 | ====================================================================== |
4085 | Changes for U-Boot 0.4.7: | 4088 | Changes for U-Boot 0.4.7: |
4086 | ====================================================================== | 4089 | ====================================================================== |
4087 | 4090 | ||
4088 | * Patch by Raghu Krishnaprasad, 7 Aug 2003: | 4091 | * Patch by Raghu Krishnaprasad, 7 Aug 2003: |
4089 | add support for Adder II MPC852T module | 4092 | add support for Adder II MPC852T module |
4090 | 4093 | ||
4091 | * Patch by George G. Davis, 19 Aug 2003: | 4094 | * Patch by George G. Davis, 19 Aug 2003: |
4092 | fix TI Innovator/OMAP1510 pin configs | 4095 | fix TI Innovator/OMAP1510 pin configs |
4093 | 4096 | ||
4094 | * Patches by Kshitij, 18 Aug 2003 | 4097 | * Patches by Kshitij, 18 Aug 2003 |
4095 | - add support for arm926ejs cpu core | 4098 | - add support for arm926ejs cpu core |
4096 | - add support for TI OMAP 1610 Innovator Board | 4099 | - add support for TI OMAP 1610 Innovator Board |
4097 | 4100 | ||
4098 | * Patch by Yuli Barcohen, 14 Aug 2003: | 4101 | * Patch by Yuli Barcohen, 14 Aug 2003: |
4099 | add support for bzip2 uncompression | 4102 | add support for bzip2 uncompression |
4100 | 4103 | ||
4101 | * Add GCC library to examples/Makefile so GCC utility functions will | 4104 | * Add GCC library to examples/Makefile so GCC utility functions will |
4102 | be resolved, too | 4105 | be resolved, too |
4103 | 4106 | ||
4104 | * Add I2C and RTC support for RMU board using software I2C driver | 4107 | * Add I2C and RTC support for RMU board using software I2C driver |
4105 | (because of better response to iprobe command); fix problem with | 4108 | (because of better response to iprobe command); fix problem with |
4106 | "reset" command | 4109 | "reset" command |
4107 | 4110 | ||
4108 | * Patch by Matthias Fuchs, 28 Aug 2003: | 4111 | * Patch by Matthias Fuchs, 28 Aug 2003: |
4109 | Added CONFIG_BOOTP_DNS2 and CONFIG_BOOTP_SEND_HOSTNAME to | 4112 | Added CONFIG_BOOTP_DNS2 and CONFIG_BOOTP_SEND_HOSTNAME to |
4110 | CONFIG_BOOTP_MAKS (see README). | 4113 | CONFIG_BOOTP_MAKS (see README). |
4111 | 4114 | ||
4112 | * Fix ICU862 environment problem | 4115 | * Fix ICU862 environment problem |
4113 | 4116 | ||
4114 | * Fix RAM size detection for RMU board | 4117 | * Fix RAM size detection for RMU board |
4115 | 4118 | ||
4116 | * Implement "reset" for MGT5100/MPC5200 systems | 4119 | * Implement "reset" for MGT5100/MPC5200 systems |
4117 | 4120 | ||
4118 | ====================================================================== | 4121 | ====================================================================== |
4119 | Changes for U-Boot 0.4.6: | 4122 | Changes for U-Boot 0.4.6: |
4120 | ====================================================================== | 4123 | ====================================================================== |
4121 | 4124 | ||
4122 | * Make Ethernet autonegotiation on INCA-IP work for all clock rates; | 4125 | * Make Ethernet autonegotiation on INCA-IP work for all clock rates; |
4123 | allow selection of clock frequency as "make" target | 4126 | allow selection of clock frequency as "make" target |
4124 | 4127 | ||
4125 | * Implement memory autosizing code for IceCube boards | 4128 | * Implement memory autosizing code for IceCube boards |
4126 | 4129 | ||
4127 | * Configure network port on INCA-IP for autonegotiation | 4130 | * Configure network port on INCA-IP for autonegotiation |
4128 | 4131 | ||
4129 | * Fix overflow problem in network timeout code | 4132 | * Fix overflow problem in network timeout code |
4130 | 4133 | ||
4131 | * Patch by Richard Woodruff, 8 Aug 2003: | 4134 | * Patch by Richard Woodruff, 8 Aug 2003: |
4132 | Allow crc32 to be used at address 0x000 (crc32_no_comp, too). | 4135 | Allow crc32 to be used at address 0x000 (crc32_no_comp, too). |
4133 | 4136 | ||
4134 | ====================================================================== | 4137 | ====================================================================== |
4135 | Changes for U-Boot 0.4.5: | 4138 | Changes for U-Boot 0.4.5: |
4136 | ====================================================================== | 4139 | ====================================================================== |
4137 | 4140 | ||
4138 | * Update for TQM board defaults: | 4141 | * Update for TQM board defaults: |
4139 | disable clocks_in_mhz, enable boot count limit | 4142 | disable clocks_in_mhz, enable boot count limit |
4140 | 4143 | ||
4141 | * Removed tools/gdb from "make all" target. Added make target "gdbtools" | 4144 | * Removed tools/gdb from "make all" target. Added make target "gdbtools" |
4142 | in toplevel directory instead. Removed astest.c from tools/gdb because | 4145 | in toplevel directory instead. Removed astest.c from tools/gdb because |
4143 | it is no longer relevant. | 4146 | it is no longer relevant. |
4144 | 4147 | ||
4145 | * Fix PCI support for MPC5200 / IceCube Board | 4148 | * Fix PCI support for MPC5200 / IceCube Board |
4146 | 4149 | ||
4147 | * Map ISP1362 USB OTG controller for NSCU board | 4150 | * Map ISP1362 USB OTG controller for NSCU board |
4148 | 4151 | ||
4149 | * Patch by Brad Parker, 02 Aug 2003: | 4152 | * Patch by Brad Parker, 02 Aug 2003: |
4150 | fix sc520_cdp problems | 4153 | fix sc520_cdp problems |
4151 | 4154 | ||
4152 | * Implement Boot Cycle Detection (Req. 2.3 of OSDL CGL Reqirements) | 4155 | * Implement Boot Cycle Detection (Req. 2.3 of OSDL CGL Reqirements) |
4153 | 4156 | ||
4154 | * Allow erase command to cross flash bank boundaries | 4157 | * Allow erase command to cross flash bank boundaries |
4155 | 4158 | ||
4156 | * Patch by Scott McNutt, 21 Jul 2003: | 4159 | * Patch by Scott McNutt, 21 Jul 2003: |
4157 | Add support for LynuxWorks Kernel Downloadable Images (KDIs). | 4160 | Add support for LynuxWorks Kernel Downloadable Images (KDIs). |
4158 | Both LynxOS and BlueCat linux KDIs are supported. | 4161 | Both LynxOS and BlueCat linux KDIs are supported. |
4159 | 4162 | ||
4160 | * Patch by Richard Woodruff, 25 Jul 2003: | 4163 | * Patch by Richard Woodruff, 25 Jul 2003: |
4161 | use more reliable reset for OMAP/925T | 4164 | use more reliable reset for OMAP/925T |
4162 | 4165 | ||
4163 | * Patch by Nye Liu, 25 Jul 2003: | 4166 | * Patch by Nye Liu, 25 Jul 2003: |
4164 | fix typo in mpc8xx.h | 4167 | fix typo in mpc8xx.h |
4165 | 4168 | ||
4166 | * Patch by Richard Woodruff, 24 Jul 2003: | 4169 | * Patch by Richard Woodruff, 24 Jul 2003: |
4167 | Fixes for cmd_nand.c: | 4170 | Fixes for cmd_nand.c: |
4168 | - Fixed null dereferece which could result in incorrect ECC values. | 4171 | - Fixed null dereferece which could result in incorrect ECC values. |
4169 | - Added support for devices with no Ready/Busy signal hooked up. | 4172 | - Added support for devices with no Ready/Busy signal hooked up. |
4170 | - Added OMAP1510 read/write protect handling. | 4173 | - Added OMAP1510 read/write protect handling. |
4171 | - Fixed nand.h's ECCPOS. A conflict existed with POS5 and badblock | 4174 | - Fixed nand.h's ECCPOS. A conflict existed with POS5 and badblock |
4172 | for non-JFFS2. | 4175 | for non-JFFS2. |
4173 | - Switched default ECC to be JFFS2. | 4176 | - Switched default ECC to be JFFS2. |
4174 | 4177 | ||
4175 | * Allow crc32 to be used at address 0x000 | 4178 | * Allow crc32 to be used at address 0x000 |
4176 | 4179 | ||
4177 | * Provide consistent interface to standalone applications to access | 4180 | * Provide consistent interface to standalone applications to access |
4178 | the 'global_data' structure | 4181 | the 'global_data' structure |
4179 | Provide a doc/README.standalone more useful to users/developers. | 4182 | Provide a doc/README.standalone more useful to users/developers. |
4180 | 4183 | ||
4181 | * Make IceCube MGT5100 FEC driver work | 4184 | * Make IceCube MGT5100 FEC driver work |
4182 | 4185 | ||
4183 | * Implement new mechanism to export U-Boot's functions to standalone | 4186 | * Implement new mechanism to export U-Boot's functions to standalone |
4184 | applications: instead of using (PPC-specific) system calls we now | 4187 | applications: instead of using (PPC-specific) system calls we now |
4185 | use a jump table; please see doc/README.standalone for details | 4188 | use a jump table; please see doc/README.standalone for details |
4186 | 4189 | ||
4187 | * Patch by Dave Westwood, 24 Jul 2003: | 4190 | * Patch by Dave Westwood, 24 Jul 2003: |
4188 | added support for Unity OS (a proprietary OS) | 4191 | added support for Unity OS (a proprietary OS) |
4189 | 4192 | ||
4190 | * Patch by Detlev Zundel, 23 Jul 2003: | 4193 | * Patch by Detlev Zundel, 23 Jul 2003: |
4191 | add "imls" command to print flash table of contents | 4194 | add "imls" command to print flash table of contents |
4192 | 4195 | ||
4193 | * Fix cold boot detection for log buffer reset | 4196 | * Fix cold boot detection for log buffer reset |
4194 | 4197 | ||
4195 | * Return error for invalid length specifiers with "cp.X" etc. | 4198 | * Return error for invalid length specifiers with "cp.X" etc. |
4196 | 4199 | ||
4197 | * Fix startup problem on MIPS | 4200 | * Fix startup problem on MIPS |
4198 | 4201 | ||
4199 | * Allow for CONFIG_SPLASH_SCREEN even when no explicit | 4202 | * Allow for CONFIG_SPLASH_SCREEN even when no explicit |
4200 | bitmap support is configured | 4203 | bitmap support is configured |
4201 | 4204 | ||
4202 | * Patch by Bill Hargen, 18 Jul 2003: | 4205 | * Patch by Bill Hargen, 18 Jul 2003: |
4203 | - fix endinaness problem in cpu/mpc824x/drivers/i2c/i2c1.c | 4206 | - fix endinaness problem in cpu/mpc824x/drivers/i2c/i2c1.c |
4204 | 4207 | ||
4205 | * Patch by Denis Peter, 18 Jul 2003: | 4208 | * Patch by Denis Peter, 18 Jul 2003: |
4206 | - fix memory configuration for MIP405T | 4209 | - fix memory configuration for MIP405T |
4207 | - fix printout of baudrate for "loadb <loadaddr> <baudrate>" | 4210 | - fix printout of baudrate for "loadb <loadaddr> <baudrate>" |
4208 | 4211 | ||
4209 | * Cleanup of TQM82xx configurations; use "official" board types | 4212 | * Cleanup of TQM82xx configurations; use "official" board types |
4210 | to make selection easier. | 4213 | to make selection easier. |
4211 | 4214 | ||
4212 | * Patch by Martin Krause, 17 Jul 2003: | 4215 | * Patch by Martin Krause, 17 Jul 2003: |
4213 | add delay to get I2C working with "imm" command and s3c24x0_i2c.c | 4216 | add delay to get I2C working with "imm" command and s3c24x0_i2c.c |
4214 | 4217 | ||
4215 | * Patch by Richard Woodruff, 17 July 03: | 4218 | * Patch by Richard Woodruff, 17 July 03: |
4216 | - Fixed bug in OMAP1510 baud rate divisor settings. | 4219 | - Fixed bug in OMAP1510 baud rate divisor settings. |
4217 | 4220 | ||
4218 | * Patch by Nye Liu, 16 July 2003: | 4221 | * Patch by Nye Liu, 16 July 2003: |
4219 | MPC860FADS fixes: | 4222 | MPC860FADS fixes: |
4220 | - add MPC86xADS support (uses MPC86xADS.h) | 4223 | - add MPC86xADS support (uses MPC86xADS.h) |
4221 | - add 866P/T core support (also MPC859T/MPC859DSL/MPC852T) | 4224 | - add 866P/T core support (also MPC859T/MPC859DSL/MPC852T) |
4222 | o PLPRCR changes | 4225 | o PLPRCR changes |
4223 | o BRG changes (EXTAL/XTAL restricted to 10MHz) | 4226 | o BRG changes (EXTAL/XTAL restricted to 10MHz) |
4224 | o don't trust gclk() software measurement by default, depend on | 4227 | o don't trust gclk() software measurement by default, depend on |
4225 | CONFIG_8xx_GCLK_FREQ | 4228 | CONFIG_8xx_GCLK_FREQ |
4226 | - add DRAM SIMM not installed detection | 4229 | - add DRAM SIMM not installed detection |
4227 | - use more "correct" SDRAM initialization sequence | 4230 | - use more "correct" SDRAM initialization sequence |
4228 | - allow different SDRAM sizes (8xxADS has 8M) | 4231 | - allow different SDRAM sizes (8xxADS has 8M) |
4229 | - default DER is 0 | 4232 | - default DER is 0 |
4230 | - remove unused MAMR defines from FADS860T.h (all done in fads.c) | 4233 | - remove unused MAMR defines from FADS860T.h (all done in fads.c) |
4231 | - rename MAMR/MBMR defines to be more consistent. Should eventually | 4234 | - rename MAMR/MBMR defines to be more consistent. Should eventually |
4232 | be merged into MxMR to better reflect the PowerQUICC datasheet. | 4235 | be merged into MxMR to better reflect the PowerQUICC datasheet. |
4233 | 4236 | ||
4234 | * Patch by Yuli Barcohen, 16 Jul 2003: | 4237 | * Patch by Yuli Barcohen, 16 Jul 2003: |
4235 | support new Motorola PQ2FADS-ZU evaluation board which replaced | 4238 | support new Motorola PQ2FADS-ZU evaluation board which replaced |
4236 | MPC8260ADS and MPC8266ADS | 4239 | MPC8260ADS and MPC8266ADS |
4237 | 4240 | ||
4238 | ====================================================================== | 4241 | ====================================================================== |
4239 | Changes for U-Boot 0.4.4: | 4242 | Changes for U-Boot 0.4.4: |
4240 | ====================================================================== | 4243 | ====================================================================== |
4241 | 4244 | ||
4242 | * Add support for IceCube board (with MGT5100 and MPC5200 CPUs) | 4245 | * Add support for IceCube board (with MGT5100 and MPC5200 CPUs) |
4243 | 4246 | ||
4244 | * Add support for MGT5100 and MPC5200 processors | 4247 | * Add support for MGT5100 and MPC5200 processors |
4245 | 4248 | ||
4246 | * Patch by Lutz Dennig, 15 Jul 2003: | 4249 | * Patch by Lutz Dennig, 15 Jul 2003: |
4247 | update for R360MPI board | 4250 | update for R360MPI board |
4248 | 4251 | ||
4249 | ====================================================================== | 4252 | ====================================================================== |
4250 | Changes for U-Boot 0.4.3: | 4253 | Changes for U-Boot 0.4.3: |
4251 | ====================================================================== | 4254 | ====================================================================== |
4252 | 4255 | ||
4253 | * Patches by Kshitij, 04 Jul 2003 | 4256 | * Patches by Kshitij, 04 Jul 2003 |
4254 | - added support for arm925t cpu core | 4257 | - added support for arm925t cpu core |
4255 | - added support for TI OMAP 1510 Innovator Board | 4258 | - added support for TI OMAP 1510 Innovator Board |
4256 | 4259 | ||
4257 | * Patches by Martin Krause, 14 Jul 2003: | 4260 | * Patches by Martin Krause, 14 Jul 2003: |
4258 | - add I2C support for s3c2400 systems (trab board) | 4261 | - add I2C support for s3c2400 systems (trab board) |
4259 | - (re-) add "ping" to command table | 4262 | - (re-) add "ping" to command table |
4260 | 4263 | ||
4261 | * Fix handling of "slow" POST routines | 4264 | * Fix handling of "slow" POST routines |
4262 | 4265 | ||
4263 | * Patches by Yuli Barcohen, 13 Jul 2003: | 4266 | * Patches by Yuli Barcohen, 13 Jul 2003: |
4264 | - Correct flash and JFFS2 support for MPC8260ADS | 4267 | - Correct flash and JFFS2 support for MPC8260ADS |
4265 | - fix PVR values and clock generation for PowerQUICC II family | 4268 | - fix PVR values and clock generation for PowerQUICC II family |
4266 | (8270/8275/8280) | 4269 | (8270/8275/8280) |
4267 | 4270 | ||
4268 | * Patch by Bernhard Kuhn, 08 Jul 2003: | 4271 | * Patch by Bernhard Kuhn, 08 Jul 2003: |
4269 | - add support for M68K targets | 4272 | - add support for M68K targets |
4270 | 4273 | ||
4271 | * Patch by Ken Chou, 3 Jul: | 4274 | * Patch by Ken Chou, 3 Jul: |
4272 | - Fix PCI config table for A3000 | 4275 | - Fix PCI config table for A3000 |
4273 | - Fix iobase for natsemi.c | 4276 | - Fix iobase for natsemi.c |
4274 | (PCI_BASE_ADDRESS_0 is the IO base register for DP83815) | 4277 | (PCI_BASE_ADDRESS_0 is the IO base register for DP83815) |
4275 | 4278 | ||
4276 | * Allow to enable "slow" POST routines by key press on power-on | 4279 | * Allow to enable "slow" POST routines by key press on power-on |
4277 | * Fix temperature dependend switching of LCD backlight on LWMON | 4280 | * Fix temperature dependend switching of LCD backlight on LWMON |
4278 | * Tweak output format for LWMON | 4281 | * Tweak output format for LWMON |
4279 | 4282 | ||
4280 | * Patch by Stefan Roese, 11 Jul 2003: | 4283 | * Patch by Stefan Roese, 11 Jul 2003: |
4281 | - Fix bug in CONFIG_VERSION_VARIABLE. | 4284 | - Fix bug in CONFIG_VERSION_VARIABLE. |
4282 | - AR405 config updated. | 4285 | - AR405 config updated. |
4283 | - OCRTC/ORSG: bsp command added. | 4286 | - OCRTC/ORSG: bsp command added. |
4284 | - ASH405 bsp update. | 4287 | - ASH405 bsp update. |
4285 | 4288 | ||
4286 | ====================================================================== | 4289 | ====================================================================== |
4287 | Changes for U-Boot 0.4.2: | 4290 | Changes for U-Boot 0.4.2: |
4288 | ====================================================================== | 4291 | ====================================================================== |
4289 | 4292 | ||
4290 | * Add support for NSCU board | 4293 | * Add support for NSCU board |
4291 | 4294 | ||
4292 | * Add support for TQM823M, TQM850M, TQM855M and TQM860M modules | 4295 | * Add support for TQM823M, TQM850M, TQM855M and TQM860M modules |
4293 | 4296 | ||
4294 | * Add support for Am29LV160ML, Am29LV320ML, and Am29LV640ML | 4297 | * Add support for Am29LV160ML, Am29LV320ML, and Am29LV640ML |
4295 | mirror bit flash on TQM8xxM modules | 4298 | mirror bit flash on TQM8xxM modules |
4296 | 4299 | ||
4297 | * Patch by Kenneth Johansson, 30 Jun 2003: | 4300 | * Patch by Kenneth Johansson, 30 Jun 2003: |
4298 | get rid of MK_CMD_ENTRY macro; update doc/README.command | 4301 | get rid of MK_CMD_ENTRY macro; update doc/README.command |
4299 | 4302 | ||
4300 | * Patch by Seb James, 30 Jun 2003: | 4303 | * Patch by Seb James, 30 Jun 2003: |
4301 | Improve documentation of I2C configuration in README | 4304 | Improve documentation of I2C configuration in README |
4302 | 4305 | ||
4303 | * Fix problems with previous log buffer "fixes" | 4306 | * Fix problems with previous log buffer "fixes" |
4304 | 4307 | ||
4305 | * Fix minor help text issues | 4308 | * Fix minor help text issues |
4306 | 4309 | ||
4307 | * "log append" did not append a newline | 4310 | * "log append" did not append a newline |
4308 | 4311 | ||
4309 | ====================================================================== | 4312 | ====================================================================== |
4310 | Changes for U-Boot 0.4.1: | 4313 | Changes for U-Boot 0.4.1: |
4311 | ====================================================================== | 4314 | ====================================================================== |
4312 | 4315 | ||
4313 | * Fix some missing commands, cleanup header files | 4316 | * Fix some missing commands, cleanup header files |
4314 | (autoscript, bmp, bsp, fat, mmc, nand, portio, ...) | 4317 | (autoscript, bmp, bsp, fat, mmc, nand, portio, ...) |
4315 | 4318 | ||
4316 | * Rewrite command lookup and help command (fix problems with bubble | 4319 | * Rewrite command lookup and help command (fix problems with bubble |
4317 | sort when sorting command name list). Minor cleanup here and there. | 4320 | sort when sorting command name list). Minor cleanup here and there. |
4318 | 4321 | ||
4319 | * Merge from "stable branch", tag LABEL_2003_06_28_1800-stable: | 4322 | * Merge from "stable branch", tag LABEL_2003_06_28_1800-stable: |
4320 | - Allow to call sysmon function interactively | 4323 | - Allow to call sysmon function interactively |
4321 | - PIC on LWMON board needs delay after power-on | 4324 | - PIC on LWMON board needs delay after power-on |
4322 | - Add missing RSR definitions for MPC8xx | 4325 | - Add missing RSR definitions for MPC8xx |
4323 | - Improve log buffer handling: guarantee clean reset after power-on | 4326 | - Improve log buffer handling: guarantee clean reset after power-on |
4324 | - Add support for EXBITGEN board (aka "genie") | 4327 | - Add support for EXBITGEN board (aka "genie") |
4325 | - Add support for SL8245 board | 4328 | - Add support for SL8245 board |
4326 | 4329 | ||
4327 | * Code cleanup: | 4330 | * Code cleanup: |
4328 | - remove trailing white space, trailing empty lines, C++ comments, etc. | 4331 | - remove trailing white space, trailing empty lines, C++ comments, etc. |
4329 | - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c) | 4332 | - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c) |
4330 | 4333 | ||
4331 | * Patches by Kenneth Johansson, 25 Jun 2003: | 4334 | * Patches by Kenneth Johansson, 25 Jun 2003: |
4332 | - major rework of command structure | 4335 | - major rework of command structure |
4333 | (work done mostly by Michal Cendrowski and Joakim Kristiansen) | 4336 | (work done mostly by Michal Cendrowski and Joakim Kristiansen) |
4334 | 4337 | ||
4335 | ====================================================================== | 4338 | ====================================================================== |
4336 | Changes for U-Boot 0.4.0: | 4339 | Changes for U-Boot 0.4.0: |
4337 | ====================================================================== | 4340 | ====================================================================== |
4338 | 4341 | ||
4339 | * Patches by Robert Schwebel, 26 Jun 2003: | 4342 | * Patches by Robert Schwebel, 26 Jun 2003: |
4340 | - csb226 configuration updated | 4343 | - csb226 configuration updated |
4341 | - credits for logodl port updated | 4344 | - credits for logodl port updated |
4342 | - innokom configuration updated | 4345 | - innokom configuration updated |
4343 | - logodl tree update, still with coding style inconsistencies | 4346 | - logodl tree update, still with coding style inconsistencies |
4344 | - added OCM for ppc405 warning to README | 4347 | - added OCM for ppc405 warning to README |
4345 | 4348 | ||
4346 | * Patch by Pantelis Antoniou, 25 Jun 2003: | 4349 | * Patch by Pantelis Antoniou, 25 Jun 2003: |
4347 | update NetVia with V2 board support | 4350 | update NetVia with V2 board support |
4348 | 4351 | ||
4349 | * Header file cleanup for ARM | 4352 | * Header file cleanup for ARM |
4350 | 4353 | ||
4351 | * Patch by Murray Jensen, 24 Jun 2003: | 4354 | * Patch by Murray Jensen, 24 Jun 2003: |
4352 | - make sure to use only U-boot provided header files | 4355 | - make sure to use only U-boot provided header files |
4353 | - fix problems with ".rodata.str1.4" section as used by GCC-3.x | 4356 | - fix problems with ".rodata.str1.4" section as used by GCC-3.x |
4354 | 4357 | ||
4355 | * Patch by Stefan Roese, 24 Jun 2003: | 4358 | * Patch by Stefan Roese, 24 Jun 2003: |
4356 | - Update esd ASH405 board files. | 4359 | - Update esd ASH405 board files. |
4357 | - Update esd DASA_SIM config file. | 4360 | - Update esd DASA_SIM config file. |
4358 | - Add ping command to some esd boards. | 4361 | - Add ping command to some esd boards. |
4359 | 4362 | ||
4360 | * Patch by Yuli Barcohen, 23 Jun 2003: | 4363 | * Patch by Yuli Barcohen, 23 Jun 2003: |
4361 | Update for MPC8260ADS board | 4364 | Update for MPC8260ADS board |
4362 | 4365 | ||
4363 | * Patch by Murray Jensen, 23 Jun 2003: | 4366 | * Patch by Murray Jensen, 23 Jun 2003: |
4364 | - cleanup of GCC 3.x compiler warnings | 4367 | - cleanup of GCC 3.x compiler warnings |
4365 | 4368 | ||
4366 | * Patch by Rune Torgersen, 4 Jun 2003: | 4369 | * Patch by Rune Torgersen, 4 Jun 2003: |
4367 | add large memory support for MPC8266ADS board | 4370 | add large memory support for MPC8266ADS board |
4368 | 4371 | ||
4369 | * Patch by Richard Woodruff, 19 June 03: | 4372 | * Patch by Richard Woodruff, 19 June 03: |
4370 | - Enabled standard u-boot device abstraction for ARM | 4373 | - Enabled standard u-boot device abstraction for ARM |
4371 | - Enabled console device for ARM | 4374 | - Enabled console device for ARM |
4372 | - Initilized bi_baudrate for ARM | 4375 | - Initilized bi_baudrate for ARM |
4373 | 4376 | ||
4374 | * Patch by Bill Hargen, 23 Apr 2003: | 4377 | * Patch by Bill Hargen, 23 Apr 2003: |
4375 | fix byte order for 824x I2C addresses (write op) | 4378 | fix byte order for 824x I2C addresses (write op) |
4376 | 4379 | ||
4377 | * Patch by Murray Jensen, 20 Jun 2003: | 4380 | * Patch by Murray Jensen, 20 Jun 2003: |
4378 | - hymod update | 4381 | - hymod update |
4379 | - cleanup (especially for gcc-3.x compilers) | 4382 | - cleanup (especially for gcc-3.x compilers) |
4380 | 4383 | ||
4381 | * Patch by Tom Guilliams, 20 Jun 2003: | 4384 | * Patch by Tom Guilliams, 20 Jun 2003: |
4382 | added CONFIG_750FX support for IBM 750FX processors | 4385 | added CONFIG_750FX support for IBM 750FX processors |
4383 | 4386 | ||
4384 | * Patch by Devin Crumb, 02 Apr 2003: | 4387 | * Patch by Devin Crumb, 02 Apr 2003: |
4385 | Fix clock divider rounding problem in drivers/serial.c | 4388 | Fix clock divider rounding problem in drivers/serial.c |
4386 | 4389 | ||
4387 | * Patch by Richard Woodruff, 19 June 03: | 4390 | * Patch by Richard Woodruff, 19 June 03: |
4388 | - Fixed smc91c111 driver to sync with the u-boot environment | 4391 | - Fixed smc91c111 driver to sync with the u-boot environment |
4389 | (driver/smc91c111.c). | 4392 | (driver/smc91c111.c). |
4390 | - Added eth_init error return check in NetLoop (net/net.c). | 4393 | - Added eth_init error return check in NetLoop (net/net.c). |
4391 | 4394 | ||
4392 | * Patch by Ken Chou, 19 June 2003: | 4395 | * Patch by Ken Chou, 19 June 2003: |
4393 | Added support for A3000 SBC board (Artis Microsystems Inc.) | 4396 | Added support for A3000 SBC board (Artis Microsystems Inc.) |
4394 | 4397 | ||
4395 | * Patches by Murray Jensen, 17 Jun 2003: | 4398 | * Patches by Murray Jensen, 17 Jun 2003: |
4396 | - Hymod board database mods: add "who" field and new xilinx chip types | 4399 | - Hymod board database mods: add "who" field and new xilinx chip types |
4397 | - provide new "init_cmd_timeout()" function so code external to | 4400 | - provide new "init_cmd_timeout()" function so code external to |
4398 | "common/main.c" can use the "reset_cmd_timeout()" function before | 4401 | "common/main.c" can use the "reset_cmd_timeout()" function before |
4399 | entering the main loop | 4402 | entering the main loop |
4400 | - add DTT support for adm1021 (new file dtt/adm1021.c; config | 4403 | - add DTT support for adm1021 (new file dtt/adm1021.c; config |
4401 | slightly different. see include/configs/hymod.h for an example | 4404 | slightly different. see include/configs/hymod.h for an example |
4402 | (requires CONFIG_DTT_ADM1021, CONFIG_DTT_SENSORS, and | 4405 | (requires CONFIG_DTT_ADM1021, CONFIG_DTT_SENSORS, and |
4403 | CFG_DTT_ADM1021 defined) | 4406 | CFG_DTT_ADM1021 defined) |
4404 | - add new "eeprom_probe()" function which has similar args and | 4407 | - add new "eeprom_probe()" function which has similar args and |
4405 | behaves in a similar way to "eeprom_read()" etc. | 4408 | behaves in a similar way to "eeprom_read()" etc. |
4406 | - add 8260 FCC ethernet loopback code (new "eth_loopback_test()" | 4409 | - add 8260 FCC ethernet loopback code (new "eth_loopback_test()" |
4407 | function which is enabled by defining CONFIG_ETHER_LOOPBACK_TEST) | 4410 | function which is enabled by defining CONFIG_ETHER_LOOPBACK_TEST) |
4408 | - gdbtools copyright update | 4411 | - gdbtools copyright update |
4409 | - ensure that set_msr() executes the "sync" and "isync" instructions | 4412 | - ensure that set_msr() executes the "sync" and "isync" instructions |
4410 | after the "mtmsr" instruction in cpu/mpc8260/interrupts.c | 4413 | after the "mtmsr" instruction in cpu/mpc8260/interrupts.c |
4411 | - 8260 I/O ports fix: Open Drain should be set last when configuring | 4414 | - 8260 I/O ports fix: Open Drain should be set last when configuring |
4412 | - add SIU IRQ defines for 8260 | 4415 | - add SIU IRQ defines for 8260 |
4413 | - allow LDSCRIPT override and OBJCFLAGS initialization: change to | 4416 | - allow LDSCRIPT override and OBJCFLAGS initialization: change to |
4414 | config.mk to allow board configurations to override the GNU | 4417 | config.mk to allow board configurations to override the GNU |
4415 | linker script, selected via the LDSCRIPT, make variable, and to | 4418 | linker script, selected via the LDSCRIPT, make variable, and to |
4416 | give an initial value to the OBJCFLAGS make variable | 4419 | give an initial value to the OBJCFLAGS make variable |
4417 | - 8260 i2c enhancement: | 4420 | - 8260 i2c enhancement: |
4418 | o correctly extends the timeout depending on the size of all | 4421 | o correctly extends the timeout depending on the size of all |
4419 | queued messages for both transmit and receive | 4422 | queued messages for both transmit and receive |
4420 | o will not continue with receive if transmit times out | 4423 | o will not continue with receive if transmit times out |
4421 | o ensures that the error callback is done for all queued tx | 4424 | o ensures that the error callback is done for all queued tx |
4422 | and rx messages | 4425 | and rx messages |
4423 | o correctly detects both tx and rx timeouts, only delivers one to | 4426 | o correctly detects both tx and rx timeouts, only delivers one to |
4424 | the callback, and does not overwrite an earlier error | 4427 | the callback, and does not overwrite an earlier error |
4425 | o logic in i2c_probe now correct | 4428 | o logic in i2c_probe now correct |
4426 | - add "vprintf()" function so that "panic()" function can be | 4429 | - add "vprintf()" function so that "panic()" function can be |
4427 | technically correct | 4430 | technically correct |
4428 | - many Hymod board changes | 4431 | - many Hymod board changes |
4429 | 4432 | ||
4430 | * Patches by Robert Schwebel, 14 Jun 2003: | 4433 | * Patches by Robert Schwebel, 14 Jun 2003: |
4431 | - add support for Logotronic DL datalogger board | 4434 | - add support for Logotronic DL datalogger board |
4432 | - cleanup serial line after kermit binary download | 4435 | - cleanup serial line after kermit binary download |
4433 | - add debugX macro (debug level support) | 4436 | - add debugX macro (debug level support) |
4434 | - update mach-types.h to latest arm.linux.org.uk master list. | 4437 | - update mach-types.h to latest arm.linux.org.uk master list. |
4435 | 4438 | ||
4436 | * Patches by David Mรผller, 12 Jun 2003: | 4439 | * Patches by David Mรผller, 12 Jun 2003: |
4437 | - rewrite of the S3C24X0 register definitions stuff | 4440 | - rewrite of the S3C24X0 register definitions stuff |
4438 | - "driver" for the built-in S3C24X0 RTC | 4441 | - "driver" for the built-in S3C24X0 RTC |
4439 | 4442 | ||
4440 | * Patches by Yuli Barcohen, 12 Jun 2003: | 4443 | * Patches by Yuli Barcohen, 12 Jun 2003: |
4441 | - Add MII support and Ethernet PHY initialization for MPC8260ADS board | 4444 | - Add MII support and Ethernet PHY initialization for MPC8260ADS board |
4442 | - Fix incorrect SIUMCR initialisation caused by wrong Hard Reset | 4445 | - Fix incorrect SIUMCR initialisation caused by wrong Hard Reset |
4443 | configuration word supplied by FPGA on some MPC8260ADS boards | 4446 | configuration word supplied by FPGA on some MPC8260ADS boards |
4444 | 4447 | ||
4445 | * Patch by Pantelis Antoniou, 10 Jun 2003: | 4448 | * Patch by Pantelis Antoniou, 10 Jun 2003: |
4446 | Unify status LED interface | 4449 | Unify status LED interface |
4447 | 4450 | ||
4448 | * Add support for DS12887 RTC; add RTC support for ATC board | 4451 | * Add support for DS12887 RTC; add RTC support for ATC board |
4449 | 4452 | ||
4450 | * Patch by Nicolas Lacressonniere, 11 Jun 2003: | 4453 | * Patch by Nicolas Lacressonniere, 11 Jun 2003: |
4451 | Modifications for Atmel AT91RM9200DK ARM920T based development kit | 4454 | Modifications for Atmel AT91RM9200DK ARM920T based development kit |
4452 | - Add Atmel DataFlash support for reading and writing. | 4455 | - Add Atmel DataFlash support for reading and writing. |
4453 | - Add possibility to boot a Linux from DataFlash with BOOTM command. | 4456 | - Add possibility to boot a Linux from DataFlash with BOOTM command. |
4454 | - Add Flash detection on Atmel AT91RM9200DK | 4457 | - Add Flash detection on Atmel AT91RM9200DK |
4455 | (between Atmel AT49BV1614 and AT49BV1614A flashes) | 4458 | (between Atmel AT49BV1614 and AT49BV1614A flashes) |
4456 | - Replace old Ethernet PHY layer functions | 4459 | - Replace old Ethernet PHY layer functions |
4457 | - Change link address | 4460 | - Change link address |
4458 | 4461 | ||
4459 | * Patch by Frank Smith, 9 Jun 2003: | 4462 | * Patch by Frank Smith, 9 Jun 2003: |
4460 | use CRIT_EXCEPTION for machine check on 4xx | 4463 | use CRIT_EXCEPTION for machine check on 4xx |
4461 | 4464 | ||
4462 | * Patch by Detlev Zundel, 13 Jun 2003: | 4465 | * Patch by Detlev Zundel, 13 Jun 2003: |
4463 | added implementation of the "carinfo" command in cmd_immap.c | 4466 | added implementation of the "carinfo" command in cmd_immap.c |
4464 | 4467 | ||
4465 | * Fix CONFIG_NET_MULTI support in include/net.h | 4468 | * Fix CONFIG_NET_MULTI support in include/net.h |
4466 | 4469 | ||
4467 | * Patches by Kyle Harris, 13 Mar 2003: | 4470 | * Patches by Kyle Harris, 13 Mar 2003: |
4468 | - Add FAT partition support | 4471 | - Add FAT partition support |
4469 | - Add command support for FAT | 4472 | - Add command support for FAT |
4470 | - Add command support for MMC | 4473 | - Add command support for MMC |
4471 | ---- | 4474 | ---- |
4472 | - Add Intel PXA support for video | 4475 | - Add Intel PXA support for video |
4473 | - Add Intel PXA support for MMC | 4476 | - Add Intel PXA support for MMC |
4474 | ---- | 4477 | ---- |
4475 | - Enable MMC and FAT for lubbock board | 4478 | - Enable MMC and FAT for lubbock board |
4476 | - Other misc changes for lubbock board | 4479 | - Other misc changes for lubbock board |
4477 | 4480 | ||
4478 | * Patch by Robert Schwebel, April 02, 2003: | 4481 | * Patch by Robert Schwebel, April 02, 2003: |
4479 | fix for SMSC91111 driver | 4482 | fix for SMSC91111 driver |
4480 | 4483 | ||
4481 | * Patch by Vladimir Gurevich, 04 Jun 2003: | 4484 | * Patch by Vladimir Gurevich, 04 Jun 2003: |
4482 | make ppc405 ethernet driver compatible with CONFIG_NET_MULTI option | 4485 | make ppc405 ethernet driver compatible with CONFIG_NET_MULTI option |
4483 | 4486 | ||
4484 | * Patch by Stefan Roese, 05 Jun 2003: | 4487 | * Patch by Stefan Roese, 05 Jun 2003: |
4485 | - PPC4xx: Fix bug for initial stack in data cache as pointed out by | 4488 | - PPC4xx: Fix bug for initial stack in data cache as pointed out by |
4486 | Thomas Schaefer (tschaefer@giga-stream.de). Now inital stack in | 4489 | Thomas Schaefer (tschaefer@giga-stream.de). Now inital stack in |
4487 | data cache can be used even if the chip select is in use. | 4490 | data cache can be used even if the chip select is in use. |
4488 | - CFG_RX_ETH_BUFFER added to set the ethernet receive buffer count | 4491 | - CFG_RX_ETH_BUFFER added to set the ethernet receive buffer count |
4489 | (see README for further description). | 4492 | (see README for further description). |
4490 | - Changed config files of CONFIG_EEPRO100 boards to use the | 4493 | - Changed config files of CONFIG_EEPRO100 boards to use the |
4491 | CFG_RX_ETH_BUFFER define. | 4494 | CFG_RX_ETH_BUFFER define. |
4492 | 4495 | ||
4493 | * Add support for RMU board | 4496 | * Add support for RMU board |
4494 | 4497 | ||
4495 | * Add support for TQM862L at 100/50 MHz | 4498 | * Add support for TQM862L at 100/50 MHz |
4496 | 4499 | ||
4497 | * Patch by Pantelis Antoniou, 02 Jun 2003: | 4500 | * Patch by Pantelis Antoniou, 02 Jun 2003: |
4498 | major reconstruction of networking code; | 4501 | major reconstruction of networking code; |
4499 | add "ping" support (outgoing only!) | 4502 | add "ping" support (outgoing only!) |
4500 | 4503 | ||
4501 | * Patch by Denis Peter, 04 June 2003: | 4504 | * Patch by Denis Peter, 04 June 2003: |
4502 | add support for the MIP405T board | 4505 | add support for the MIP405T board |
4503 | 4506 | ||
4504 | * Patches by Udi Finkelstein, 2 June 2003: | 4507 | * Patches by Udi Finkelstein, 2 June 2003: |
4505 | - Added support for custom keyboards, initialized by defining a | 4508 | - Added support for custom keyboards, initialized by defining a |
4506 | board-specific drv_keyboard_init as well as defining CONFIG_KEYBOARD . | 4509 | board-specific drv_keyboard_init as well as defining CONFIG_KEYBOARD . |
4507 | - Added support for the RBC823 board. | 4510 | - Added support for the RBC823 board. |
4508 | - cpu/mpc8xx/lcd.c now automatically calculates the | 4511 | - cpu/mpc8xx/lcd.c now automatically calculates the |
4509 | Horizontal Pixel Count field. | 4512 | Horizontal Pixel Count field. |
4510 | 4513 | ||
4511 | * Fix alignment problem in BOOTP (dhcp_leasetime option) | 4514 | * Fix alignment problem in BOOTP (dhcp_leasetime option) |
4512 | [pointed out by Nicolas Lacressonniรจre, 2 Jun 2003] | 4515 | [pointed out by Nicolas Lacressonniรจre, 2 Jun 2003] |
4513 | 4516 | ||
4514 | * Patch by Mark Rakes, 14 May 2003: | 4517 | * Patch by Mark Rakes, 14 May 2003: |
4515 | add support for Intel e1000 gig cards. | 4518 | add support for Intel e1000 gig cards. |
4516 | 4519 | ||
4517 | * Patch by Nye Liu, 3 Jun 2003: | 4520 | * Patch by Nye Liu, 3 Jun 2003: |
4518 | fix critical typo in MAMR definition (include/mpc8xx.h) | 4521 | fix critical typo in MAMR definition (include/mpc8xx.h) |
4519 | 4522 | ||
4520 | * Fix requirement to align U-Boot image on 16 kB boundaries on PPC. | 4523 | * Fix requirement to align U-Boot image on 16 kB boundaries on PPC. |
4521 | 4524 | ||
4522 | * Patch by Klaus Heydeck, 2 Jun 2003 | 4525 | * Patch by Klaus Heydeck, 2 Jun 2003 |
4523 | Minor changes for KUP4K configuration | 4526 | Minor changes for KUP4K configuration |
4524 | 4527 | ||
4525 | * Patch by Marc Singer, 29 May 2003: | 4528 | * Patch by Marc Singer, 29 May 2003: |
4526 | Fixed rarp boot method for IA32 and other little-endian CPUs. | 4529 | Fixed rarp boot method for IA32 and other little-endian CPUs. |
4527 | 4530 | ||
4528 | * Patch by Marc Singer, 28 May 2003: | 4531 | * Patch by Marc Singer, 28 May 2003: |
4529 | Added port I/O commands. | 4532 | Added port I/O commands. |
4530 | 4533 | ||
4531 | * Patch by Matthew McClintock, 28 May 2003 | 4534 | * Patch by Matthew McClintock, 28 May 2003 |
4532 | - cpu/mpc824x/start.S: fix relocation code when booting from RAM | 4535 | - cpu/mpc824x/start.S: fix relocation code when booting from RAM |
4533 | - minor patches for utx8245 | 4536 | - minor patches for utx8245 |
4534 | 4537 | ||
4535 | * Patch by Daniel Engstrรถm, 28 May 2003: | 4538 | * Patch by Daniel Engstrรถm, 28 May 2003: |
4536 | x86 update | 4539 | x86 update |
4537 | 4540 | ||
4538 | * Patch by Dave Ellis, 9 May 2003 + 27 May 2003: | 4541 | * Patch by Dave Ellis, 9 May 2003 + 27 May 2003: |
4539 | add nand flash support to SXNI855T configuration | 4542 | add nand flash support to SXNI855T configuration |
4540 | fix/extend nand flash support: | 4543 | fix/extend nand flash support: |
4541 | - fix 'nand erase' command so does not erase bad blocks | 4544 | - fix 'nand erase' command so does not erase bad blocks |
4542 | - fix 'nand write' command so does not write to bad blocks | 4545 | - fix 'nand write' command so does not write to bad blocks |
4543 | - fix nand_probe() so handles no flash detected properly | 4546 | - fix nand_probe() so handles no flash detected properly |
4544 | - add doc/README.nand | 4547 | - add doc/README.nand |
4545 | - add .jffs2 and .oob options to nand read/write | 4548 | - add .jffs2 and .oob options to nand read/write |
4546 | - add 'nand bad' command to list bad blocks | 4549 | - add 'nand bad' command to list bad blocks |
4547 | - add 'clean' option to 'nand erase' to write JFFS2 clean markers | 4550 | - add 'clean' option to 'nand erase' to write JFFS2 clean markers |
4548 | - make NAND read/write faster | 4551 | - make NAND read/write faster |
4549 | 4552 | ||
4550 | * Patch by Rune Torgersen, 23 May 2003: | 4553 | * Patch by Rune Torgersen, 23 May 2003: |
4551 | Update for MPC8266ADS board | 4554 | Update for MPC8266ADS board |
4552 | 4555 | ||
4553 | * Get (mostly) rid of CFG_MONITOR_LEN definition; compute real length | 4556 | * Get (mostly) rid of CFG_MONITOR_LEN definition; compute real length |
4554 | instead CFG_MONITOR_LEN is now only used to determine _at_compile_ | 4557 | instead CFG_MONITOR_LEN is now only used to determine _at_compile_ |
4555 | _time_ (!) if the environment is embedded within the U-Boot image, | 4558 | _time_ (!) if the environment is embedded within the U-Boot image, |
4556 | or in a separate flash sector. | 4559 | or in a separate flash sector. |
4557 | 4560 | ||
4558 | * Cleanup CFG_DER #defines in config files (wd maintained only) | 4561 | * Cleanup CFG_DER #defines in config files (wd maintained only) |
4559 | 4562 | ||
4560 | * Fix data abort exception handling for arm920t CPU | 4563 | * Fix data abort exception handling for arm920t CPU |
4561 | 4564 | ||
4562 | * Fix alignment problems with flash driver for TRAB board | 4565 | * Fix alignment problems with flash driver for TRAB board |
4563 | 4566 | ||
4564 | * Patch by Donald White, 21 May 2003: | 4567 | * Patch by Donald White, 21 May 2003: |
4565 | fix calculation of base address in pci_hose_config_device() | 4568 | fix calculation of base address in pci_hose_config_device() |
4566 | 4569 | ||
4567 | * Fix bug in command line parsing: "cmd1;cmd2" is supposed to always | 4570 | * Fix bug in command line parsing: "cmd1;cmd2" is supposed to always |
4568 | execute "cmd2", even if "cmd1" fails. Note that this is different | 4571 | execute "cmd2", even if "cmd1" fails. Note that this is different |
4569 | to "run var1 var2" where the contents of "var2" will NOT be | 4572 | to "run var1 var2" where the contents of "var2" will NOT be |
4570 | executed when a command in "var1" fails. | 4573 | executed when a command in "var1" fails. |
4571 | 4574 | ||
4572 | * Add zero-copy ramdisk support (requires corresponding kernel support!) | 4575 | * Add zero-copy ramdisk support (requires corresponding kernel support!) |
4573 | 4576 | ||
4574 | * Patch by Kyle Harris, 20 May 2003: | 4577 | * Patch by Kyle Harris, 20 May 2003: |
4575 | In preparation for an ixp port, rename cpu/xscale and arch-xscale | 4578 | In preparation for an ixp port, rename cpu/xscale and arch-xscale |
4576 | into cpu/pxa and arch-pxa. | 4579 | into cpu/pxa and arch-pxa. |
4577 | 4580 | ||
4578 | * Patch by Stefan Roese, 23 May 2003: | 4581 | * Patch by Stefan Roese, 23 May 2003: |
4579 | - IBM PPC405EP port added. | 4582 | - IBM PPC405EP port added. |
4580 | - CONFIG_UART1_CONSOLE added. If defined internal UART1 (and not | 4583 | - CONFIG_UART1_CONSOLE added. If defined internal UART1 (and not |
4581 | UART0) is used as default U-Boot console. PPC4xx only! | 4584 | UART0) is used as default U-Boot console. PPC4xx only! |
4582 | - esd ASH405 board added (PPC405EP based). | 4585 | - esd ASH405 board added (PPC405EP based). |
4583 | - BUBINGA405EP board added (PPC405EP based - IBM Eval Board). | 4586 | - BUBINGA405EP board added (PPC405EP based - IBM Eval Board). |
4584 | - esd CPCI405AB board added. | 4587 | - esd CPCI405AB board added. |
4585 | - esd PMC405 board added. | 4588 | - esd PMC405 board added. |
4586 | - Update of some esd boards. | 4589 | - Update of some esd boards. |
4587 | 4590 | ||
4588 | * Patch by Denis Peter, 19 Mai 2003: | 4591 | * Patch by Denis Peter, 19 Mai 2003: |
4589 | add support for the MIP405-3 board | 4592 | add support for the MIP405-3 board |
4590 | 4593 | ||
4591 | * Patch by Dave Ellis, 22 May 2003: | 4594 | * Patch by Dave Ellis, 22 May 2003: |
4592 | Fix problem with only partially cleared .bss segment | 4595 | Fix problem with only partially cleared .bss segment |
4593 | 4596 | ||
4594 | * Patch by Rune Torgersen, 12 May 2003: | 4597 | * Patch by Rune Torgersen, 12 May 2003: |
4595 | get PCI to work on a MPC8266ADS board; incorporate change to | 4598 | get PCI to work on a MPC8266ADS board; incorporate change to |
4596 | cpu/mpc8260/pci.c to enable overrides of PCI memory parameters | 4599 | cpu/mpc8260/pci.c to enable overrides of PCI memory parameters |
4597 | 4600 | ||
4598 | * Patch by Nye Liu, 1 May 2003: | 4601 | * Patch by Nye Liu, 1 May 2003: |
4599 | minor patches for the FADS8xx | 4602 | minor patches for the FADS8xx |
4600 | 4603 | ||
4601 | * Patch by Thomas Schรคfer, 28 Apr 2003: | 4604 | * Patch by Thomas Schรคfer, 28 Apr 2003: |
4602 | Fix SPD handling for 256 ECC DIMM on Walnut | 4605 | Fix SPD handling for 256 ECC DIMM on Walnut |
4603 | 4606 | ||
4604 | * Add support for arbitrary bitmaps for TRAB's VFD command; | 4607 | * Add support for arbitrary bitmaps for TRAB's VFD command; |
4605 | allow to pass boot bitmap addresses in environment variables; | 4608 | allow to pass boot bitmap addresses in environment variables; |
4606 | allow for zero boot delay | 4609 | allow for zero boot delay |
4607 | 4610 | ||
4608 | * Patch by Christian Geiรinger, 19 May 2002: | 4611 | * Patch by Christian Geiรinger, 19 May 2002: |
4609 | On TRAB: wait until the dummy byte has been completely sent | 4612 | On TRAB: wait until the dummy byte has been completely sent |
4610 | 4613 | ||
4611 | * Patch by David Updegraff, 22 Apr 2003: | 4614 | * Patch by David Updegraff, 22 Apr 2003: |
4612 | update for CrayL1 board | 4615 | update for CrayL1 board |
4613 | 4616 | ||
4614 | * Patch by Pantelis Antoniou, 21 Apr 2003: | 4617 | * Patch by Pantelis Antoniou, 21 Apr 2003: |
4615 | add boot support for ARTOS (a proprietary OS) | 4618 | add boot support for ARTOS (a proprietary OS) |
4616 | 4619 | ||
4617 | * Patch by Steven Scholz, 11 Apr 2003: | 4620 | * Patch by Steven Scholz, 11 Apr 2003: |
4618 | Add support for RTC DS1338 | 4621 | Add support for RTC DS1338 |
4619 | 4622 | ||
4620 | * Patch by Rod Boyce, 24 Jan 2003: | 4623 | * Patch by Rod Boyce, 24 Jan 2003: |
4621 | Fix counting of extended partitions in diskboot command | 4624 | Fix counting of extended partitions in diskboot command |
4622 | 4625 | ||
4623 | * Patch by Christophe Lindheimer, 20 May 2003: | 4626 | * Patch by Christophe Lindheimer, 20 May 2003: |
4624 | allow the use of CFG_LOADS when CFG_NO_FLASH is set | 4627 | allow the use of CFG_LOADS when CFG_NO_FLASH is set |
4625 | 4628 | ||
4626 | * Fix SDRAM timing on Purple board | 4629 | * Fix SDRAM timing on Purple board |
4627 | 4630 | ||
4628 | * Add support for CompactFlash on ATC board | 4631 | * Add support for CompactFlash on ATC board |
4629 | (includes support for Intel 82365 and compatible PC Card controllers, | 4632 | (includes support for Intel 82365 and compatible PC Card controllers, |
4630 | and Yenta-compatible PCI-to-CardBus controllers) | 4633 | and Yenta-compatible PCI-to-CardBus controllers) |
4631 | 4634 | ||
4632 | * Patch by Mathijs Haarman, 08 May 2003: | 4635 | * Patch by Mathijs Haarman, 08 May 2003: |
4633 | Add lan91c96 driver (tested on Lubbock and custom PXA250 board only) | 4636 | Add lan91c96 driver (tested on Lubbock and custom PXA250 board only) |
4634 | 4637 | ||
4635 | * Fix problem with usage of "true" (undefined in current versions of bfd.h) | 4638 | * Fix problem with usage of "true" (undefined in current versions of bfd.h) |
4636 | 4639 | ||
4637 | * Add support for Promess ATC board | 4640 | * Add support for Promess ATC board |
4638 | 4641 | ||
4639 | * Patch by Keith Outwater, 28 Apr 2003: | 4642 | * Patch by Keith Outwater, 28 Apr 2003: |
4640 | - Miscellaneous corrections and additions to GEN860T board specific code. | 4643 | - Miscellaneous corrections and additions to GEN860T board specific code. |
4641 | - Added GEN860_SC variant to GEN860T. | 4644 | - Added GEN860_SC variant to GEN860T. |
4642 | - Miscellaneous corrections to GEN860T documentation. | 4645 | - Miscellaneous corrections to GEN860T documentation. |
4643 | - Correct duplicate entry in U-Boot CREDITS file. | 4646 | - Correct duplicate entry in U-Boot CREDITS file. |
4644 | - Add GEN860T_SC entry in MAINTAINERS file. | 4647 | - Add GEN860T_SC entry in MAINTAINERS file. |
4645 | - Update CREDITS file with GEN860T_SC info. | 4648 | - Update CREDITS file with GEN860T_SC info. |
4646 | 4649 | ||
4647 | * Update Smiths Aerospace addresses in MAINTAINERS file | 4650 | * Update Smiths Aerospace addresses in MAINTAINERS file |
4648 | 4651 | ||
4649 | * Fix error handling in hush's version of "run" command | 4652 | * Fix error handling in hush's version of "run" command |
4650 | 4653 | ||
4651 | * LWMON extensions: | 4654 | * LWMON extensions: |
4652 | - Splashscreen support | 4655 | - Splashscreen support |
4653 | - modem support | 4656 | - modem support |
4654 | - sysmon support | 4657 | - sysmon support |
4655 | - temperature dependend enabling of LCD | 4658 | - temperature dependend enabling of LCD |
4656 | 4659 | ||
4657 | * Allow booting from old "PPCBoot" disk partitions | 4660 | * Allow booting from old "PPCBoot" disk partitions |
4658 | 4661 | ||
4659 | * Add support for TQM8255 Board / MPC8255 CPU | 4662 | * Add support for TQM8255 Board / MPC8255 CPU |
4660 | 4663 | ||
4661 | ====================================================================== | 4664 | ====================================================================== |
4662 | Changes for U-Boot 0.3.1: | 4665 | Changes for U-Boot 0.3.1: |
4663 | ====================================================================== | 4666 | ====================================================================== |
4664 | 4667 | ||
4665 | * Make sure Block Lock Bits get cleared in R360MPI flash driver | 4668 | * Make sure Block Lock Bits get cleared in R360MPI flash driver |
4666 | 4669 | ||
4667 | * MPC823 LCD driver: Fill color map backwards, to allow for steady | 4670 | * MPC823 LCD driver: Fill color map backwards, to allow for steady |
4668 | display when Linux takes over | 4671 | display when Linux takes over |
4669 | 4672 | ||
4670 | * Patch by Erwin Rol, 27 Feb 2003: | 4673 | * Patch by Erwin Rol, 27 Feb 2003: |
4671 | Add support for RTEMS (this time for real). | 4674 | Add support for RTEMS (this time for real). |
4672 | 4675 | ||
4673 | * Add support for "bmp info" and "bmp display" commands to load | 4676 | * Add support for "bmp info" and "bmp display" commands to load |
4674 | bitmap images; this can be used (for example in a "preboot" | 4677 | bitmap images; this can be used (for example in a "preboot" |
4675 | command) to display a splash screen very quickly after poweron. | 4678 | command) to display a splash screen very quickly after poweron. |
4676 | 4679 | ||
4677 | * Add support for 133 MHz clock on INCA-IP board | 4680 | * Add support for 133 MHz clock on INCA-IP board |
4678 | 4681 | ||
4679 | * Patch by Lutz Dennig, 10 Apr 2003: | 4682 | * Patch by Lutz Dennig, 10 Apr 2003: |
4680 | Update for R360MPI board | 4683 | Update for R360MPI board |
4681 | 4684 | ||
4682 | * Add new meaning to "autostart" environment variable: | 4685 | * Add new meaning to "autostart" environment variable: |
4683 | If set to "no", a standalone image passed to the | 4686 | If set to "no", a standalone image passed to the |
4684 | "bootm" command will be copied to the load address | 4687 | "bootm" command will be copied to the load address |
4685 | (and eventually uncompressed), but NOT be started. | 4688 | (and eventually uncompressed), but NOT be started. |
4686 | This can be used to load and uncompress arbitrary | 4689 | This can be used to load and uncompress arbitrary |
4687 | data. | 4690 | data. |
4688 | 4691 | ||
4689 | * Patch by Stefan Roese, 10 Apr 2003: | 4692 | * Patch by Stefan Roese, 10 Apr 2003: |
4690 | Changed DHCP client to use IP address from server option field #54 | 4693 | Changed DHCP client to use IP address from server option field #54 |
4691 | from the OFFER packet in the server option field #54 in the REQUEST | 4694 | from the OFFER packet in the server option field #54 in the REQUEST |
4692 | packet. This fixes a problem using a Windows 2000 DHCP server, | 4695 | packet. This fixes a problem using a Windows 2000 DHCP server, |
4693 | where the DHCP-server is not the TFTP-server. | 4696 | where the DHCP-server is not the TFTP-server. |
4694 | 4697 | ||
4695 | * Set max brightness for MN11236 displays on TRAB board | 4698 | * Set max brightness for MN11236 displays on TRAB board |
4696 | 4699 | ||
4697 | * Add support for TQM862L modules | 4700 | * Add support for TQM862L modules |
4698 | 4701 | ||
4699 | ====================================================================== | 4702 | ====================================================================== |
4700 | Changes for U-Boot 0.3.0: | 4703 | Changes for U-Boot 0.3.0: |
4701 | ====================================================================== | 4704 | ====================================================================== |
4702 | 4705 | ||
4703 | * Patch by Arun Dharankar, 4 Apr 2003: | 4706 | * Patch by Arun Dharankar, 4 Apr 2003: |
4704 | Add IDMA example code (tested on 8260 only) | 4707 | Add IDMA example code (tested on 8260 only) |
4705 | 4708 | ||
4706 | * Add support for Purple Board (MIPS64 5Kc) | 4709 | * Add support for Purple Board (MIPS64 5Kc) |
4707 | 4710 | ||
4708 | * Add support for MIPS64 5Kc CPUs | 4711 | * Add support for MIPS64 5Kc CPUs |
4709 | 4712 | ||
4710 | * Fix missing setting of "loadaddr" and "bootfile" on ARM and MIPS | 4713 | * Fix missing setting of "loadaddr" and "bootfile" on ARM and MIPS |
4711 | 4714 | ||
4712 | * Patch by Denis Peter, 04 Apr 2003: | 4715 | * Patch by Denis Peter, 04 Apr 2003: |
4713 | - update MIP405-4 board | 4716 | - update MIP405-4 board |
4714 | 4717 | ||
4715 | * Patch by Stefan Roese, 4 Apr 2003: | 4718 | * Patch by Stefan Roese, 4 Apr 2003: |
4716 | - U-Boot version environment variable "ver" added | 4719 | - U-Boot version environment variable "ver" added |
4717 | (CONFIG_VERSION_VARIABLE). | 4720 | (CONFIG_VERSION_VARIABLE). |
4718 | - Changed PPC405GPr version from A to B. | 4721 | - Changed PPC405GPr version from A to B. |
4719 | - Changed CPCI405 to use CTS instead of DSR on PPC405 UART1. | 4722 | - Changed CPCI405 to use CTS instead of DSR on PPC405 UART1. |
4720 | 4723 | ||
4721 | * Patches by Denis Peter, 03 April 2003: | 4724 | * Patches by Denis Peter, 03 April 2003: |
4722 | - fix PCI IRQs on MPL boards | 4725 | - fix PCI IRQs on MPL boards |
4723 | - fix two more un-relocated pointer problems | 4726 | - fix two more un-relocated pointer problems |
4724 | 4727 | ||
4725 | * Fix behaviour of "run" command: | 4728 | * Fix behaviour of "run" command: |
4726 | - print error message iv variable does not exist | 4729 | - print error message iv variable does not exist |
4727 | - terminate processing of arguments in case of error | 4730 | - terminate processing of arguments in case of error |
4728 | 4731 | ||
4729 | * Patches by Peter Figuli, 10 Mar 2003 | 4732 | * Patches by Peter Figuli, 10 Mar 2003 |
4730 | - Add support for BTUART on PXA platform | 4733 | - Add support for BTUART on PXA platform |
4731 | - Add support for WEP EP250 (PXA) board | 4734 | - Add support for WEP EP250 (PXA) board |
4732 | 4735 | ||
4733 | * Fix flash problems on INCA-IP; add tool to allow bruning images to | 4736 | * Fix flash problems on INCA-IP; add tool to allow bruning images to |
4734 | flash using a BDI2000 | 4737 | flash using a BDI2000 |
4735 | 4738 | ||
4736 | * Implement fix for I2C Edge Conditions problem for all boards that | 4739 | * Implement fix for I2C Edge Conditions problem for all boards that |
4737 | use the bit-banging driver (common/soft_i2c.c) | 4740 | use the bit-banging driver (common/soft_i2c.c) |
4738 | 4741 | ||
4739 | * Patch by Martin Winistoerfer, 23 Mar 2003 | 4742 | * Patch by Martin Winistoerfer, 23 Mar 2003 |
4740 | - Add port to MPC555/556 microcontrollers | 4743 | - Add port to MPC555/556 microcontrollers |
4741 | - Add support for cmi customer board with | 4744 | - Add support for cmi customer board with |
4742 | Intel 28F128J3A, 28F320J3A or 28F640J3A flash. | 4745 | Intel 28F128J3A, 28F320J3A or 28F640J3A flash. |
4743 | 4746 | ||
4744 | * Patch by Rick Bronson, 28 Mar 2003: | 4747 | * Patch by Rick Bronson, 28 Mar 2003: |
4745 | - fix common/cmd_nand.c | 4748 | - fix common/cmd_nand.c |
4746 | 4749 | ||
4747 | * Patch by Arun Dharankar, 24 Mar 2003: | 4750 | * Patch by Arun Dharankar, 24 Mar 2003: |
4748 | - add threads / scheduler example code | 4751 | - add threads / scheduler example code |
4749 | 4752 | ||
4750 | * Add patches by Robert Schwebel, 31 Mar 2003: | 4753 | * Add patches by Robert Schwebel, 31 Mar 2003: |
4751 | - add ctrl-c support for kermit download | 4754 | - add ctrl-c support for kermit download |
4752 | - align bdinfo output on ARM | 4755 | - align bdinfo output on ARM |
4753 | - csb226 board: bring in sync with innokom/memsetup.S | 4756 | - csb226 board: bring in sync with innokom/memsetup.S |
4754 | - csb226 board: fix MDREFR handling | 4757 | - csb226 board: fix MDREFR handling |
4755 | - misc doc fixes / extensions | 4758 | - misc doc fixes / extensions |
4756 | - innokom board: cleanup, MDREFR fix in memsetup.S, config update | 4759 | - innokom board: cleanup, MDREFR fix in memsetup.S, config update |
4757 | - add BOOT_PROGRESS to armlinux.c | 4760 | - add BOOT_PROGRESS to armlinux.c |
4758 | 4761 | ||
4759 | * Add CPU ID, version, and clock speed for INCA-IP | 4762 | * Add CPU ID, version, and clock speed for INCA-IP |
4760 | 4763 | ||
4761 | * Patches by Dave Ellis, 18 Mar 2003 for SXNI855T board: | 4764 | * Patches by Dave Ellis, 18 Mar 2003 for SXNI855T board: |
4762 | - fix SRAM and SDRAM memory sizing | 4765 | - fix SRAM and SDRAM memory sizing |
4763 | - add status LED support | 4766 | - add status LED support |
4764 | - add MAC address for second (SCC1) ethernet port | 4767 | - add MAC address for second (SCC1) ethernet port |
4765 | 4768 | ||
4766 | * Update default environment for TQM8260 board | 4769 | * Update default environment for TQM8260 board |
4767 | 4770 | ||
4768 | * Patch by Rick Bronson, 16 Mar 2003: | 4771 | * Patch by Rick Bronson, 16 Mar 2003: |
4769 | - Add NAND flash support for reading, writing, and erasing NAND | 4772 | - Add NAND flash support for reading, writing, and erasing NAND |
4770 | flash (certain forms of which are called SmartMedia). | 4773 | flash (certain forms of which are called SmartMedia). |
4771 | - Add support for Atmel AT91RM9200DK ARM920T based development kit. | 4774 | - Add support for Atmel AT91RM9200DK ARM920T based development kit. |
4772 | 4775 | ||
4773 | * Patches by Robert Schwebel, 19 Mar 2003: | 4776 | * Patches by Robert Schwebel, 19 Mar 2003: |
4774 | - use arm-linux-gcc as default compiler for ARM | 4777 | - use arm-linux-gcc as default compiler for ARM |
4775 | - fix i2c fixup code | 4778 | - fix i2c fixup code |
4776 | - fix missing baudrate setting | 4779 | - fix missing baudrate setting |
4777 | - added $loadaddr / CFG_LOAD_ADDR support to loadb | 4780 | - added $loadaddr / CFG_LOAD_ADDR support to loadb |
4778 | - moved "ignoring trailing characters" _before_ u-boot wants to | 4781 | - moved "ignoring trailing characters" _before_ u-boot wants to |
4779 | print out diagnostics messages; removes bogus characters at the | 4782 | print out diagnostics messages; removes bogus characters at the |
4780 | end of transmission | 4783 | end of transmission |
4781 | 4784 | ||
4782 | * Patch by John Zhan, 18 Mar 2003: | 4785 | * Patch by John Zhan, 18 Mar 2003: |
4783 | Add support for SinoVee Microsystems SC8xx boards | 4786 | Add support for SinoVee Microsystems SC8xx boards |
4784 | 4787 | ||
4785 | * Patch by Rolf Offermanns, 21 Mar 2003: | 4788 | * Patch by Rolf Offermanns, 21 Mar 2003: |
4786 | ported the dnp1110 related changes from the current armboot cvs to | 4789 | ported the dnp1110 related changes from the current armboot cvs to |
4787 | current u-boot cvs. smc91111 does not work. problem marked in | 4790 | current u-boot cvs. smc91111 does not work. problem marked in |
4788 | smc91111.c, grep for "FIXME". | 4791 | smc91111.c, grep for "FIXME". |
4789 | 4792 | ||
4790 | * Patch by Brian Auld, 25 Mar 2003: | 4793 | * Patch by Brian Auld, 25 Mar 2003: |
4791 | Add support for STM flash chips on ebony board | 4794 | Add support for STM flash chips on ebony board |
4792 | 4795 | ||
4793 | * Add PCI support for MPC8250 Boards (PM825 module) | 4796 | * Add PCI support for MPC8250 Boards (PM825 module) |
4794 | 4797 | ||
4795 | * Patch by Stefan Roese, 25 Mar 2003: | 4798 | * Patch by Stefan Roese, 25 Mar 2003: |
4796 | - PCI405 update. | 4799 | - PCI405 update. |
4797 | 4800 | ||
4798 | * Patch by Stefan Roese, 20 Mar 2003: | 4801 | * Patch by Stefan Roese, 20 Mar 2003: |
4799 | - CPCI4052 update (support for revision 3). | 4802 | - CPCI4052 update (support for revision 3). |
4800 | - Set edge conditioning circuitry on PPC405GPr for compatibility | 4803 | - Set edge conditioning circuitry on PPC405GPr for compatibility |
4801 | to existing PPC405GP designs. | 4804 | to existing PPC405GP designs. |
4802 | - Clip udiv to 5 bits on PPC405 (serial.c). | 4805 | - Clip udiv to 5 bits on PPC405 (serial.c). |
4803 | 4806 | ||
4804 | * Extend INCAIP board support: | 4807 | * Extend INCAIP board support: |
4805 | - add automatic RAM size detection | 4808 | - add automatic RAM size detection |
4806 | - add "bdinfo" command | 4809 | - add "bdinfo" command |
4807 | - pass flash address and size to Linux kernel | 4810 | - pass flash address and size to Linux kernel |
4808 | - switch to 150 MHz clock | 4811 | - switch to 150 MHz clock |
4809 | 4812 | ||
4810 | * Avoid flicker on the TRAB's VFD by synchronizing the enable with | 4813 | * Avoid flicker on the TRAB's VFD by synchronizing the enable with |
4811 | the HSYNC/VSYNC. Requires new CPLD code (Version 101 for Rev. 100 | 4814 | the HSYNC/VSYNC. Requires new CPLD code (Version 101 for Rev. 100 |
4812 | boards, version 153 for Rev. 200 boards). | 4815 | boards, version 153 for Rev. 200 boards). |
4813 | 4816 | ||
4814 | * Patch by Vladimir Gurevich, 12 Mar 2003: | 4817 | * Patch by Vladimir Gurevich, 12 Mar 2003: |
4815 | Fix relocation problem of statically initialized string pointers | 4818 | Fix relocation problem of statically initialized string pointers |
4816 | in common/cmd_pci.c | 4819 | in common/cmd_pci.c |
4817 | 4820 | ||
4818 | * Patch by Kai-Uwe Blรถm, 12 Mar 2003: | 4821 | * Patch by Kai-Uwe Blรถm, 12 Mar 2003: |
4819 | Cleanup & bug fixes for JFFS2 code: | 4822 | Cleanup & bug fixes for JFFS2 code: |
4820 | - the memory mangement was broken. It caused havoc on malloc by | 4823 | - the memory mangement was broken. It caused havoc on malloc by |
4821 | writing beyond the block boundaries. | 4824 | writing beyond the block boundaries. |
4822 | - the length calculation for files was wrong, sometimes resulting | 4825 | - the length calculation for files was wrong, sometimes resulting |
4823 | in short file reads. | 4826 | in short file reads. |
4824 | - data copying now optionally takes fragment version numbers into | 4827 | - data copying now optionally takes fragment version numbers into |
4825 | account, to avoid copying from older data. | 4828 | account, to avoid copying from older data. |
4826 | See doc/README.JFFS2 for details. | 4829 | See doc/README.JFFS2 for details. |
4827 | 4830 | ||
4828 | * Patch by Josef Wagner, 12 Mar 2003: | 4831 | * Patch by Josef Wagner, 12 Mar 2003: |
4829 | - 16/32 MB and 50/80 MHz support with auto-detection for IP860 | 4832 | - 16/32 MB and 50/80 MHz support with auto-detection for IP860 |
4830 | - ETH05 and BEDBUG support for CU824 | 4833 | - ETH05 and BEDBUG support for CU824 |
4831 | - added support for MicroSys CPC45 | 4834 | - added support for MicroSys CPC45 |
4832 | - new BOOTROM/FLASH0 and DOC base for PM826 | 4835 | - new BOOTROM/FLASH0 and DOC base for PM826 |
4833 | 4836 | ||
4834 | * Patch by Robert Schwebel, 12 Mar 2003: | 4837 | * Patch by Robert Schwebel, 12 Mar 2003: |
4835 | Fix the chpart command on innokom board | 4838 | Fix the chpart command on innokom board |
4836 | 4839 | ||
4837 | * Name cleanup: | 4840 | * Name cleanup: |
4838 | mv include/asm-i386/ppcboot-i386.h include/asm-i386/u-boot-i386.h | 4841 | mv include/asm-i386/ppcboot-i386.h include/asm-i386/u-boot-i386.h |
4839 | s/PPCBoot/U-Boot/ in some files | 4842 | s/PPCBoot/U-Boot/ in some files |
4840 | s/pImage/uImage/ in some files | 4843 | s/pImage/uImage/ in some files |
4841 | 4844 | ||
4842 | * Patch by Detlev Zundel, 15 Jan 2003: | 4845 | * Patch by Detlev Zundel, 15 Jan 2003: |
4843 | Fix '' command line quoting | 4846 | Fix '' command line quoting |
4844 | 4847 | ||
4845 | * Patch by The LEOX team, 19 Jan 2003: | 4848 | * Patch by The LEOX team, 19 Jan 2003: |
4846 | - add support for the ELPT860 board | 4849 | - add support for the ELPT860 board |
4847 | - add support for Dallas ds164x RTC | 4850 | - add support for Dallas ds164x RTC |
4848 | 4851 | ||
4849 | * Patches by David Mรผller, 31 Jan 2003: | 4852 | * Patches by David Mรผller, 31 Jan 2003: |
4850 | - minimal setup for CardBus bridges | 4853 | - minimal setup for CardBus bridges |
4851 | - add EEPROM read/write support in the CS8900 driver | 4854 | - add EEPROM read/write support in the CS8900 driver |
4852 | - add support for the builtin I2C controller in the Samsung s3c24x0 chips | 4855 | - add support for the builtin I2C controller in the Samsung s3c24x0 chips |
4853 | - add support for MPL's VCMA9 (Samsung s3c2410 based) board | 4856 | - add support for MPL's VCMA9 (Samsung s3c2410 based) board |
4854 | 4857 | ||
4855 | * Patch by Steven Scholz, 04 Feb 2003: | 4858 | * Patch by Steven Scholz, 04 Feb 2003: |
4856 | add support for RTC DS1307 | 4859 | add support for RTC DS1307 |
4857 | 4860 | ||
4858 | * Patch by Reinhard Meyer, 5 Feb 2003: | 4861 | * Patch by Reinhard Meyer, 5 Feb 2003: |
4859 | fix PLPRCR/SCCR init sequence on 8xx to allow for | 4862 | fix PLPRCR/SCCR init sequence on 8xx to allow for |
4860 | changes of EBDF by software | 4863 | changes of EBDF by software |
4861 | 4864 | ||
4862 | * Patch by Vladimir Gurevich, 07 Feb 2003: | 4865 | * Patch by Vladimir Gurevich, 07 Feb 2003: |
4863 | "API-compatibility patch" for 4xx I2C driver | 4866 | "API-compatibility patch" for 4xx I2C driver |
4864 | 4867 | ||
4865 | * TRAB fixes / extensions: | 4868 | * TRAB fixes / extensions: |
4866 | - Restore VFD brightness as saved in environment | 4869 | - Restore VFD brightness as saved in environment |
4867 | - add support for Fujitsu flashes | 4870 | - add support for Fujitsu flashes |
4868 | - make sure both buzzers are turned off (drive low level) | 4871 | - make sure both buzzers are turned off (drive low level) |
4869 | 4872 | ||
4870 | * Patches by Robert Schwebel, 06 Mar 2003: | 4873 | * Patches by Robert Schwebel, 06 Mar 2003: |
4871 | - fix bug in BOOTP code (must use NetCopyIP) | 4874 | - fix bug in BOOTP code (must use NetCopyIP) |
4872 | - update of CSB226 port | 4875 | - update of CSB226 port |
4873 | - clear BSS segment on XScale | 4876 | - clear BSS segment on XScale |
4874 | - added support for i2c_init_board() function | 4877 | - added support for i2c_init_board() function |
4875 | - update to the Innokom plattform | 4878 | - update to the Innokom plattform |
4876 | 4879 | ||
4877 | * Extend support for redundand environments for configurations where | 4880 | * Extend support for redundand environments for configurations where |
4878 | environment size < sector size | 4881 | environment size < sector size |
4879 | 4882 | ||
4880 | * Patch by Rune Torgersen, 13 Feb 2003: | 4883 | * Patch by Rune Torgersen, 13 Feb 2003: |
4881 | Add support for Motorola MPC8266ADS board | 4884 | Add support for Motorola MPC8266ADS board |
4882 | 4885 | ||
4883 | * Patch by Kyle Harris, 19 Feb 2003: | 4886 | * Patch by Kyle Harris, 19 Feb 2003: |
4884 | patches for the Intel lubbock board: | 4887 | patches for the Intel lubbock board: |
4885 | memsetup.S - general cleanup (based on Robert's csb226 code) | 4888 | memsetup.S - general cleanup (based on Robert's csb226 code) |
4886 | flash.c - overhaul, actually works now | 4889 | flash.c - overhaul, actually works now |
4887 | lubbock.c - fix init funcs to return proper value | 4890 | lubbock.c - fix init funcs to return proper value |
4888 | 4891 | ||
4889 | * Patch by Kenneth Johansson, 26 Feb 2003: | 4892 | * Patch by Kenneth Johansson, 26 Feb 2003: |
4890 | - Fixed off by one in RFTA calculation. | 4893 | - Fixed off by one in RFTA calculation. |
4891 | - No need to abort when LDF is lower than we can program it's only | 4894 | - No need to abort when LDF is lower than we can program it's only |
4892 | minimum timing so clamp it to what we can do. | 4895 | minimum timing so clamp it to what we can do. |
4893 | - Takes function pointer to function for reading the spd_nvram. Usefull | 4896 | - Takes function pointer to function for reading the spd_nvram. Usefull |
4894 | for faking data or hardcode a module without the nvram. | 4897 | for faking data or hardcode a module without the nvram. |
4895 | - fix other user for above change | 4898 | - fix other user for above change |
4896 | - fix some comments. | 4899 | - fix some comments. |
4897 | 4900 | ||
4898 | * Patches by Brian Waite, 26 Feb 2003: | 4901 | * Patches by Brian Waite, 26 Feb 2003: |
4899 | - fix port for evb64260 board | 4902 | - fix port for evb64260 board |
4900 | - fix PCI for evb64260 board | 4903 | - fix PCI for evb64260 board |
4901 | - fix PCI scan | 4904 | - fix PCI scan |
4902 | 4905 | ||
4903 | * Patch by Reinhard Meyer, 1 Mar 2003: | 4906 | * Patch by Reinhard Meyer, 1 Mar 2003: |
4904 | Add support for EMK TOP860 Module | 4907 | Add support for EMK TOP860 Module |
4905 | 4908 | ||
4906 | * Patch by Yuli Barcohen, 02 Mar 2003: | 4909 | * Patch by Yuli Barcohen, 02 Mar 2003: |
4907 | Add SPD EEPROM support for MPC8260ADS board | 4910 | Add SPD EEPROM support for MPC8260ADS board |
4908 | 4911 | ||
4909 | * Patch by Robert Schwebel, 21 Jan 2003: | 4912 | * Patch by Robert Schwebel, 21 Jan 2003: |
4910 | - Add support for Innokom board | 4913 | - Add support for Innokom board |
4911 | - Don't complain if "install" fails | 4914 | - Don't complain if "install" fails |
4912 | - README cleanup (remove duplicated lines) | 4915 | - README cleanup (remove duplicated lines) |
4913 | - Update PXA header files | 4916 | - Update PXA header files |
4914 | 4917 | ||
4915 | * Add documentation for existing POST code (doc/README.POST) | 4918 | * Add documentation for existing POST code (doc/README.POST) |
4916 | 4919 | ||
4917 | * Patch by Laudney Ren, 15 Jan 2003: | 4920 | * Patch by Laudney Ren, 15 Jan 2003: |
4918 | Fix handling of redundand environment in "tools/envcrc.c" | 4921 | Fix handling of redundand environment in "tools/envcrc.c" |
4919 | 4922 | ||
4920 | * Patch by Detlev Zundel, 28 Feb 2003: | 4923 | * Patch by Detlev Zundel, 28 Feb 2003: |
4921 | Add bedbug support for 824x systems | 4924 | Add bedbug support for 824x systems |
4922 | 4925 | ||
4923 | * Add support for 16 MB flash configuration of TRAB board | 4926 | * Add support for 16 MB flash configuration of TRAB board |
4924 | 4927 | ||
4925 | * Patch by Erwin Rol, 27 Feb 2003: | 4928 | * Patch by Erwin Rol, 27 Feb 2003: |
4926 | Add support for RTEMS | 4929 | Add support for RTEMS |
4927 | 4930 | ||
4928 | * Add image information to README | 4931 | * Add image information to README |
4929 | 4932 | ||
4930 | * Patch by Stefan Roese, 18 Feb 2003: | 4933 | * Patch by Stefan Roese, 18 Feb 2003: |
4931 | CPCIISER4 configuration updated. | 4934 | CPCIISER4 configuration updated. |
4932 | 4935 | ||
4933 | * Patch by Stefan Roese, 17 Feb 2003: | 4936 | * Patch by Stefan Roese, 17 Feb 2003: |
4934 | Fixed bug in ext. serial clock setup on PPC405 (since PPC440 port). | 4937 | Fixed bug in ext. serial clock setup on PPC405 (since PPC440 port). |
4935 | 4938 | ||
4936 | * Patch by Stefan Roese, 13 Feb 2003: | 4939 | * Patch by Stefan Roese, 13 Feb 2003: |
4937 | Add "pcidelay" environment variable (in ms, enabled via | 4940 | Add "pcidelay" environment variable (in ms, enabled via |
4938 | CONFIG_PCI_BOOTDELAY). | 4941 | CONFIG_PCI_BOOTDELAY). |
4939 | PCI spec 2.2 defines, that a pci target has 2^25 pci clocks after | 4942 | PCI spec 2.2 defines, that a pci target has 2^25 pci clocks after |
4940 | RST# to respond to configuration cycles (33MHz -> 1s). | 4943 | RST# to respond to configuration cycles (33MHz -> 1s). |
4941 | 4944 | ||
4942 | * Fix dual PCMCIA slot support (when running with just one | 4945 | * Fix dual PCMCIA slot support (when running with just one |
4943 | slot populated) | 4946 | slot populated) |
4944 | 4947 | ||
4945 | * Add VFD type detection to trab board | 4948 | * Add VFD type detection to trab board |
4946 | 4949 | ||
4947 | * extend drivers/cs8900.c driver to synchronize ethaddr environment | 4950 | * extend drivers/cs8900.c driver to synchronize ethaddr environment |
4948 | variable with value in the EEPROM | 4951 | variable with value in the EEPROM |
4949 | 4952 | ||
4950 | * Patch by Stefan Roese, 10 Feb 2003: | 4953 | * Patch by Stefan Roese, 10 Feb 2003: |
4951 | Add support for 4MB and 128MB onboard SDRAM (cpu/ppc4xx/sdram.c) | 4954 | Add support for 4MB and 128MB onboard SDRAM (cpu/ppc4xx/sdram.c) |
4952 | 4955 | ||
4953 | * Add support for MIPS32 4Kc CPUs | 4956 | * Add support for MIPS32 4Kc CPUs |
4954 | 4957 | ||
4955 | * Add support for INCA-IP Board | 4958 | * Add support for INCA-IP Board |
4956 | 4959 | ||
4957 | ====================================================================== | 4960 | ====================================================================== |
4958 | Changes for U-Boot 0.2.2: | 4961 | Changes for U-Boot 0.2.2: |
4959 | ====================================================================== | 4962 | ====================================================================== |
4960 | 4963 | ||
4961 | * Add dual ethernet support on PM826 | 4964 | * Add dual ethernet support on PM826 |
4962 | 4965 | ||
4963 | * Add support for LXT971 PHY on PM826 | 4966 | * Add support for LXT971 PHY on PM826 |
4964 | 4967 | ||
4965 | * Patch by Tord Andersson, 16 Jan 2003: | 4968 | * Patch by Tord Andersson, 16 Jan 2003: |
4966 | Fix flash sector count for TQM8xxL | 4969 | Fix flash sector count for TQM8xxL |
4967 | 4970 | ||
4968 | * Fix I2C EEPROM problem on ICU862 board (would only write the first | 4971 | * Fix I2C EEPROM problem on ICU862 board (would only write the first |
4969 | 16 bytes out of each 32 byte block) | 4972 | 16 bytes out of each 32 byte block) |
4970 | 4973 | ||
4971 | ====================================================================== | 4974 | ====================================================================== |
4972 | Changes for U-Boot 0.2.1: | 4975 | Changes for U-Boot 0.2.1: |
4973 | ====================================================================== | 4976 | ====================================================================== |
4974 | 4977 | ||
4975 | * Add support for V37 board | 4978 | * Add support for V37 board |
4976 | (patch by Jรณn Benediktsson, 11 Dec 2002) | 4979 | (patch by Jรณn Benediktsson, 11 Dec 2002) |
4977 | 4980 | ||
4978 | * Update baudrate in bd_info when it gets changed | 4981 | * Update baudrate in bd_info when it gets changed |
4979 | 4982 | ||
4980 | * Add watchdog trigger points while waiting for serial port | 4983 | * Add watchdog trigger points while waiting for serial port |
4981 | (so far only 8xx -- needed on LWMON with 100ms watchdog) | 4984 | (so far only 8xx -- needed on LWMON with 100ms watchdog) |
4982 | 4985 | ||
4983 | * Improve command line tool to access the U-Boot's environment | 4986 | * Improve command line tool to access the U-Boot's environment |
4984 | (figuration of the utility, using a config file) | 4987 | (figuration of the utility, using a config file) |
4985 | 4988 | ||
4986 | * Add single quote support for (old) command line parser | 4989 | * Add single quote support for (old) command line parser |
4987 | 4990 | ||
4988 | * Switch LWMON board default config from FRAM to EEPROM; | 4991 | * Switch LWMON board default config from FRAM to EEPROM; |
4989 | in POST, EEPROM shows up on 8 addresses | 4992 | in POST, EEPROM shows up on 8 addresses |
4990 | 4993 | ||
4991 | ====================================================================== | 4994 | ====================================================================== |
4992 | Changes for U-Boot 0.2.0: | 4995 | Changes for U-Boot 0.2.0: |
4993 | ====================================================================== | 4996 | ====================================================================== |
4994 | 4997 | ||
4995 | * Use 1-byte-read instead of -write for iprobe() function | 4998 | * Use 1-byte-read instead of -write for iprobe() function |
4996 | Add i2c commands to PM826 config | 4999 | Add i2c commands to PM826 config |
4997 | 5000 | ||
4998 | * extend I2C POST code: check for list on known addresses | 5001 | * extend I2C POST code: check for list on known addresses |
4999 | 5002 | ||
5000 | * Improve log buffer code; use "loglevel" to decide which messages | 5003 | * Improve log buffer code; use "loglevel" to decide which messages |
5001 | to log on the console, too (like in Linux); get rid of "logstart" | 5004 | to log on the console, too (like in Linux); get rid of "logstart" |
5002 | 5005 | ||
5003 | * Add command line tool to access the U-Boot's environment | 5006 | * Add command line tool to access the U-Boot's environment |
5004 | (board-specific for TRAB now, to be fixed later) | 5007 | (board-specific for TRAB now, to be fixed later) |
5005 | 5008 | ||
5006 | * Patch by Hans-Joerg Frieden, 06 Dec 2002 | 5009 | * Patch by Hans-Joerg Frieden, 06 Dec 2002 |
5007 | Fix misc problems with AmigaOne support | 5010 | Fix misc problems with AmigaOne support |
5008 | 5011 | ||
5009 | * Patch by Chris Hallinan, 3 Dec 2002: | 5012 | * Patch by Chris Hallinan, 3 Dec 2002: |
5010 | minor cleanup to the MPC8245 EPIC driver | 5013 | minor cleanup to the MPC8245 EPIC driver |
5011 | 5014 | ||
5012 | * Patch by Pierre Aubert , 28 Nov 2002 | 5015 | * Patch by Pierre Aubert , 28 Nov 2002 |
5013 | Add support for external (SIU) interrupts on MPC8xx | 5016 | Add support for external (SIU) interrupts on MPC8xx |
5014 | 5017 | ||
5015 | * Patch by Pierre Aubert , 28 Nov 2002 | 5018 | * Patch by Pierre Aubert , 28 Nov 2002 |
5016 | Fix nested syscalls bug in standalone applications | 5019 | Fix nested syscalls bug in standalone applications |
5017 | 5020 | ||
5018 | * Patch by David Mรผller, 27 Nov 2002: | 5021 | * Patch by David Mรผller, 27 Nov 2002: |
5019 | fix output of "pciinfo" command for CardBus bridge devices. | 5022 | fix output of "pciinfo" command for CardBus bridge devices. |
5020 | 5023 | ||
5021 | * Fix bug in TQM8260 board detection - boards got stuck when board ID | 5024 | * Fix bug in TQM8260 board detection - boards got stuck when board ID |
5022 | was not readable | 5025 | was not readable |
5023 | 5026 | ||
5024 | * Add LED indication for IDE activity on KUP4K board | 5027 | * Add LED indication for IDE activity on KUP4K board |
5025 | 5028 | ||
5026 | * Fix startup problems with VFD display on TRAB | 5029 | * Fix startup problems with VFD display on TRAB |
5027 | 5030 | ||
5028 | * Patch by Pierre Aubert, 20 Nov 2002 | 5031 | * Patch by Pierre Aubert, 20 Nov 2002 |
5029 | Add driver for Epson SED13806 graphic controller. | 5032 | Add driver for Epson SED13806 graphic controller. |
5030 | Add support for BMP logos in cfb_console driver. | 5033 | Add support for BMP logos in cfb_console driver. |
5031 | 5034 | ||
5032 | * Added support for both PCMCIA slots (at the same time!) on MPC8xx | 5035 | * Added support for both PCMCIA slots (at the same time!) on MPC8xx |
5033 | 5036 | ||
5034 | * Patch by Rod Boyce, 21 Nov 2002: | 5037 | * Patch by Rod Boyce, 21 Nov 2002: |
5035 | fix PCMCIA on MBX8xx board | 5038 | fix PCMCIA on MBX8xx board |
5036 | 5039 | ||
5037 | * Patch by Pierre Aubert , 21 Nov 2002 | 5040 | * Patch by Pierre Aubert , 21 Nov 2002 |
5038 | Add CFG_CPM_POST_WORD_ADDR to make the offset of the | 5041 | Add CFG_CPM_POST_WORD_ADDR to make the offset of the |
5039 | bootmode word in DPRAM configurable | 5042 | bootmode word in DPRAM configurable |
5040 | 5043 | ||
5041 | * Patch by Daniel Engstrรถm, 18 Nov 2002: | 5044 | * Patch by Daniel Engstrรถm, 18 Nov 2002: |
5042 | Fixes for x86 port (mostly strings issues) | 5045 | Fixes for x86 port (mostly strings issues) |
5043 | 5046 | ||
5044 | * Patch by Ken Chou, 18 Nov 2002: | 5047 | * Patch by Ken Chou, 18 Nov 2002: |
5045 | Fix for natsemi NIC cards (DP83815) | 5048 | Fix for natsemi NIC cards (DP83815) |
5046 | 5049 | ||
5047 | * Patch by Pierre Aubert, 19 Nov 2002: | 5050 | * Patch by Pierre Aubert, 19 Nov 2002: |
5048 | fix a bug for the MII configuration, and some warnings | 5051 | fix a bug for the MII configuration, and some warnings |
5049 | 5052 | ||
5050 | * Patch by Thomas Frieden, 13 Nov 2002: | 5053 | * Patch by Thomas Frieden, 13 Nov 2002: |
5051 | Add code for AmigaOne board | 5054 | Add code for AmigaOne board |
5052 | (preliminary merge to U-Boot, still WIP) | 5055 | (preliminary merge to U-Boot, still WIP) |
5053 | 5056 | ||
5054 | * Patch by Jon Diekema, 12 Nov 2002: | 5057 | * Patch by Jon Diekema, 12 Nov 2002: |
5055 | - Adding URL for IEEE OUI lookup | 5058 | - Adding URL for IEEE OUI lookup |
5056 | - Making the autoboot #defines dependent on CONFIG_AUTOBOOT_KEYED | 5059 | - Making the autoboot #defines dependent on CONFIG_AUTOBOOT_KEYED |
5057 | being defined. | 5060 | being defined. |
5058 | - In the CONFIG_EXTRA_ENV_SETTINGS #define, the root-on-initrd and | 5061 | - In the CONFIG_EXTRA_ENV_SETTINGS #define, the root-on-initrd and |
5059 | root-on-nfs macros are designed to switch how the default boot | 5062 | root-on-nfs macros are designed to switch how the default boot |
5060 | method gets defined. | 5063 | method gets defined. |
5061 | 5064 | ||
5062 | * Patch by Daniel Engstrรถm, 13 Nov 2002: | 5065 | * Patch by Daniel Engstrรถm, 13 Nov 2002: |
5063 | Add support for i386 architecture and AMD SC520 board | 5066 | Add support for i386 architecture and AMD SC520 board |
5064 | 5067 | ||
5065 | * Patch by Pierre Aubert, 12 Nov 2002: | 5068 | * Patch by Pierre Aubert, 12 Nov 2002: |
5066 | Add support for DOS filesystem and booting from DOS floppy disk | 5069 | Add support for DOS filesystem and booting from DOS floppy disk |
5067 | 5070 | ||
5068 | * Patch by Jim Sandoz, 07 Nov 2002: | 5071 | * Patch by Jim Sandoz, 07 Nov 2002: |
5069 | Increase number of network RX buffers (PKTBUFSRX in | 5072 | Increase number of network RX buffers (PKTBUFSRX in |
5070 | "include/net.h") for EEPRO100 based boards (especially SP8240) | 5073 | "include/net.h") for EEPRO100 based boards (especially SP8240) |
5071 | which showed "Receiver is not ready" errors when U-Boot was | 5074 | which showed "Receiver is not ready" errors when U-Boot was |
5072 | processing the receive buffers slower than the network controller | 5075 | processing the receive buffers slower than the network controller |
5073 | was filling them. | 5076 | was filling them. |
5074 | 5077 | ||
5075 | * Patch by Andreas Oberritter, 09 Nov 2002: | 5078 | * Patch by Andreas Oberritter, 09 Nov 2002: |
5076 | Change behaviour of NetLoop(): return -1 for errors, filesize | 5079 | Change behaviour of NetLoop(): return -1 for errors, filesize |
5077 | otherwise; return code 0 is valid an means no file loaded - in this | 5080 | otherwise; return code 0 is valid an means no file loaded - in this |
5078 | case the environment still gets updated! | 5081 | case the environment still gets updated! |
5079 | 5082 | ||
5080 | * Patches by Jon Diekema, 9 Nov 2002: | 5083 | * Patches by Jon Diekema, 9 Nov 2002: |
5081 | - improve ADC/DAC clocking on the SACSng board to align | 5084 | - improve ADC/DAC clocking on the SACSng board to align |
5082 | the failing edges of LRCLK and SCLK | 5085 | the failing edges of LRCLK and SCLK |
5083 | - sbc8260 configuration tweaks | 5086 | - sbc8260 configuration tweaks |
5084 | - add status LED support for 82xx systems | 5087 | - add status LED support for 82xx systems |
5085 | - wire sspi/sspo commands into command handler; improved error | 5088 | - wire sspi/sspo commands into command handler; improved error |
5086 | handlering | 5089 | handlering |
5087 | - add timestamp support and alternate memory test to the | 5090 | - add timestamp support and alternate memory test to the |
5088 | SACSng configuration | 5091 | SACSng configuration |
5089 | 5092 | ||
5090 | * Patch by Vince Husovsky, 7 Nov 2002: | 5093 | * Patch by Vince Husovsky, 7 Nov 2002: |
5091 | Add "-n" to linker options to get rid of "Not enough room for | 5094 | Add "-n" to linker options to get rid of "Not enough room for |
5092 | program headers" problem | 5095 | program headers" problem |
5093 | 5096 | ||
5094 | * Patch by David Mรผller, 05 Nov 2002 | 5097 | * Patch by David Mรผller, 05 Nov 2002 |
5095 | Rename CONFIG_PLL_INPUT_FREQ to CONFIG_SYS_CLK_FREQ | 5098 | Rename CONFIG_PLL_INPUT_FREQ to CONFIG_SYS_CLK_FREQ |
5096 | so we can use an already existing name | 5099 | so we can use an already existing name |
5097 | 5100 | ||
5098 | * Patch by Pierre Aubert, 05 Nov 2002 | 5101 | * Patch by Pierre Aubert, 05 Nov 2002 |
5099 | Hardware relatied improvments in FDC boot code | 5102 | Hardware relatied improvments in FDC boot code |
5100 | 5103 | ||
5101 | * Patch by Holger Schurig, 5 Nov 2002: | 5104 | * Patch by Holger Schurig, 5 Nov 2002: |
5102 | Make the PXA really change it's frequency | 5105 | Make the PXA really change it's frequency |
5103 | 5106 | ||
5104 | * Patch by Pierre Aubert, 05 Nov 2002 | 5107 | * Patch by Pierre Aubert, 05 Nov 2002 |
5105 | Add support for slave serial Spartan 2 FPGAs | 5108 | Add support for slave serial Spartan 2 FPGAs |
5106 | 5109 | ||
5107 | * Fix uninitialized memory (MAC address) in 8xx SCC/FEC ethernet | 5110 | * Fix uninitialized memory (MAC address) in 8xx SCC/FEC ethernet |
5108 | drivers | 5111 | drivers |
5109 | 5112 | ||
5110 | * Add support for log buffer which can be passed to Linux kernel's | 5113 | * Add support for log buffer which can be passed to Linux kernel's |
5111 | syslog mechanism; used especially for POST results. | 5114 | syslog mechanism; used especially for POST results. |
5112 | 5115 | ||
5113 | * Patch by Klaus Heydeck, 31 Oct 2002: | 5116 | * Patch by Klaus Heydeck, 31 Oct 2002: |
5114 | Add initial support for kup4k board | 5117 | Add initial support for kup4k board |
5115 | 5118 | ||
5116 | * Patch by Robert Schwebel, 04 Nov 2002: | 5119 | * Patch by Robert Schwebel, 04 Nov 2002: |
5117 | - use watchdog to reset PXA250 systems | 5120 | - use watchdog to reset PXA250 systems |
5118 | - added progress callbacks to (some of the) ARM code | 5121 | - added progress callbacks to (some of the) ARM code |
5119 | - update for Cogent CSB226 board | 5122 | - update for Cogent CSB226 board |
5120 | 5123 | ||
5121 | * Add support for FPS860 board | 5124 | * Add support for FPS860 board |
5122 | 5125 | ||
5123 | * Patch by Guillaume Alexandre,, 04 Nov 2002: | 5126 | * Patch by Guillaume Alexandre,, 04 Nov 2002: |
5124 | Improve PCI access on 32-bits Compact PCI bus | 5127 | Improve PCI access on 32-bits Compact PCI bus |
5125 | 5128 | ||
5126 | * Fix mdelay() on TRAB - this was still the debugging version with | 5129 | * Fix mdelay() on TRAB - this was still the debugging version with |
5127 | seconds instead of ms. | 5130 | seconds instead of ms. |
5128 | 5131 | ||
5129 | * Patch by Robert Schwebel, 1 Nov 2002: | 5132 | * Patch by Robert Schwebel, 1 Nov 2002: |
5130 | XScale related cleanup (affects all ARM boards) | 5133 | XScale related cleanup (affects all ARM boards) |
5131 | 5134 | ||
5132 | * Cleanup of names and README. | 5135 | * Cleanup of names and README. |
5133 | 5136 | ||
5134 | ====================================================================== | 5137 | ====================================================================== |
5135 | Notes for U-Boot 0.1.0: | 5138 | Notes for U-Boot 0.1.0: |
5136 | ====================================================================== | 5139 | ====================================================================== |
5137 | 5140 | ||
5138 | This is the initial version of "Das U-Boot", the Universal Boot Loader. | 5141 | This is the initial version of "Das U-Boot", the Universal Boot Loader. |
5139 | 5142 | ||
5140 | It is based on version 2.0.0 (the "Halloween Release") of PPCBoot. | 5143 | It is based on version 2.0.0 (the "Halloween Release") of PPCBoot. |
5141 | For information about the history of the project please see the | 5144 | For information about the history of the project please see the |
5142 | PPCBoot project page at http://sourceforge.net/projects/ppcboot | 5145 | PPCBoot project page at http://sourceforge.net/projects/ppcboot |
5143 | 5146 | ||
5144 | ====================================================================== | 5147 | ====================================================================== |
5145 | 5148 |
CREDITS
1 | # | 1 | # |
2 | # Parts of the development effort for this project have been | 2 | # Parts of the development effort for this project have been |
3 | # sponsored by SIEMENS AG, Austria. Thanks to SIEMENS for | 3 | # sponsored by SIEMENS AG, Austria. Thanks to SIEMENS for |
4 | # supporting an Open Source project! | 4 | # supporting an Open Source project! |
5 | # | 5 | # |
6 | # | 6 | # |
7 | # This is at least a partial credits-file of individual people that | 7 | # This is at least a partial credits-file of individual people that |
8 | # have contributed to the U-Boot project. It is sorted by name and | 8 | # have contributed to the U-Boot project. It is sorted by name and |
9 | # formatted to allow easy grepping and beautification by scripts. | 9 | # formatted to allow easy grepping and beautification by scripts. |
10 | # The fields are: name (N), email (E), web-address (W), PGP key ID | 10 | # The fields are: name (N), email (E), web-address (W), PGP key ID |
11 | # and fingerprint (P), description (D), and snail-mail address (S). | 11 | # and fingerprint (P), description (D), and snail-mail address (S). |
12 | # Thanks, | 12 | # Thanks, |
13 | # | 13 | # |
14 | # Wolfgang Denk | 14 | # Wolfgang Denk |
15 | #---------- | 15 | #---------- |
16 | 16 | ||
17 | N: Dr. Bruno Achauer | 17 | N: Dr. Bruno Achauer |
18 | E: bruno@exet-ag.de | 18 | E: bruno@exet-ag.de |
19 | D: Support for NetBSD (both as host and target system) | 19 | D: Support for NetBSD (both as host and target system) |
20 | 20 | ||
21 | N: Guillaume Alexandre | 21 | N: Guillaume Alexandre |
22 | E: guillaume.alexandre@gespac.ch | 22 | E: guillaume.alexandre@gespac.ch |
23 | D: Add PCIPPC6 configuration | 23 | D: Add PCIPPC6 configuration |
24 | 24 | ||
25 | N: Swen Anderson | 25 | N: Swen Anderson |
26 | E: sand@peppercon.de | 26 | E: sand@peppercon.de |
27 | D: ERIC Support | 27 | D: ERIC Support |
28 | 28 | ||
29 | N: Pantelis Antoniou | 29 | N: Pantelis Antoniou |
30 | E: panto@intracom.gr | 30 | E: panto@intracom.gr |
31 | D: NETVIA & NETPHONE board support, ARTOS support. | 31 | D: NETVIA & NETPHONE board support, ARTOS support. |
32 | D: Support for Silicon Turnkey eXpress XTc | 32 | D: Support for Silicon Turnkey eXpress XTc |
33 | 33 | ||
34 | N: Pierre Aubert | 34 | N: Pierre Aubert |
35 | E: <p.aubert@staubli.com> | 35 | E: <p.aubert@staubli.com> |
36 | D: Support for RPXClassic board | 36 | D: Support for RPXClassic board |
37 | 37 | ||
38 | N: Yuli Barcohen | 38 | N: Yuli Barcohen |
39 | E: yuli@arabellasw.com | 39 | E: yuli@arabellasw.com |
40 | D: Unified support for Motorola MPC826xADS/MPC8272ADS/PQ2FADS boards. | 40 | D: Unified support for Motorola MPC826xADS/MPC8272ADS/PQ2FADS boards. |
41 | D: Support for Zephyr Engineering ZPC.1900 board. | 41 | D: Support for Zephyr Engineering ZPC.1900 board. |
42 | D: Support for Interphase iSPAN boards. | 42 | D: Support for Interphase iSPAN boards. |
43 | D: Support for Analogue&Micro Adder boards. | 43 | D: Support for Analogue&Micro Adder boards. |
44 | D: Support for Analogue&Micro Rattler boards. | 44 | D: Support for Analogue&Micro Rattler boards. |
45 | W: http://www.arabellasw.com | 45 | W: http://www.arabellasw.com |
46 | 46 | ||
47 | N: Jerry van Baren | 47 | N: Jerry van Baren |
48 | E: <vanbaren@cideas.com> | 48 | E: <vanbaren@cideas.com> |
49 | D: BedBug port to 603e core (MPC82xx). Code for enhanced memory test. | 49 | D: BedBug port to 603e core (MPC82xx). Code for enhanced memory test. |
50 | 50 | ||
51 | N: Pavel Bartusek | 51 | N: Pavel Bartusek |
52 | E: <pba@sysgo.com> | 52 | E: <pba@sysgo.com> |
53 | D: Reiserfs support | 53 | D: Reiserfs support |
54 | W: http://www.elinos.com | 54 | W: http://www.elinos.com |
55 | 55 | ||
56 | N: Andre Beaudin | 56 | N: Andre Beaudin |
57 | E: <andre.beaudin@colubris.com> | 57 | E: <andre.beaudin@colubris.com> |
58 | D: PCMCIA, Ethernet, TFTP | 58 | D: PCMCIA, Ethernet, TFTP |
59 | 59 | ||
60 | N: Jon Benediktsson | 60 | N: Jon Benediktsson |
61 | E: jonb@marel.is | 61 | E: jonb@marel.is |
62 | D: Support for Marel V37 board | 62 | D: Support for Marel V37 board |
63 | 63 | ||
64 | N: Raphael Bossek | 64 | N: Raphael Bossek |
65 | E: raphael.bossek@solutions4linux.de | 65 | E: raphael.bossek@solutions4linux.de |
66 | D: 8xxrom-0.3.0 | 66 | D: 8xxrom-0.3.0 |
67 | 67 | ||
68 | N: Cliff Brake | 68 | N: Cliff Brake |
69 | E: cliff.brake@gmail.com | 69 | E: cliff.brake@gmail.com |
70 | D: Port to Vibren PXA255 IDP platform | 70 | D: Port to Vibren PXA255 IDP platform |
71 | W: http://www.vibren.com | 71 | W: http://www.vibren.com |
72 | W: http://bec-systems.com | 72 | W: http://bec-systems.com |
73 | 73 | ||
74 | N: Rick Bronson | 74 | N: Rick Bronson |
75 | E: rick@efn.org | 75 | E: rick@efn.org |
76 | D: Atmel AT91RM9200DK and NAND support | 76 | D: Atmel AT91RM9200DK and NAND support |
77 | 77 | ||
78 | N: David Brown | 78 | N: David Brown |
79 | E: DBrown03@harris.com | 79 | E: DBrown03@harris.com |
80 | D: Extensions to 8xxrom-0.3.0 | 80 | D: Extensions to 8xxrom-0.3.0 |
81 | 81 | ||
82 | N: Oliver Brown | 82 | N: Oliver Brown |
83 | E: obrown@adventnetworks.com | 83 | E: obrown@adventnetworks.com |
84 | D: Port to the gw8260 board | 84 | D: Port to the gw8260 board |
85 | 85 | ||
86 | N: Curt Brune | 86 | N: Curt Brune |
87 | E: curt@cucy.com | 87 | E: curt@cucy.com |
88 | D: Added support for Samsung S3C4510B CPU (ARM7tdmi based SoC) | 88 | D: Added support for Samsung S3C4510B CPU (ARM7tdmi based SoC) |
89 | D: Added support for ESPD-Inc. EVB4510 Board | 89 | D: Added support for ESPD-Inc. EVB4510 Board |
90 | W: http://www.cucy.com | 90 | W: http://www.cucy.com |
91 | 91 | ||
92 | N: Jonathan De Bruyne | 92 | N: Jonathan De Bruyne |
93 | E: jonathan.debruyne@siemens.atea.be | 93 | E: jonathan.debruyne@siemens.atea.be |
94 | D: Port to Siemens IAD210 board | 94 | D: Port to Siemens IAD210 board |
95 | 95 | ||
96 | N: Ken Chou | 96 | N: Ken Chou |
97 | E: kchou@ieee.org | 97 | E: kchou@ieee.org |
98 | D: Support for A3000 SBC board | 98 | D: Support for A3000 SBC board |
99 | 99 | ||
100 | N: Conn Clark | 100 | N: Conn Clark |
101 | E: clark@esteem.com | 101 | E: clark@esteem.com |
102 | D: ESTEEM192E support | 102 | D: ESTEEM192E support |
103 | 103 | ||
104 | N: Magnus Damm | 104 | N: Magnus Damm |
105 | E: damm@opensource.se | 105 | E: damm@opensource.se |
106 | D: 8xxrom | 106 | D: 8xxrom |
107 | 107 | ||
108 | N: Richard Danter | ||
109 | E: richard.danter@windriver.com | ||
110 | D: Support for Wind River PPMC 7xx/74xx boards | ||
111 | |||
108 | N: George G. Davis | 112 | N: George G. Davis |
109 | E: gdavis@mvista.com | 113 | E: gdavis@mvista.com |
110 | D: Board ports for ADS GraphicsClient+ and Intel Assabet | 114 | D: Board ports for ADS GraphicsClient+ and Intel Assabet |
111 | 115 | ||
112 | N: Arun Dharankar | 116 | N: Arun Dharankar |
113 | E: ADharankar@ATTBI.Com | 117 | E: ADharankar@ATTBI.Com |
114 | D: threads / scheduler example code | 118 | D: threads / scheduler example code |
115 | 119 | ||
116 | N: Kรกri Davรญรฐsson | 120 | N: Kรกri Davรญรฐsson |
117 | E: kd@flaga.is | 121 | E: kd@flaga.is |
118 | D: FLAGA DM Support | 122 | D: FLAGA DM Support |
119 | 123 | ||
120 | N: Wolfgang Denk | 124 | N: Wolfgang Denk |
121 | E: wd@denx.de | 125 | E: wd@denx.de |
122 | D: U-Boot initial version, continuing maintenance, ARMBoot merge | 126 | D: U-Boot initial version, continuing maintenance, ARMBoot merge |
123 | W: http://www.denx.de | 127 | W: http://www.denx.de |
124 | 128 | ||
125 | N: Dan A. Dickey | 129 | N: Dan A. Dickey |
126 | E: ddickey@charter.net | 130 | E: ddickey@charter.net |
127 | D: FADS Support | 131 | D: FADS Support |
128 | 132 | ||
129 | N: James F. Dougherty | 133 | N: James F. Dougherty |
130 | E: jfd@GigabitNetworks.COM | 134 | E: jfd@GigabitNetworks.COM |
131 | D: Port to the MOUSSE board | 135 | D: Port to the MOUSSE board |
132 | 136 | ||
133 | N: Dave Ellis | 137 | N: Dave Ellis |
134 | E: DGE@sixnetio.com | 138 | E: DGE@sixnetio.com |
135 | D: EEPROM Speedup, SXNI855T port | 139 | D: EEPROM Speedup, SXNI855T port |
136 | 140 | ||
137 | N: Thomas Elste | 141 | N: Thomas Elste |
138 | E: info@elste.org | 142 | E: info@elste.org |
139 | D: Port for the ModNET50 Board, NET+50 CPU Port | 143 | D: Port for the ModNET50 Board, NET+50 CPU Port |
140 | W: http://www.imms.de | 144 | W: http://www.imms.de |
141 | 145 | ||
142 | N: Daniel Engstrรถm | 146 | N: Daniel Engstrรถm |
143 | E: daniel@omicron.se | 147 | E: daniel@omicron.se |
144 | D: x86 port, Support for sc520_cdp board | 148 | D: x86 port, Support for sc520_cdp board |
145 | 149 | ||
146 | N: Dr. Wolfgang Grandegger | 150 | N: Dr. Wolfgang Grandegger |
147 | E: wg@denx.de | 151 | E: wg@denx.de |
148 | D: Support for Interphase 4539 T1/E1/J1 PMC, PN62, CCM, SCM boards | 152 | D: Support for Interphase 4539 T1/E1/J1 PMC, PN62, CCM, SCM boards |
149 | W: www.denx.de | 153 | W: www.denx.de |
150 | 154 | ||
151 | N: Peter Figuli | 155 | N: Peter Figuli |
152 | E: peposh@etc.sk | 156 | E: peposh@etc.sk |
153 | D: Support for WEP EP250 (PXA) board | 157 | D: Support for WEP EP250 (PXA) board |
154 | 158 | ||
155 | N: Thomas Frieden | 159 | N: Thomas Frieden |
156 | E: ThomasF@hyperion-entertainment.com | 160 | E: ThomasF@hyperion-entertainment.com |
157 | D: Support for AmigaOne | 161 | D: Support for AmigaOne |
158 | 162 | ||
159 | N: Frank Gottschling | 163 | N: Frank Gottschling |
160 | E: fgottschling@eltec.de | 164 | E: fgottschling@eltec.de |
161 | D: Support for ELTEC MHPC/BAB7xx/ELPPC boards, cfb-console, i8042, SMI LynxEM | 165 | D: Support for ELTEC MHPC/BAB7xx/ELPPC boards, cfb-console, i8042, SMI LynxEM |
162 | W: www.eltec.de | 166 | W: www.eltec.de |
163 | 167 | ||
164 | N: Marius Groeger | 168 | N: Marius Groeger |
165 | E: mgroeger@sysgo.de | 169 | E: mgroeger@sysgo.de |
166 | D: MBX Support, board specific function interface, EST SBC8260 support; initial support for StrongARM (LART), ARM720TDMI (implementa A7) | 170 | D: MBX Support, board specific function interface, EST SBC8260 support; initial support for StrongARM (LART), ARM720TDMI (implementa A7) |
167 | W: www.elinos.com | 171 | W: www.elinos.com |
168 | 172 | ||
169 | N: Kirk Haderlie | 173 | N: Kirk Haderlie |
170 | E: khaderlie@vividimage.com | 174 | E: khaderlie@vividimage.com |
171 | D: Added TFTP to 8xxrom (-> 0.3.1) | 175 | D: Added TFTP to 8xxrom (-> 0.3.1) |
172 | 176 | ||
173 | N: Chris Hallinan | 177 | N: Chris Hallinan |
174 | E: clh@net1plus.com | 178 | E: clh@net1plus.com |
175 | D: DHCP Support | 179 | D: DHCP Support |
176 | 180 | ||
177 | N: Anne-Sophie Harnois | 181 | N: Anne-Sophie Harnois |
178 | E: Anne-Sophie.Harnois@nextream.fr | 182 | E: Anne-Sophie.Harnois@nextream.fr |
179 | D: Port to Walnut405 board | 183 | D: Port to Walnut405 board |
180 | 184 | ||
181 | N: Andreas Heppel | 185 | N: Andreas Heppel |
182 | E: aheppel@sysgo.de | 186 | E: aheppel@sysgo.de |
183 | D: CPU Support for MPC 75x; board support for Eltec BAB750 [obsolete!] | 187 | D: CPU Support for MPC 75x; board support for Eltec BAB750 [obsolete!] |
184 | 188 | ||
185 | N: August Hoeraendl | 189 | N: August Hoeraendl |
186 | E: august.hoerandl@gmx.at | 190 | E: august.hoerandl@gmx.at |
187 | D: Support for the logodl board (PXA2xx) | 191 | D: Support for the logodl board (PXA2xx) |
188 | 192 | ||
189 | N: Josh Huber | 193 | N: Josh Huber |
190 | E: huber@alum.wpi.edu | 194 | E: huber@alum.wpi.edu |
191 | D: Port to the Galileo Evaluation Board, and the MPC74xx cpu series. | 195 | D: Port to the Galileo Evaluation Board, and the MPC74xx cpu series. |
192 | W: http://www.mclx.com/ | 196 | W: http://www.mclx.com/ |
193 | 197 | ||
194 | H: Stuart Hughes | 198 | H: Stuart Hughes |
195 | E: stuarth@lineo.com | 199 | E: stuarth@lineo.com |
196 | D: Port to MPC8260ADS board | 200 | D: Port to MPC8260ADS board |
197 | 201 | ||
198 | H: Rich Ireland | 202 | H: Rich Ireland |
199 | E: r.ireland@computer.org | 203 | E: r.ireland@computer.org |
200 | D: FPGA device configuration driver | 204 | D: FPGA device configuration driver |
201 | 205 | ||
202 | N: Gary Jennejohn | 206 | N: Gary Jennejohn |
203 | E: garyj@jennejohn.org, gj@denx.de | 207 | E: garyj@jennejohn.org, gj@denx.de |
204 | D: Support for Samsung ARM920T S3C2400X, ARM920T "TRAB" | 208 | D: Support for Samsung ARM920T S3C2400X, ARM920T "TRAB" |
205 | W: www.denx.de | 209 | W: www.denx.de |
206 | 210 | ||
207 | N: Murray Jensen | 211 | N: Murray Jensen |
208 | E: Murray.Jensen@csiro.au | 212 | E: Murray.Jensen@csiro.au |
209 | D: Initial 8260 support; GDB support | 213 | D: Initial 8260 support; GDB support |
210 | D: Port to Cogent+Hymod boards; Hymod Board Database | 214 | D: Port to Cogent+Hymod boards; Hymod Board Database |
211 | 215 | ||
212 | N: Yoo. Jonghoon | 216 | N: Yoo. Jonghoon |
213 | E: yooth@ipone.co.kr | 217 | E: yooth@ipone.co.kr |
214 | D: Added port to the RPXlite board | 218 | D: Added port to the RPXlite board |
215 | 219 | ||
216 | N: Mark Jonas | 220 | N: Mark Jonas |
217 | E: mark.jonas@freescale.com | 221 | E: mark.jonas@freescale.com |
218 | D: Support for Freescale Total5200 platform | 222 | D: Support for Freescale Total5200 platform |
219 | W: http://www.mobilegt.com/ | 223 | W: http://www.mobilegt.com/ |
220 | 224 | ||
221 | N: Sam Song | 225 | N: Sam Song |
222 | E: samsongshu@yahoo.com.cn | 226 | E: samsongshu@yahoo.com.cn |
223 | D: Port to the RPXlite_DW board | 227 | D: Port to the RPXlite_DW board |
224 | 228 | ||
225 | N: Brad Kemp | 229 | N: Brad Kemp |
226 | E: Brad.Kemp@seranoa.com | 230 | E: Brad.Kemp@seranoa.com |
227 | D: Port to Windriver ppmc8260 board | 231 | D: Port to Windriver ppmc8260 board |
228 | 232 | ||
229 | N: Sangmoon Kim | 233 | N: Sangmoon Kim |
230 | E: dogoil@etinsys.com | 234 | E: dogoil@etinsys.com |
231 | D: Support for debris board | 235 | D: Support for debris board |
232 | 236 | ||
233 | N: Frederick W. Klatt | 237 | N: Frederick W. Klatt |
234 | E: fred.klatt@windriver.com | 238 | E: fred.klatt@windriver.com |
235 | D: Support for Wind River SBC8540/SBC8560 boards | 239 | D: Support for Wind River SBC8540/SBC8560 boards |
236 | 240 | ||
237 | N: Thomas Koeller | 241 | N: Thomas Koeller |
238 | E: tkoeller@gmx.net | 242 | E: tkoeller@gmx.net |
239 | D: Port to Motorola Sandpoint 3 (MPC8240) | 243 | D: Port to Motorola Sandpoint 3 (MPC8240) |
240 | 244 | ||
241 | N: Raghu Krishnaprasad | 245 | N: Raghu Krishnaprasad |
242 | E: Raghu.Krishnaprasad@fci.com | 246 | E: Raghu.Krishnaprasad@fci.com |
243 | D: Support for Adder-II MPC852T evaluation board | 247 | D: Support for Adder-II MPC852T evaluation board |
244 | W: http://www.forcecomputers.com | 248 | W: http://www.forcecomputers.com |
245 | 249 | ||
246 | N: Bernhard Kuhn | 250 | N: Bernhard Kuhn |
247 | E: bkuhn@metrowerks.com | 251 | E: bkuhn@metrowerks.com |
248 | D Support for Coldfire CPU; Support for Motorola M5272C3 and M5282EVB boards | 252 | D Support for Coldfire CPU; Support for Motorola M5272C3 and M5282EVB boards |
249 | 253 | ||
250 | N: Prakash Kumar | 254 | N: Prakash Kumar |
251 | E: prakash@embedx.com | 255 | E: prakash@embedx.com |
252 | D Support for Intrinsyc CERF PXA250 board. | 256 | D Support for Intrinsyc CERF PXA250 board. |
253 | 257 | ||
254 | N: Thomas Lange | 258 | N: Thomas Lange |
255 | E: thomas@corelatus.se | 259 | E: thomas@corelatus.se |
256 | D: Support for GTH, GTH2 and dbau1x00 boards; lots of PCMCIA fixes | 260 | D: Support for GTH, GTH2 and dbau1x00 boards; lots of PCMCIA fixes |
257 | 261 | ||
258 | N: Marc Leeman | 262 | N: Marc Leeman |
259 | E: marc.leeman@barco.com | 263 | E: marc.leeman@barco.com |
260 | D: Support for Barco Streaming Video Card (SVC) and Sample Compress Network (SCN) | 264 | D: Support for Barco Streaming Video Card (SVC) and Sample Compress Network (SCN) |
261 | W: www.barco.com | 265 | W: www.barco.com |
262 | 266 | ||
263 | N: The LEOX team | 267 | N: The LEOX team |
264 | E: team@leox.org | 268 | E: team@leox.org |
265 | D: Support for LEOX boards, DS164x RTC | 269 | D: Support for LEOX boards, DS164x RTC |
266 | W: http://www.leox.org | 270 | W: http://www.leox.org |
267 | 271 | ||
268 | N: Leif Lindholm | 272 | N: Leif Lindholm |
269 | E: leif.lindholm@i3micro.com | 273 | E: leif.lindholm@i3micro.com |
270 | D: Support for AMD dbau1550 board. | 274 | D: Support for AMD dbau1550 board. |
271 | 275 | ||
272 | N: Stephan Linz | 276 | N: Stephan Linz |
273 | E: linz@li-pro.net | 277 | E: linz@li-pro.net |
274 | D: Support for Nios Stratix Development Kit (DK-1S10) | 278 | D: Support for Nios Stratix Development Kit (DK-1S10) |
275 | D: Support for SSV ADNP/ESC1 (Nios Cyclone) | 279 | D: Support for SSV ADNP/ESC1 (Nios Cyclone) |
276 | W: http://www.li-pro.net | 280 | W: http://www.li-pro.net |
277 | 281 | ||
278 | N: Raymond Lo | 282 | N: Raymond Lo |
279 | E: lo@routefree.com | 283 | E: lo@routefree.com |
280 | D: Support for DOS partitions | 284 | D: Support for DOS partitions |
281 | 285 | ||
282 | N: Dan Malek | 286 | N: Dan Malek |
283 | E: dan@embeddedalley.com | 287 | E: dan@embeddedalley.com |
284 | D: FADSROM, the grandfather of all of this | 288 | D: FADSROM, the grandfather of all of this |
285 | D: Support for Silicon Turnkey eXpress XTc | 289 | D: Support for Silicon Turnkey eXpress XTc |
286 | 290 | ||
287 | N: Andrea "llandre" Marson | 291 | N: Andrea "llandre" Marson |
288 | E: andrea.marson@dave-tech.it | 292 | E: andrea.marson@dave-tech.it |
289 | D: Port to PPChameleonEVB board | 293 | D: Port to PPChameleonEVB board |
290 | W: www.dave-tech.it | 294 | W: www.dave-tech.it |
291 | 295 | ||
292 | N: Reinhard Meyer | 296 | N: Reinhard Meyer |
293 | E: r.meyer@emk-elektronik.de | 297 | E: r.meyer@emk-elektronik.de |
294 | D: Port to EMK TOP860 Module | 298 | D: Port to EMK TOP860 Module |
295 | 299 | ||
296 | N: Jay Monkman | 300 | N: Jay Monkman |
297 | E: jtm@smoothsmoothie.com | 301 | E: jtm@smoothsmoothie.com |
298 | D: EST SBC8260 support | 302 | D: EST SBC8260 support |
299 | 303 | ||
300 | N: Frank Morauf | 304 | N: Frank Morauf |
301 | E: frank.morauf@salzbrenner.com | 305 | E: frank.morauf@salzbrenner.com |
302 | D: Support for Embedded Planet RPX Super Board | 306 | D: Support for Embedded Planet RPX Super Board |
303 | 307 | ||
304 | N: David Mรผller | 308 | N: David Mรผller |
305 | E: d.mueller@elsoft.ch | 309 | E: d.mueller@elsoft.ch |
306 | D: Support for Samsung ARM920T SMDK2410 eval board | 310 | D: Support for Samsung ARM920T SMDK2410 eval board |
307 | 311 | ||
308 | N: Scott McNutt | 312 | N: Scott McNutt |
309 | E: smcnutt@psyent.com | 313 | E: smcnutt@psyent.com |
310 | D: Support for Altera Nios-32 CPU | 314 | D: Support for Altera Nios-32 CPU |
311 | D: Support for Altera Nios-II CPU | 315 | D: Support for Altera Nios-II CPU |
312 | D: Support for Nios Cyclone Development Kit (DK-1C20) | 316 | D: Support for Nios Cyclone Development Kit (DK-1C20) |
313 | W: http://www.psyent.com | 317 | W: http://www.psyent.com |
314 | 318 | ||
315 | N: Rolf Offermanns | 319 | N: Rolf Offermanns |
316 | E: rof@sysgo.de | 320 | E: rof@sysgo.de |
317 | D: Initial support for SSV-DNP1110, SMC91111 driver | 321 | D: Initial support for SSV-DNP1110, SMC91111 driver |
318 | W: www.elinos.com | 322 | W: www.elinos.com |
319 | 323 | ||
320 | N: John Otken | 324 | N: John Otken |
321 | E: jotken@softadvances.com | 325 | E: jotken@softadvances.com |
322 | D: Support for AMCC Luan 440SP board | 326 | D: Support for AMCC Luan 440SP board |
323 | 327 | ||
324 | N: Tolunay Orkun | 328 | N: Tolunay Orkun |
325 | E: torkun@nextio.com | 329 | E: torkun@nextio.com |
326 | D: Support for Cogent CSB272 & CSB472 boards | 330 | D: Support for Cogent CSB272 & CSB472 boards |
327 | 331 | ||
328 | N: Keith Outwater | 332 | N: Keith Outwater |
329 | E: keith_outwater@mvis.com | 333 | E: keith_outwater@mvis.com |
330 | D: Support for generic/custom MPC860T boards (GEN860T, GEN860T_SC) | 334 | D: Support for generic/custom MPC860T boards (GEN860T, GEN860T_SC) |
331 | 335 | ||
332 | N: Frank Panno | 336 | N: Frank Panno |
333 | E: fpanno@delphintech.com | 337 | E: fpanno@delphintech.com |
334 | D: Support for Embedded Planet EP8260 Board | 338 | D: Support for Embedded Planet EP8260 Board |
335 | 339 | ||
336 | N: Denis Peter | 340 | N: Denis Peter |
337 | E: d.peter@mpl.ch | 341 | E: d.peter@mpl.ch |
338 | D: Support for 4xx SCSI, floppy, CDROM, CT69000 video, ... | 342 | D: Support for 4xx SCSI, floppy, CDROM, CT69000 video, ... |
339 | D: Support for PIP405 board | 343 | D: Support for PIP405 board |
340 | D: Support for MIP405 board | 344 | D: Support for MIP405 board |
341 | 345 | ||
342 | N: Dave Peverley | 346 | N: Dave Peverley |
343 | E: dpeverley@mpc-data.co.uk | 347 | E: dpeverley@mpc-data.co.uk |
344 | W: http://www.mpc-data.co.uk | 348 | W: http://www.mpc-data.co.uk |
345 | D: OMAP730 P2 board support | 349 | D: OMAP730 P2 board support |
346 | 350 | ||
347 | N: Bill Pitts | 351 | N: Bill Pitts |
348 | E: wlp@mindspring.com | 352 | E: wlp@mindspring.com |
349 | D: BedBug embedded debugger code | 353 | D: BedBug embedded debugger code |
350 | 354 | ||
351 | N: Daniel Poirot | 355 | N: Daniel Poirot |
352 | E: dan.poirot@windriver.com | 356 | E: dan.poirot@windriver.com |
353 | D: Support for the Wind River sbc405, sbc8240 board | 357 | D: Support for the Wind River sbc405, sbc8240 board |
354 | W: http://www.windriver.com | 358 | W: http://www.windriver.com |
355 | 359 | ||
356 | N: Stefan Roese | 360 | N: Stefan Roese |
357 | E: stefan.roese@esd-electronics.com | 361 | E: stefan.roese@esd-electronics.com |
358 | D: AMCC PPC401/403/405GP Support; Windows environment support | 362 | D: AMCC PPC401/403/405GP Support; Windows environment support |
359 | 363 | ||
360 | N: Erwin Rol | 364 | N: Erwin Rol |
361 | E: erwin@muffin.org | 365 | E: erwin@muffin.org |
362 | D: boot support for RTEMS | 366 | D: boot support for RTEMS |
363 | 367 | ||
364 | N: Paul Ruhland | 368 | N: Paul Ruhland |
365 | E: pruhland@rochester.rr.com | 369 | E: pruhland@rochester.rr.com |
366 | D: Port to Logic Zoom LH7A40x SDK board(s) | 370 | D: Port to Logic Zoom LH7A40x SDK board(s) |
367 | 371 | ||
368 | N: Neil Russell | 372 | N: Neil Russell |
369 | E: caret@c-side.com | 373 | E: caret@c-side.com |
370 | D: Author of LiMon-1.4.2, which contributed some ideas | 374 | D: Author of LiMon-1.4.2, which contributed some ideas |
371 | 375 | ||
372 | N: Travis B. Sawyer | 376 | N: Travis B. Sawyer |
373 | E: travis.sawyer@sandburst.com | 377 | E: travis.sawyer@sandburst.com |
374 | D: Support for AMCC PPC440GX, XES XPedite1000 440GX PrPMC board. AMCC 440gx Ref Platform (Ocotea) | 378 | D: Support for AMCC PPC440GX, XES XPedite1000 440GX PrPMC board. AMCC 440gx Ref Platform (Ocotea) |
375 | 379 | ||
376 | N: Paolo Scaffardi | 380 | N: Paolo Scaffardi |
377 | E: arsenio@tin.it | 381 | E: arsenio@tin.it |
378 | D: FADS823 configuration, MPC823 video support, I2C, wireless keyboard, lots more | 382 | D: FADS823 configuration, MPC823 video support, I2C, wireless keyboard, lots more |
379 | 383 | ||
380 | N: Robert Schwebel | 384 | N: Robert Schwebel |
381 | E: r.schwebel@pengutronix.de | 385 | E: r.schwebel@pengutronix.de |
382 | D: Support for csb226, logodl and innokom boards (PXA2xx) | 386 | D: Support for csb226, logodl and innokom boards (PXA2xx) |
383 | 387 | ||
384 | N: Art Shipkowski | 388 | N: Art Shipkowski |
385 | E: art@videon-central.com | 389 | E: art@videon-central.com |
386 | D: Support for NetSilicon NS7520 | 390 | D: Support for NetSilicon NS7520 |
387 | 391 | ||
388 | N: Yasushi Shoji | 392 | N: Yasushi Shoji |
389 | E: yashi@atmark-techno.com | 393 | E: yashi@atmark-techno.com |
390 | D: Support for Xilinx MicroBlaze, for Atmark Techno SUZAKU FPGA board | 394 | D: Support for Xilinx MicroBlaze, for Atmark Techno SUZAKU FPGA board |
391 | 395 | ||
392 | N: Kurt Stremerch | 396 | N: Kurt Stremerch |
393 | E: kurt@exys.be | 397 | E: kurt@exys.be |
394 | D: Support for Exys XSEngine board | 398 | D: Support for Exys XSEngine board |
395 | 399 | ||
396 | N: Andrea Scian | 400 | N: Andrea Scian |
397 | E: andrea.scian@dave-tech.it | 401 | E: andrea.scian@dave-tech.it |
398 | D: Port to B2 board | 402 | D: Port to B2 board |
399 | W: www.dave-tech.it | 403 | W: www.dave-tech.it |
400 | 404 | ||
401 | N: Rob Taylor | 405 | N: Rob Taylor |
402 | E: robt@flyingpig.com | 406 | E: robt@flyingpig.com |
403 | D: Port to MBX860T and Sandpoint8240 | 407 | D: Port to MBX860T and Sandpoint8240 |
404 | 408 | ||
405 | N: Erik Theisen | 409 | N: Erik Theisen |
406 | E: etheisen@mindspring.com | 410 | E: etheisen@mindspring.com |
407 | D: MBX8xx and many other patches | 411 | D: MBX8xx and many other patches |
408 | 412 | ||
409 | N: Jim Thompson | 413 | N: Jim Thompson |
410 | E: jim@musenki.com | 414 | E: jim@musenki.com |
411 | D: Support for MUSENKI board | 415 | D: Support for MUSENKI board |
412 | 416 | ||
413 | N: Rune Torgersen | 417 | N: Rune Torgersen |
414 | E: <runet@innovsys.com> | 418 | E: <runet@innovsys.com> |
415 | D: Support for Motorola MPC8266ADS board | 419 | D: Support for Motorola MPC8266ADS board |
416 | 420 | ||
417 | N: Greg Ungerer | 421 | N: Greg Ungerer |
418 | E: greg.ungerer@opengear.com | 422 | E: greg.ungerer@opengear.com |
419 | D: Support for ks8695 CPU, and OpenGear cmXXXX boards | 423 | D: Support for ks8695 CPU, and OpenGear cmXXXX boards |
420 | 424 | ||
421 | N: David Updegraff | 425 | N: David Updegraff |
422 | E: dave@cray.com | 426 | E: dave@cray.com |
423 | D: Port to Cray L1 board; DHCP vendor extensions | 427 | D: Port to Cray L1 board; DHCP vendor extensions |
424 | 428 | ||
425 | N: Christian Vejlbo | 429 | N: Christian Vejlbo |
426 | E: christian.vejlbo@tellabs.com | 430 | E: christian.vejlbo@tellabs.com |
427 | D: FADS860T ethernet support | 431 | D: FADS860T ethernet support |
428 | 432 | ||
429 | N: Robert Whaley | 433 | N: Robert Whaley |
430 | E: rwhaley@applieddata.net | 434 | E: rwhaley@applieddata.net |
431 | D: Port to ARM PXA27x adsvix SBC | 435 | D: Port to ARM PXA27x adsvix SBC |
432 | 436 | ||
433 | N: Martin Winistoerfer | 437 | N: Martin Winistoerfer |
434 | E: martinwinistoerfer@gmx.ch | 438 | E: martinwinistoerfer@gmx.ch |
435 | D: Port to MPC555/556 microcontrollers and support for cmi board | 439 | D: Port to MPC555/556 microcontrollers and support for cmi board |
436 | 440 | ||
437 | N: Ming-Len Wu | 441 | N: Ming-Len Wu |
438 | E: minglen_wu@techware.com.tw | 442 | E: minglen_wu@techware.com.tw |
439 | D: Motorola MX1ADS board support | 443 | D: Motorola MX1ADS board support |
440 | W: http://www.techware.com.tw/ | 444 | W: http://www.techware.com.tw/ |
441 | 445 | ||
442 | N: Xianghua Xiao | 446 | N: Xianghua Xiao |
443 | E: x.xiao@motorola.com | 447 | E: x.xiao@motorola.com |
444 | D: Support for Motorola 85xx(PowerQUICC III) chip, MPC8540ADS and MPC8560ADS boards. | 448 | D: Support for Motorola 85xx(PowerQUICC III) chip, MPC8540ADS and MPC8560ADS boards. |
445 | 449 | ||
446 | N: John Zhan | 450 | N: John Zhan |
447 | E: zhanz@sinovee.com | 451 | E: zhanz@sinovee.com |
448 | D: Support for SinoVee Microsystems SC8xx SBC | 452 | D: Support for SinoVee Microsystems SC8xx SBC |
449 | 453 | ||
450 | N: Alex Zuepke | 454 | N: Alex Zuepke |
451 | E: azu@sysgo.de | 455 | E: azu@sysgo.de |
452 | D: Overall improvements on StrongARM, ARM720TDMI; Support for Tuxscreen; initial PCMCIA support for ARM | 456 | D: Overall improvements on StrongARM, ARM720TDMI; Support for Tuxscreen; initial PCMCIA support for ARM |
453 | W: www.elinos.com | 457 | W: www.elinos.com |
454 | 458 | ||
455 | N: James MacAulay | 459 | N: James MacAulay |
456 | E: james.macaulay@amirix.com | 460 | E: james.macaulay@amirix.com |
457 | D: Suppport for Amirix AP1000 | 461 | D: Suppport for Amirix AP1000 |
458 | W: www.amirix.com | 462 | W: www.amirix.com |
459 | 463 |
MAKEALL
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | : ${JOBS:=} | 3 | : ${JOBS:=} |
4 | 4 | ||
5 | if [ "${CROSS_COMPILE}" ] ; then | 5 | if [ "${CROSS_COMPILE}" ] ; then |
6 | MAKE="make CROSS_COMPILE=${CROSS_COMPILE}" | 6 | MAKE="make CROSS_COMPILE=${CROSS_COMPILE}" |
7 | else | 7 | else |
8 | MAKE=make | 8 | MAKE=make |
9 | fi | 9 | fi |
10 | 10 | ||
11 | [ -d LOG ] || mkdir LOG || exit 1 | 11 | [ -d LOG ] || mkdir LOG || exit 1 |
12 | 12 | ||
13 | LIST="" | 13 | LIST="" |
14 | 14 | ||
15 | ######################################################################### | 15 | ######################################################################### |
16 | ## MPC5xx Systems | 16 | ## MPC5xx Systems |
17 | ######################################################################### | 17 | ######################################################################### |
18 | 18 | ||
19 | LIST_5xx=" \ | 19 | LIST_5xx=" \ |
20 | cmi_mpc5xx \ | 20 | cmi_mpc5xx \ |
21 | " | 21 | " |
22 | 22 | ||
23 | ######################################################################### | 23 | ######################################################################### |
24 | ## MPC5xxx Systems | 24 | ## MPC5xxx Systems |
25 | ######################################################################### | 25 | ######################################################################### |
26 | 26 | ||
27 | LIST_5xxx=" \ | 27 | LIST_5xxx=" \ |
28 | BC3450 cpci5200 EVAL5200 icecube_5100 \ | 28 | BC3450 cpci5200 EVAL5200 icecube_5100 \ |
29 | icecube_5200 lite5200b mcc200 o2dnt \ | 29 | icecube_5200 lite5200b mcc200 o2dnt \ |
30 | pf5200 PM520 Total5100 Total5200 \ | 30 | pf5200 PM520 Total5100 Total5200 \ |
31 | Total5200_Rev2 TQM5200 \ | 31 | Total5200_Rev2 TQM5200 \ |
32 | " | 32 | " |
33 | 33 | ||
34 | ######################################################################### | 34 | ######################################################################### |
35 | ## MPC8xx Systems | 35 | ## MPC8xx Systems |
36 | ######################################################################### | 36 | ######################################################################### |
37 | 37 | ||
38 | LIST_8xx=" \ | 38 | LIST_8xx=" \ |
39 | Adder87x GENIETV MBX860T R360MPI \ | 39 | Adder87x GENIETV MBX860T R360MPI \ |
40 | AdderII GTH MHPC RBC823 \ | 40 | AdderII GTH MHPC RBC823 \ |
41 | ADS860 hermes MPC86xADS rmu \ | 41 | ADS860 hermes MPC86xADS rmu \ |
42 | AMX860 IAD210 MPC885ADS RPXClassic \ | 42 | AMX860 IAD210 MPC885ADS RPXClassic \ |
43 | c2mon ICU862_100MHz MVS1 RPXlite \ | 43 | c2mon ICU862_100MHz MVS1 RPXlite \ |
44 | CCM IP860 NETPHONE RPXlite_DW \ | 44 | CCM IP860 NETPHONE RPXlite_DW \ |
45 | cogent_mpc8xx IVML24 NETTA RRvision \ | 45 | cogent_mpc8xx IVML24 NETTA RRvision \ |
46 | ELPT860 IVML24_128 NETTA2 SM850 \ | 46 | ELPT860 IVML24_128 NETTA2 SM850 \ |
47 | EP88x IVML24_256 NETTA_ISDN SPD823TS \ | 47 | EP88x IVML24_256 NETTA_ISDN SPD823TS \ |
48 | ESTEEM192E IVMS8 NETVIA svm_sc8xx \ | 48 | ESTEEM192E IVMS8 NETVIA svm_sc8xx \ |
49 | ETX094 IVMS8_128 NETVIA_V2 SXNI855T \ | 49 | ETX094 IVMS8_128 NETVIA_V2 SXNI855T \ |
50 | FADS823 IVMS8_256 NX823 TOP860 \ | 50 | FADS823 IVMS8_256 NX823 TOP860 \ |
51 | FADS850SAR KUP4K pcu_e TQM823L \ | 51 | FADS850SAR KUP4K pcu_e TQM823L \ |
52 | FADS860T KUP4X QS823 TQM823L_LCD \ | 52 | FADS860T KUP4X QS823 TQM823L_LCD \ |
53 | FLAGADM LANTEC QS850 TQM850L \ | 53 | FLAGADM LANTEC QS850 TQM850L \ |
54 | FPS850L lwmon QS860T TQM855L \ | 54 | FPS850L lwmon QS860T TQM855L \ |
55 | GEN860T MBX quantum TQM860L \ | 55 | GEN860T MBX quantum TQM860L \ |
56 | GEN860T_SC uc100 \ | 56 | GEN860T_SC uc100 \ |
57 | v37 \ | 57 | v37 \ |
58 | " | 58 | " |
59 | 59 | ||
60 | ######################################################################### | 60 | ######################################################################### |
61 | ## PPC4xx Systems | 61 | ## PPC4xx Systems |
62 | ######################################################################### | 62 | ######################################################################### |
63 | 63 | ||
64 | LIST_4xx=" \ | 64 | LIST_4xx=" \ |
65 | ADCIOP AP1000 AR405 ASH405 \ | 65 | ADCIOP AP1000 AR405 ASH405 \ |
66 | bubinga CANBT CMS700 CPCI2DP \ | 66 | bubinga CANBT CMS700 CPCI2DP \ |
67 | CPCI405 CPCI4052 CPCI405AB CPCI405DT \ | 67 | CPCI405 CPCI4052 CPCI405AB CPCI405DT \ |
68 | CPCI440 CPCIISER4 CRAYL1 csb272 \ | 68 | CPCI440 CPCIISER4 CRAYL1 csb272 \ |
69 | csb472 DASA_SIM DP405 DU405 \ | 69 | csb472 DASA_SIM DP405 DU405 \ |
70 | ebony ERIC EXBITGEN G2000 \ | 70 | ebony ERIC EXBITGEN G2000 \ |
71 | HH405 HUB405 JSE KAREF \ | 71 | HH405 HUB405 JSE KAREF \ |
72 | luan METROBOX MIP405 MIP405T \ | 72 | luan METROBOX MIP405 MIP405T \ |
73 | ML2 ml300 ocotea OCRTC \ | 73 | ML2 ml300 ocotea OCRTC \ |
74 | ORSG p3p440 PCI405 pcs440ep \ | 74 | ORSG p3p440 PCI405 pcs440ep \ |
75 | PIP405 PLU405 PMC405 PPChameleonEVB \ | 75 | PIP405 PLU405 PMC405 PPChameleonEVB \ |
76 | sbc405 VOH405 VOM405 W7OLMC \ | 76 | sbc405 VOH405 VOM405 W7OLMC \ |
77 | W7OLMG walnut WUH405 XPEDITE1K \ | 77 | W7OLMG walnut WUH405 XPEDITE1K \ |
78 | yellowstone yosemite \ | 78 | yellowstone yosemite \ |
79 | " | 79 | " |
80 | 80 | ||
81 | ######################################################################### | 81 | ######################################################################### |
82 | ## MPC8220 Systems | 82 | ## MPC8220 Systems |
83 | ######################################################################### | 83 | ######################################################################### |
84 | 84 | ||
85 | LIST_8220=" \ | 85 | LIST_8220=" \ |
86 | Alaska8220 Yukon8220 \ | 86 | Alaska8220 Yukon8220 \ |
87 | " | 87 | " |
88 | 88 | ||
89 | ######################################################################### | 89 | ######################################################################### |
90 | ## MPC824x Systems | 90 | ## MPC824x Systems |
91 | ######################################################################### | 91 | ######################################################################### |
92 | 92 | ||
93 | LIST_824x=" \ | 93 | LIST_824x=" \ |
94 | A3000 barco BMW CPC45 \ | 94 | A3000 barco BMW CPC45 \ |
95 | CU824 debris eXalion HIDDEN_DRAGON \ | 95 | CU824 debris eXalion HIDDEN_DRAGON \ |
96 | MOUSSE MUSENKI MVBLUE OXC \ | 96 | MOUSSE MUSENKI MVBLUE OXC \ |
97 | PN62 Sandpoint8240 Sandpoint8245 sbc8240 \ | 97 | PN62 Sandpoint8240 Sandpoint8245 sbc8240 \ |
98 | SL8245 utx8245 \ | 98 | SL8245 utx8245 \ |
99 | " | 99 | " |
100 | 100 | ||
101 | ######################################################################### | 101 | ######################################################################### |
102 | ## MPC8260 Systems (includes 8250, 8255 etc.) | 102 | ## MPC8260 Systems (includes 8250, 8255 etc.) |
103 | ######################################################################### | 103 | ######################################################################### |
104 | 104 | ||
105 | LIST_8260=" \ | 105 | LIST_8260=" \ |
106 | atc cogent_mpc8260 CPU86 CPU87 \ | 106 | atc cogent_mpc8260 CPU86 CPU87 \ |
107 | ep8248 ep8260 gw8260 hymod \ | 107 | ep8248 ep8260 gw8260 hymod \ |
108 | IPHASE4539 ISPAN MPC8260ADS MPC8266ADS \ | 108 | IPHASE4539 ISPAN MPC8260ADS MPC8266ADS \ |
109 | MPC8272ADS PM826 PM828 ppmc8260 \ | 109 | MPC8272ADS PM826 PM828 ppmc8260 \ |
110 | Rattler8248 RPXsuper rsdproto sacsng \ | 110 | Rattler8248 RPXsuper rsdproto sacsng \ |
111 | sbc8260 SCM TQM8260_AC TQM8260_AD \ | 111 | sbc8260 SCM TQM8260_AC TQM8260_AD \ |
112 | TQM8260_AE ZPC1900 \ | 112 | TQM8260_AE ZPC1900 \ |
113 | " | 113 | " |
114 | 114 | ||
115 | ######################################################################### | 115 | ######################################################################### |
116 | ## MPC83xx Systems (includes 8349, etc.) | 116 | ## MPC83xx Systems (includes 8349, etc.) |
117 | ######################################################################### | 117 | ######################################################################### |
118 | 118 | ||
119 | LIST_83xx=" \ | 119 | LIST_83xx=" \ |
120 | TQM834x MPC8349EMDS \ | 120 | TQM834x MPC8349EMDS \ |
121 | " | 121 | " |
122 | 122 | ||
123 | 123 | ||
124 | ######################################################################### | 124 | ######################################################################### |
125 | ## MPC85xx Systems (includes 8540, 8560 etc.) | 125 | ## MPC85xx Systems (includes 8540, 8560 etc.) |
126 | ######################################################################### | 126 | ######################################################################### |
127 | 127 | ||
128 | LIST_85xx=" \ | 128 | LIST_85xx=" \ |
129 | MPC8540ADS MPC8540EVAL MPC8541CDS MPC8548CDS \ | 129 | MPC8540ADS MPC8540EVAL MPC8541CDS MPC8548CDS \ |
130 | MPC8555CDS MPC8560ADS PM854 PM856 \ | 130 | MPC8555CDS MPC8560ADS PM854 PM856 \ |
131 | sbc8540 sbc8560 stxgp3 TQM8540 \ | 131 | sbc8540 sbc8560 stxgp3 TQM8540 \ |
132 | TQM8541 TQM8555 TQM8560 \ | 132 | TQM8541 TQM8555 TQM8560 \ |
133 | " | 133 | " |
134 | 134 | ||
135 | ######################################################################### | 135 | ######################################################################### |
136 | ## 74xx/7xx Systems | 136 | ## 74xx/7xx Systems |
137 | ######################################################################### | 137 | ######################################################################### |
138 | 138 | ||
139 | LIST_74xx=" \ | 139 | LIST_74xx=" \ |
140 | DB64360 DB64460 EVB64260 P3G4 \ | 140 | DB64360 DB64460 EVB64260 P3G4 \ |
141 | PCIPPC2 PCIPPC6 ZUMA \ | 141 | PCIPPC2 PCIPPC6 ZUMA \ |
142 | " | 142 | " |
143 | 143 | ||
144 | LIST_7xx=" \ | 144 | LIST_7xx=" \ |
145 | BAB7xx CPCI750 ELPPC \ | 145 | BAB7xx CPCI750 ELPPC ppmc7xx \ |
146 | " | 146 | " |
147 | 147 | ||
148 | LIST_ppc="${LIST_5xx} ${LIST_5xxx} \ | 148 | LIST_ppc="${LIST_5xx} ${LIST_5xxx} \ |
149 | ${LIST_8xx} \ | 149 | ${LIST_8xx} \ |
150 | ${LIST_8220} ${LIST_824x} ${LIST_8260} \ | 150 | ${LIST_8220} ${LIST_824x} ${LIST_8260} \ |
151 | ${LIST_83xx} \ | 151 | ${LIST_83xx} \ |
152 | ${LIST_85xx} \ | 152 | ${LIST_85xx} \ |
153 | ${LIST_4xx} \ | 153 | ${LIST_4xx} \ |
154 | ${LIST_74xx} ${LIST_7xx}" | 154 | ${LIST_74xx} ${LIST_7xx}" |
155 | 155 | ||
156 | ######################################################################### | 156 | ######################################################################### |
157 | ## StrongARM Systems | 157 | ## StrongARM Systems |
158 | ######################################################################### | 158 | ######################################################################### |
159 | 159 | ||
160 | LIST_SA="assabet dnp1110 gcplus lart shannon" | 160 | LIST_SA="assabet dnp1110 gcplus lart shannon" |
161 | 161 | ||
162 | ######################################################################### | 162 | ######################################################################### |
163 | ## ARM7 Systems | 163 | ## ARM7 Systems |
164 | ######################################################################### | 164 | ######################################################################### |
165 | 165 | ||
166 | LIST_ARM7=" \ | 166 | LIST_ARM7=" \ |
167 | armadillo B2 ep7312 evb4510 \ | 167 | armadillo B2 ep7312 evb4510 \ |
168 | impa7 integratorap ap7 ap720t \ | 168 | impa7 integratorap ap7 ap720t \ |
169 | modnet50 \ | 169 | modnet50 \ |
170 | " | 170 | " |
171 | 171 | ||
172 | ######################################################################### | 172 | ######################################################################### |
173 | ## ARM9 Systems | 173 | ## ARM9 Systems |
174 | ######################################################################### | 174 | ######################################################################### |
175 | 175 | ||
176 | LIST_ARM9=" \ | 176 | LIST_ARM9=" \ |
177 | at91rm9200dk cmc_pu2 \ | 177 | at91rm9200dk cmc_pu2 \ |
178 | ap920t ap922_XA10 ap926ejs ap946es \ | 178 | ap920t ap922_XA10 ap926ejs ap946es \ |
179 | ap966 cp920t cp922_XA10 cp926ejs \ | 179 | ap966 cp920t cp922_XA10 cp926ejs \ |
180 | cp946es cp966 lpd7a400 mp2usb \ | 180 | cp946es cp966 lpd7a400 mp2usb \ |
181 | mx1ads mx1fs2 netstar omap1510inn \ | 181 | mx1ads mx1fs2 netstar omap1510inn \ |
182 | omap1610h2 omap1610inn omap730p2 scb9328 \ | 182 | omap1610h2 omap1610inn omap730p2 scb9328 \ |
183 | smdk2400 smdk2410 trab VCMA9 \ | 183 | smdk2400 smdk2410 trab VCMA9 \ |
184 | versatile versatileab versatilepb voiceblue | 184 | versatile versatileab versatilepb voiceblue |
185 | " | 185 | " |
186 | 186 | ||
187 | ######################################################################### | 187 | ######################################################################### |
188 | ## ARM10 Systems | 188 | ## ARM10 Systems |
189 | ######################################################################### | 189 | ######################################################################### |
190 | LIST_ARM10=" \ | 190 | LIST_ARM10=" \ |
191 | integratorcp cp1026 \ | 191 | integratorcp cp1026 \ |
192 | " | 192 | " |
193 | 193 | ||
194 | ######################################################################### | 194 | ######################################################################### |
195 | ## ARM11 Systems | 195 | ## ARM11 Systems |
196 | ######################################################################### | 196 | ######################################################################### |
197 | LIST_ARM11=" \ | 197 | LIST_ARM11=" \ |
198 | cp1136 omap2420h4 \ | 198 | cp1136 omap2420h4 \ |
199 | " | 199 | " |
200 | 200 | ||
201 | ######################################################################### | 201 | ######################################################################### |
202 | ## Xscale Systems | 202 | ## Xscale Systems |
203 | ######################################################################### | 203 | ######################################################################### |
204 | 204 | ||
205 | LIST_pxa=" \ | 205 | LIST_pxa=" \ |
206 | adsvix cerf250 cradle csb226 \ | 206 | adsvix cerf250 cradle csb226 \ |
207 | delta innokom lubbock pxa255_idp \ | 207 | delta innokom lubbock pxa255_idp \ |
208 | wepep250 xaeniax xm250 xsengine \ | 208 | wepep250 xaeniax xm250 xsengine \ |
209 | zylonite \ | 209 | zylonite \ |
210 | " | 210 | " |
211 | 211 | ||
212 | LIST_ixp="ixdp425 ixdpg425 pdnb3" | 212 | LIST_ixp="ixdp425 ixdpg425 pdnb3" |
213 | 213 | ||
214 | 214 | ||
215 | LIST_arm=" \ | 215 | LIST_arm=" \ |
216 | ${LIST_SA} \ | 216 | ${LIST_SA} \ |
217 | ${LIST_ARM7} ${LIST_ARM9} ${LIST_ARM10} ${LIST_ARM11} \ | 217 | ${LIST_ARM7} ${LIST_ARM9} ${LIST_ARM10} ${LIST_ARM11} \ |
218 | ${LIST_pxa} ${LIST_ixp} \ | 218 | ${LIST_pxa} ${LIST_ixp} \ |
219 | " | 219 | " |
220 | 220 | ||
221 | ######################################################################### | 221 | ######################################################################### |
222 | ## MIPS Systems (default = big endian) | 222 | ## MIPS Systems (default = big endian) |
223 | ######################################################################### | 223 | ######################################################################### |
224 | 224 | ||
225 | LIST_mips4kc="incaip" | 225 | LIST_mips4kc="incaip" |
226 | 226 | ||
227 | LIST_mips5kc="purple" | 227 | LIST_mips5kc="purple" |
228 | 228 | ||
229 | LIST_au1xx0="dbau1000 dbau1100 dbau1500 dbau1550 dbau1550_el gth2" | 229 | LIST_au1xx0="dbau1000 dbau1100 dbau1500 dbau1550 dbau1550_el gth2" |
230 | 230 | ||
231 | LIST_mips="${LIST_mips4kc} ${LIST_mips5kc} ${LIST_au1xx0}" | 231 | LIST_mips="${LIST_mips4kc} ${LIST_mips5kc} ${LIST_au1xx0}" |
232 | 232 | ||
233 | ######################################################################### | 233 | ######################################################################### |
234 | ## MIPS Systems (little endian) | 234 | ## MIPS Systems (little endian) |
235 | ######################################################################### | 235 | ######################################################################### |
236 | 236 | ||
237 | LIST_mips4kc_el="" | 237 | LIST_mips4kc_el="" |
238 | 238 | ||
239 | LIST_mips5kc_el="" | 239 | LIST_mips5kc_el="" |
240 | 240 | ||
241 | LIST_au1xx0_el="dbau1550_el" | 241 | LIST_au1xx0_el="dbau1550_el" |
242 | 242 | ||
243 | LIST_mips_el="${LIST_mips4kc_el} ${LIST_mips5kc_el} ${LIST_au1xx0_el}" | 243 | LIST_mips_el="${LIST_mips4kc_el} ${LIST_mips5kc_el} ${LIST_au1xx0_el}" |
244 | 244 | ||
245 | ######################################################################### | 245 | ######################################################################### |
246 | ## i386 Systems | 246 | ## i386 Systems |
247 | ######################################################################### | 247 | ######################################################################### |
248 | 248 | ||
249 | LIST_I486="sc520_cdp sc520_spunk sc520_spunk_rel" | 249 | LIST_I486="sc520_cdp sc520_spunk sc520_spunk_rel" |
250 | 250 | ||
251 | LIST_x86="${LIST_I486}" | 251 | LIST_x86="${LIST_I486}" |
252 | 252 | ||
253 | ######################################################################### | 253 | ######################################################################### |
254 | ## NIOS Systems | 254 | ## NIOS Systems |
255 | ######################################################################### | 255 | ######################################################################### |
256 | 256 | ||
257 | LIST_nios=" \ | 257 | LIST_nios=" \ |
258 | ADNPESC1 ADNPESC1_base_32 \ | 258 | ADNPESC1 ADNPESC1_base_32 \ |
259 | ADNPESC1_DNPEVA2_base_32 \ | 259 | ADNPESC1_DNPEVA2_base_32 \ |
260 | DK1C20 DK1C20_standard_32 \ | 260 | DK1C20 DK1C20_standard_32 \ |
261 | DK1S10 DK1S10_standard_32 DK1S10_mtx_ldk_20 \ | 261 | DK1S10 DK1S10_standard_32 DK1S10_mtx_ldk_20 \ |
262 | " | 262 | " |
263 | 263 | ||
264 | ######################################################################### | 264 | ######################################################################### |
265 | ## Nios-II Systems | 265 | ## Nios-II Systems |
266 | ######################################################################### | 266 | ######################################################################### |
267 | 267 | ||
268 | LIST_nios2=" \ | 268 | LIST_nios2=" \ |
269 | EP1C20 EP1S10 EP1S40 \ | 269 | EP1C20 EP1S10 EP1S40 \ |
270 | PCI5441 PK1C20 \ | 270 | PCI5441 PK1C20 \ |
271 | " | 271 | " |
272 | 272 | ||
273 | ######################################################################### | 273 | ######################################################################### |
274 | ## MicroBlaze Systems | 274 | ## MicroBlaze Systems |
275 | ######################################################################### | 275 | ######################################################################### |
276 | 276 | ||
277 | LIST_microblaze=" \ | 277 | LIST_microblaze=" \ |
278 | suzaku | 278 | suzaku |
279 | " | 279 | " |
280 | 280 | ||
281 | ######################################################################### | 281 | ######################################################################### |
282 | ## ColdFire Systems | 282 | ## ColdFire Systems |
283 | ######################################################################### | 283 | ######################################################################### |
284 | 284 | ||
285 | LIST_coldfire=" \ | 285 | LIST_coldfire=" \ |
286 | cobra5272 EB+MCF-EV123 EB+MCF-EV123_internal \ | 286 | cobra5272 EB+MCF-EV123 EB+MCF-EV123_internal \ |
287 | M5271EVB M5272C3 M5282EVB TASREG \ | 287 | M5271EVB M5272C3 M5282EVB TASREG \ |
288 | r5200 M5271EVB \ | 288 | r5200 M5271EVB \ |
289 | " | 289 | " |
290 | 290 | ||
291 | #----------------------------------------------------------------------- | 291 | #----------------------------------------------------------------------- |
292 | 292 | ||
293 | #----- for now, just run PPC by default ----- | 293 | #----- for now, just run PPC by default ----- |
294 | [ $# = 0 ] && set $LIST_ppc | 294 | [ $# = 0 ] && set $LIST_ppc |
295 | 295 | ||
296 | #----------------------------------------------------------------------- | 296 | #----------------------------------------------------------------------- |
297 | 297 | ||
298 | build_target() { | 298 | build_target() { |
299 | target=$1 | 299 | target=$1 |
300 | 300 | ||
301 | ${MAKE} distclean >/dev/null | 301 | ${MAKE} distclean >/dev/null |
302 | ${MAKE} ${target}_config | 302 | ${MAKE} ${target}_config |
303 | ${MAKE} ${JOBS} all 2>&1 >LOG/$target.MAKELOG | tee LOG/$target.ERR | 303 | ${MAKE} ${JOBS} all 2>&1 >LOG/$target.MAKELOG | tee LOG/$target.ERR |
304 | # ${CROSS_COMPILE:-ppc_8xx-}size u-boot | tee -a LOG/$target.MAKELOG | 304 | # ${CROSS_COMPILE:-ppc_8xx-}size u-boot | tee -a LOG/$target.MAKELOG |
305 | } | 305 | } |
306 | 306 | ||
307 | #----------------------------------------------------------------------- | 307 | #----------------------------------------------------------------------- |
308 | 308 | ||
309 | 309 | ||
310 | for arg in $@ | 310 | for arg in $@ |
311 | do | 311 | do |
312 | case "$arg" in | 312 | case "$arg" in |
313 | ppc|5xx|5xxx|8xx|8220|824x|8260|83xx|85xx|4xx|7xx|74xx| \ | 313 | ppc|5xx|5xxx|8xx|8220|824x|8260|83xx|85xx|4xx|7xx|74xx| \ |
314 | arm|SA|ARM7|ARM9|ARM10|ARM11|pxa|ixp| \ | 314 | arm|SA|ARM7|ARM9|ARM10|ARM11|pxa|ixp| \ |
315 | microblaze| \ | 315 | microblaze| \ |
316 | mips|mips_el| \ | 316 | mips|mips_el| \ |
317 | nios|nios2| \ | 317 | nios|nios2| \ |
318 | x86|I486| \ | 318 | x86|I486| \ |
319 | coldfire) | 319 | coldfire) |
320 | for target in `eval echo '$LIST_'${arg}` | 320 | for target in `eval echo '$LIST_'${arg}` |
321 | do | 321 | do |
322 | build_target ${target} | 322 | build_target ${target} |
323 | done | 323 | done |
324 | ;; | 324 | ;; |
325 | *) build_target ${arg} | 325 | *) build_target ${arg} |
326 | ;; | 326 | ;; |
327 | esac | 327 | esac |
328 | done | 328 | done |
329 | 329 |
Makefile
1 | # | 1 | # |
2 | # (C) Copyright 2000-2006 | 2 | # (C) Copyright 2000-2006 |
3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. | 3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
4 | # | 4 | # |
5 | # See file CREDITS for list of people who contributed to this | 5 | # See file CREDITS for list of people who contributed to this |
6 | # project. | 6 | # project. |
7 | # | 7 | # |
8 | # This program is free software; you can redistribute it and/or | 8 | # This program is free software; you can redistribute it and/or |
9 | # modify it under the terms of the GNU General Public License as | 9 | # modify it under the terms of the GNU General Public License as |
10 | # published by the Free Software Foundation; either version 2 of | 10 | # published by the Free Software Foundation; either version 2 of |
11 | # the License, or (at your option) any later version. | 11 | # the License, or (at your option) any later version. |
12 | # | 12 | # |
13 | # This program is distributed in the hope that it will be useful, | 13 | # This program is distributed in the hope that it will be useful, |
14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16 | # GNU General Public License for more details. | 16 | # GNU General Public License for more details. |
17 | # | 17 | # |
18 | # You should have received a copy of the GNU General Public License | 18 | # You should have received a copy of the GNU General Public License |
19 | # along with this program; if not, write to the Free Software | 19 | # along with this program; if not, write to the Free Software |
20 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, | 20 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, |
21 | # MA 02111-1307 USA | 21 | # MA 02111-1307 USA |
22 | # | 22 | # |
23 | 23 | ||
24 | VERSION = 1 | 24 | VERSION = 1 |
25 | PATCHLEVEL = 1 | 25 | PATCHLEVEL = 1 |
26 | SUBLEVEL = 4 | 26 | SUBLEVEL = 4 |
27 | EXTRAVERSION = | 27 | EXTRAVERSION = |
28 | U_BOOT_VERSION = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION) | 28 | U_BOOT_VERSION = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION) |
29 | VERSION_FILE = include/version_autogenerated.h | 29 | VERSION_FILE = include/version_autogenerated.h |
30 | 30 | ||
31 | HOSTARCH := $(shell uname -m | \ | 31 | HOSTARCH := $(shell uname -m | \ |
32 | sed -e s/i.86/i386/ \ | 32 | sed -e s/i.86/i386/ \ |
33 | -e s/sun4u/sparc64/ \ | 33 | -e s/sun4u/sparc64/ \ |
34 | -e s/arm.*/arm/ \ | 34 | -e s/arm.*/arm/ \ |
35 | -e s/sa110/arm/ \ | 35 | -e s/sa110/arm/ \ |
36 | -e s/powerpc/ppc/ \ | 36 | -e s/powerpc/ppc/ \ |
37 | -e s/macppc/ppc/) | 37 | -e s/macppc/ppc/) |
38 | 38 | ||
39 | HOSTOS := $(shell uname -s | tr '[:upper:]' '[:lower:]' | \ | 39 | HOSTOS := $(shell uname -s | tr '[:upper:]' '[:lower:]' | \ |
40 | sed -e 's/\(cygwin\).*/cygwin/') | 40 | sed -e 's/\(cygwin\).*/cygwin/') |
41 | 41 | ||
42 | export HOSTARCH HOSTOS | 42 | export HOSTARCH HOSTOS |
43 | 43 | ||
44 | # Deal with colliding definitions from tcsh etc. | 44 | # Deal with colliding definitions from tcsh etc. |
45 | VENDOR= | 45 | VENDOR= |
46 | 46 | ||
47 | ######################################################################### | 47 | ######################################################################### |
48 | 48 | ||
49 | TOPDIR := $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi) | 49 | TOPDIR := $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi) |
50 | export TOPDIR | 50 | export TOPDIR |
51 | 51 | ||
52 | ifeq (include/config.mk,$(wildcard include/config.mk)) | 52 | ifeq (include/config.mk,$(wildcard include/config.mk)) |
53 | # load ARCH, BOARD, and CPU configuration | 53 | # load ARCH, BOARD, and CPU configuration |
54 | include include/config.mk | 54 | include include/config.mk |
55 | export ARCH CPU BOARD VENDOR SOC | 55 | export ARCH CPU BOARD VENDOR SOC |
56 | ifndef CROSS_COMPILE | 56 | ifndef CROSS_COMPILE |
57 | ifeq ($(HOSTARCH),ppc) | 57 | ifeq ($(HOSTARCH),ppc) |
58 | CROSS_COMPILE = | 58 | CROSS_COMPILE = |
59 | else | 59 | else |
60 | ifeq ($(ARCH),ppc) | 60 | ifeq ($(ARCH),ppc) |
61 | CROSS_COMPILE = powerpc-linux- | 61 | CROSS_COMPILE = powerpc-linux- |
62 | endif | 62 | endif |
63 | ifeq ($(ARCH),arm) | 63 | ifeq ($(ARCH),arm) |
64 | CROSS_COMPILE = arm-linux- | 64 | CROSS_COMPILE = arm-linux- |
65 | endif | 65 | endif |
66 | ifeq ($(ARCH),i386) | 66 | ifeq ($(ARCH),i386) |
67 | ifeq ($(HOSTARCH),i386) | 67 | ifeq ($(HOSTARCH),i386) |
68 | CROSS_COMPILE = | 68 | CROSS_COMPILE = |
69 | else | 69 | else |
70 | CROSS_COMPILE = i386-linux- | 70 | CROSS_COMPILE = i386-linux- |
71 | endif | 71 | endif |
72 | endif | 72 | endif |
73 | ifeq ($(ARCH),mips) | 73 | ifeq ($(ARCH),mips) |
74 | CROSS_COMPILE = mips_4KC- | 74 | CROSS_COMPILE = mips_4KC- |
75 | endif | 75 | endif |
76 | ifeq ($(ARCH),nios) | 76 | ifeq ($(ARCH),nios) |
77 | CROSS_COMPILE = nios-elf- | 77 | CROSS_COMPILE = nios-elf- |
78 | endif | 78 | endif |
79 | ifeq ($(ARCH),nios2) | 79 | ifeq ($(ARCH),nios2) |
80 | CROSS_COMPILE = nios2-elf- | 80 | CROSS_COMPILE = nios2-elf- |
81 | endif | 81 | endif |
82 | ifeq ($(ARCH),m68k) | 82 | ifeq ($(ARCH),m68k) |
83 | CROSS_COMPILE = m68k-elf- | 83 | CROSS_COMPILE = m68k-elf- |
84 | endif | 84 | endif |
85 | ifeq ($(ARCH),microblaze) | 85 | ifeq ($(ARCH),microblaze) |
86 | CROSS_COMPILE = mb- | 86 | CROSS_COMPILE = mb- |
87 | endif | 87 | endif |
88 | ifeq ($(ARCH),blackfin) | 88 | ifeq ($(ARCH),blackfin) |
89 | CROSS_COMPILE = bfin-elf- | 89 | CROSS_COMPILE = bfin-elf- |
90 | endif | 90 | endif |
91 | endif | 91 | endif |
92 | endif | 92 | endif |
93 | 93 | ||
94 | export CROSS_COMPILE | 94 | export CROSS_COMPILE |
95 | 95 | ||
96 | # load other configuration | 96 | # load other configuration |
97 | include $(TOPDIR)/config.mk | 97 | include $(TOPDIR)/config.mk |
98 | 98 | ||
99 | 99 | ||
100 | ######################################################################### | 100 | ######################################################################### |
101 | # U-Boot objects....order is important (i.e. start must be first) | 101 | # U-Boot objects....order is important (i.e. start must be first) |
102 | 102 | ||
103 | OBJS = cpu/$(CPU)/start.o | 103 | OBJS = cpu/$(CPU)/start.o |
104 | ifeq ($(CPU),i386) | 104 | ifeq ($(CPU),i386) |
105 | OBJS += cpu/$(CPU)/start16.o | 105 | OBJS += cpu/$(CPU)/start16.o |
106 | OBJS += cpu/$(CPU)/reset.o | 106 | OBJS += cpu/$(CPU)/reset.o |
107 | endif | 107 | endif |
108 | ifeq ($(CPU),ppc4xx) | 108 | ifeq ($(CPU),ppc4xx) |
109 | OBJS += cpu/$(CPU)/resetvec.o | 109 | OBJS += cpu/$(CPU)/resetvec.o |
110 | endif | 110 | endif |
111 | ifeq ($(CPU),mpc83xx) | 111 | ifeq ($(CPU),mpc83xx) |
112 | OBJS += cpu/$(CPU)/resetvec.o | 112 | OBJS += cpu/$(CPU)/resetvec.o |
113 | endif | 113 | endif |
114 | ifeq ($(CPU),mpc85xx) | 114 | ifeq ($(CPU),mpc85xx) |
115 | OBJS += cpu/$(CPU)/resetvec.o | 115 | OBJS += cpu/$(CPU)/resetvec.o |
116 | endif | 116 | endif |
117 | ifeq ($(CPU),bf533) | 117 | ifeq ($(CPU),bf533) |
118 | OBJS += cpu/$(CPU)/start1.o cpu/$(CPU)/interrupt.o cpu/$(CPU)/cache.o | 118 | OBJS += cpu/$(CPU)/start1.o cpu/$(CPU)/interrupt.o cpu/$(CPU)/cache.o |
119 | OBJS += cpu/$(CPU)/cplbhdlr.o cpu/$(CPU)/cplbmgr.o cpu/$(CPU)/flush.o | 119 | OBJS += cpu/$(CPU)/cplbhdlr.o cpu/$(CPU)/cplbmgr.o cpu/$(CPU)/flush.o |
120 | endif | 120 | endif |
121 | 121 | ||
122 | LIBS = lib_generic/libgeneric.a | 122 | LIBS = lib_generic/libgeneric.a |
123 | LIBS += board/$(BOARDDIR)/lib$(BOARD).a | 123 | LIBS += board/$(BOARDDIR)/lib$(BOARD).a |
124 | LIBS += cpu/$(CPU)/lib$(CPU).a | 124 | LIBS += cpu/$(CPU)/lib$(CPU).a |
125 | ifdef SOC | 125 | ifdef SOC |
126 | LIBS += cpu/$(CPU)/$(SOC)/lib$(SOC).a | 126 | LIBS += cpu/$(CPU)/$(SOC)/lib$(SOC).a |
127 | endif | 127 | endif |
128 | LIBS += lib_$(ARCH)/lib$(ARCH).a | 128 | LIBS += lib_$(ARCH)/lib$(ARCH).a |
129 | LIBS += fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a \ | 129 | LIBS += fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a \ |
130 | fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a | 130 | fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a |
131 | LIBS += net/libnet.a | 131 | LIBS += net/libnet.a |
132 | LIBS += disk/libdisk.a | 132 | LIBS += disk/libdisk.a |
133 | LIBS += rtc/librtc.a | 133 | LIBS += rtc/librtc.a |
134 | LIBS += dtt/libdtt.a | 134 | LIBS += dtt/libdtt.a |
135 | LIBS += drivers/libdrivers.a | 135 | LIBS += drivers/libdrivers.a |
136 | LIBS += drivers/nand/libnand.a | 136 | LIBS += drivers/nand/libnand.a |
137 | LIBS += drivers/nand_legacy/libnand_legacy.a | 137 | LIBS += drivers/nand_legacy/libnand_legacy.a |
138 | LIBS += drivers/sk98lin/libsk98lin.a | 138 | LIBS += drivers/sk98lin/libsk98lin.a |
139 | LIBS += post/libpost.a post/cpu/libcpu.a | 139 | LIBS += post/libpost.a post/cpu/libcpu.a |
140 | LIBS += common/libcommon.a | 140 | LIBS += common/libcommon.a |
141 | LIBS += $(BOARDLIBS) | 141 | LIBS += $(BOARDLIBS) |
142 | .PHONY : $(LIBS) | 142 | .PHONY : $(LIBS) |
143 | 143 | ||
144 | # Add GCC lib | 144 | # Add GCC lib |
145 | PLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc | 145 | PLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc |
146 | 146 | ||
147 | 147 | ||
148 | # The "tools" are needed early, so put this first | 148 | # The "tools" are needed early, so put this first |
149 | # Don't include stuff already done in $(LIBS) | 149 | # Don't include stuff already done in $(LIBS) |
150 | SUBDIRS = tools \ | 150 | SUBDIRS = tools \ |
151 | examples \ | 151 | examples \ |
152 | post \ | 152 | post \ |
153 | post/cpu | 153 | post/cpu |
154 | .PHONY : $(SUBDIRS) | 154 | .PHONY : $(SUBDIRS) |
155 | 155 | ||
156 | ######################################################################### | 156 | ######################################################################### |
157 | ######################################################################### | 157 | ######################################################################### |
158 | 158 | ||
159 | ALL = u-boot.srec u-boot.bin System.map | 159 | ALL = u-boot.srec u-boot.bin System.map |
160 | 160 | ||
161 | all: $(ALL) | 161 | all: $(ALL) |
162 | 162 | ||
163 | u-boot.hex: u-boot | 163 | u-boot.hex: u-boot |
164 | $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@ | 164 | $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@ |
165 | 165 | ||
166 | u-boot.srec: u-boot | 166 | u-boot.srec: u-boot |
167 | $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@ | 167 | $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@ |
168 | 168 | ||
169 | u-boot.bin: u-boot | 169 | u-boot.bin: u-boot |
170 | $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@ | 170 | $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@ |
171 | 171 | ||
172 | u-boot.img: u-boot.bin | 172 | u-boot.img: u-boot.bin |
173 | ./tools/mkimage -A $(ARCH) -T firmware -C none \ | 173 | ./tools/mkimage -A $(ARCH) -T firmware -C none \ |
174 | -a $(TEXT_BASE) -e 0 \ | 174 | -a $(TEXT_BASE) -e 0 \ |
175 | -n $(shell sed -n -e 's/.*U_BOOT_VERSION//p' $(VERSION_FILE) | \ | 175 | -n $(shell sed -n -e 's/.*U_BOOT_VERSION//p' $(VERSION_FILE) | \ |
176 | sed -e 's/"[ ]*$$/ for $(BOARD) board"/') \ | 176 | sed -e 's/"[ ]*$$/ for $(BOARD) board"/') \ |
177 | -d $< $@ | 177 | -d $< $@ |
178 | 178 | ||
179 | u-boot.dis: u-boot | 179 | u-boot.dis: u-boot |
180 | $(OBJDUMP) -d $< > $@ | 180 | $(OBJDUMP) -d $< > $@ |
181 | 181 | ||
182 | u-boot: depend version $(SUBDIRS) $(OBJS) $(LIBS) $(LDSCRIPT) | 182 | u-boot: depend version $(SUBDIRS) $(OBJS) $(LIBS) $(LDSCRIPT) |
183 | UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\ | 183 | UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\ |
184 | $(LD) $(LDFLAGS) $$UNDEF_SYM $(OBJS) \ | 184 | $(LD) $(LDFLAGS) $$UNDEF_SYM $(OBJS) \ |
185 | --start-group $(LIBS) --end-group $(PLATFORM_LIBS) \ | 185 | --start-group $(LIBS) --end-group $(PLATFORM_LIBS) \ |
186 | -Map u-boot.map -o u-boot | 186 | -Map u-boot.map -o u-boot |
187 | 187 | ||
188 | $(LIBS): | 188 | $(LIBS): |
189 | $(MAKE) -C `dirname $@` | 189 | $(MAKE) -C `dirname $@` |
190 | 190 | ||
191 | $(SUBDIRS): | 191 | $(SUBDIRS): |
192 | $(MAKE) -C $@ all | 192 | $(MAKE) -C $@ all |
193 | 193 | ||
194 | version: | 194 | version: |
195 | @echo -n "#define U_BOOT_VERSION \"U-Boot " > $(VERSION_FILE); \ | 195 | @echo -n "#define U_BOOT_VERSION \"U-Boot " > $(VERSION_FILE); \ |
196 | echo -n "$(U_BOOT_VERSION)" >> $(VERSION_FILE); \ | 196 | echo -n "$(U_BOOT_VERSION)" >> $(VERSION_FILE); \ |
197 | echo -n $(shell $(CONFIG_SHELL) $(TOPDIR)/tools/setlocalversion \ | 197 | echo -n $(shell $(CONFIG_SHELL) $(TOPDIR)/tools/setlocalversion \ |
198 | $(TOPDIR)) >> $(VERSION_FILE); \ | 198 | $(TOPDIR)) >> $(VERSION_FILE); \ |
199 | echo "\"" >> $(VERSION_FILE) | 199 | echo "\"" >> $(VERSION_FILE) |
200 | 200 | ||
201 | gdbtools: | 201 | gdbtools: |
202 | $(MAKE) -C tools/gdb || exit 1 | 202 | $(MAKE) -C tools/gdb || exit 1 |
203 | 203 | ||
204 | depend dep: | 204 | depend dep: |
205 | @for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir .depend ; done | 205 | @for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir .depend ; done |
206 | 206 | ||
207 | tags: | 207 | tags: |
208 | ctags -w `find $(SUBDIRS) include \ | 208 | ctags -w `find $(SUBDIRS) include \ |
209 | lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \ | 209 | lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \ |
210 | fs/cramfs fs/fat fs/fdos fs/jffs2 \ | 210 | fs/cramfs fs/fat fs/fdos fs/jffs2 \ |
211 | net disk rtc dtt drivers drivers/sk98lin common \ | 211 | net disk rtc dtt drivers drivers/sk98lin common \ |
212 | \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)` | 212 | \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)` |
213 | 213 | ||
214 | etags: | 214 | etags: |
215 | etags -a `find $(SUBDIRS) include \ | 215 | etags -a `find $(SUBDIRS) include \ |
216 | lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \ | 216 | lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \ |
217 | fs/cramfs fs/fat fs/fdos fs/jffs2 \ | 217 | fs/cramfs fs/fat fs/fdos fs/jffs2 \ |
218 | net disk rtc dtt drivers drivers/sk98lin common \ | 218 | net disk rtc dtt drivers drivers/sk98lin common \ |
219 | \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)` | 219 | \( -name CVS -prune \) -o \( -name '*.[ch]' -print \)` |
220 | 220 | ||
221 | System.map: u-boot | 221 | System.map: u-boot |
222 | @$(NM) $< | \ | 222 | @$(NM) $< | \ |
223 | grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \ | 223 | grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \ |
224 | sort > System.map | 224 | sort > System.map |
225 | 225 | ||
226 | ######################################################################### | 226 | ######################################################################### |
227 | else | 227 | else |
228 | all install u-boot u-boot.srec depend dep: | 228 | all install u-boot u-boot.srec depend dep: |
229 | @echo "System not configured - see README" >&2 | 229 | @echo "System not configured - see README" >&2 |
230 | @ exit 1 | 230 | @ exit 1 |
231 | endif | 231 | endif |
232 | 232 | ||
233 | ######################################################################### | 233 | ######################################################################### |
234 | 234 | ||
235 | unconfig: | 235 | unconfig: |
236 | @rm -f include/config.h include/config.mk board/*/config.tmp | 236 | @rm -f include/config.h include/config.mk board/*/config.tmp |
237 | 237 | ||
238 | #======================================================================== | 238 | #======================================================================== |
239 | # PowerPC | 239 | # PowerPC |
240 | #======================================================================== | 240 | #======================================================================== |
241 | 241 | ||
242 | ######################################################################### | 242 | ######################################################################### |
243 | ## MPC5xx Systems | 243 | ## MPC5xx Systems |
244 | ######################################################################### | 244 | ######################################################################### |
245 | 245 | ||
246 | canmb_config: unconfig | 246 | canmb_config: unconfig |
247 | @./mkconfig -a canmb ppc mpc5xxx canmb | 247 | @./mkconfig -a canmb ppc mpc5xxx canmb |
248 | 248 | ||
249 | cmi_mpc5xx_config: unconfig | 249 | cmi_mpc5xx_config: unconfig |
250 | @./mkconfig $(@:_config=) ppc mpc5xx cmi | 250 | @./mkconfig $(@:_config=) ppc mpc5xx cmi |
251 | 251 | ||
252 | PATI_config: unconfig | 252 | PATI_config: unconfig |
253 | @./mkconfig $(@:_config=) ppc mpc5xx pati mpl | 253 | @./mkconfig $(@:_config=) ppc mpc5xx pati mpl |
254 | 254 | ||
255 | ######################################################################### | 255 | ######################################################################### |
256 | ## MPC5xxx Systems | 256 | ## MPC5xxx Systems |
257 | ######################################################################### | 257 | ######################################################################### |
258 | 258 | ||
259 | aev_config: unconfig | 259 | aev_config: unconfig |
260 | @./mkconfig -a aev ppc mpc5xxx tqm5200 | 260 | @./mkconfig -a aev ppc mpc5xxx tqm5200 |
261 | 261 | ||
262 | BC3450_config: unconfig | 262 | BC3450_config: unconfig |
263 | @./mkconfig -a BC3450 ppc mpc5xxx bc3450 | 263 | @./mkconfig -a BC3450 ppc mpc5xxx bc3450 |
264 | 264 | ||
265 | cpci5200_config: unconfig | 265 | cpci5200_config: unconfig |
266 | @./mkconfig -a cpci5200 ppc mpc5xxx cpci5200 esd | 266 | @./mkconfig -a cpci5200 ppc mpc5xxx cpci5200 esd |
267 | 267 | ||
268 | hmi1001_config: unconfig | 268 | hmi1001_config: unconfig |
269 | @./mkconfig hmi1001 ppc mpc5xxx hmi1001 | 269 | @./mkconfig hmi1001 ppc mpc5xxx hmi1001 |
270 | 270 | ||
271 | Lite5200_config \ | 271 | Lite5200_config \ |
272 | Lite5200_LOWBOOT_config \ | 272 | Lite5200_LOWBOOT_config \ |
273 | Lite5200_LOWBOOT08_config \ | 273 | Lite5200_LOWBOOT08_config \ |
274 | icecube_5200_config \ | 274 | icecube_5200_config \ |
275 | icecube_5200_LOWBOOT_config \ | 275 | icecube_5200_LOWBOOT_config \ |
276 | icecube_5200_LOWBOOT08_config \ | 276 | icecube_5200_LOWBOOT08_config \ |
277 | icecube_5200_DDR_config \ | 277 | icecube_5200_DDR_config \ |
278 | icecube_5200_DDR_LOWBOOT_config \ | 278 | icecube_5200_DDR_LOWBOOT_config \ |
279 | icecube_5200_DDR_LOWBOOT08_config \ | 279 | icecube_5200_DDR_LOWBOOT08_config \ |
280 | icecube_5100_config: unconfig | 280 | icecube_5100_config: unconfig |
281 | @ >include/config.h | 281 | @ >include/config.h |
282 | @[ -z "$(findstring LOWBOOT_,$@)" ] || \ | 282 | @[ -z "$(findstring LOWBOOT_,$@)" ] || \ |
283 | { if [ "$(findstring DDR,$@)" ] ; \ | 283 | { if [ "$(findstring DDR,$@)" ] ; \ |
284 | then echo "TEXT_BASE = 0xFF800000" >board/icecube/config.tmp ; \ | 284 | then echo "TEXT_BASE = 0xFF800000" >board/icecube/config.tmp ; \ |
285 | else echo "TEXT_BASE = 0xFF000000" >board/icecube/config.tmp ; \ | 285 | else echo "TEXT_BASE = 0xFF000000" >board/icecube/config.tmp ; \ |
286 | fi ; \ | 286 | fi ; \ |
287 | echo "... with LOWBOOT configuration" ; \ | 287 | echo "... with LOWBOOT configuration" ; \ |
288 | } | 288 | } |
289 | @[ -z "$(findstring LOWBOOT08,$@)" ] || \ | 289 | @[ -z "$(findstring LOWBOOT08,$@)" ] || \ |
290 | { echo "TEXT_BASE = 0xFF800000" >board/icecube/config.tmp ; \ | 290 | { echo "TEXT_BASE = 0xFF800000" >board/icecube/config.tmp ; \ |
291 | echo "... with 8 MB flash only" ; \ | 291 | echo "... with 8 MB flash only" ; \ |
292 | echo "... with LOWBOOT configuration" ; \ | 292 | echo "... with LOWBOOT configuration" ; \ |
293 | } | 293 | } |
294 | @[ -z "$(findstring DDR,$@)" ] || \ | 294 | @[ -z "$(findstring DDR,$@)" ] || \ |
295 | { echo "#define CONFIG_MPC5200_DDR" >>include/config.h ; \ | 295 | { echo "#define CONFIG_MPC5200_DDR" >>include/config.h ; \ |
296 | echo "... DDR memory revision" ; \ | 296 | echo "... DDR memory revision" ; \ |
297 | } | 297 | } |
298 | @[ -z "$(findstring 5200,$@)" ] || \ | 298 | @[ -z "$(findstring 5200,$@)" ] || \ |
299 | { echo "#define CONFIG_MPC5200" >>include/config.h ; \ | 299 | { echo "#define CONFIG_MPC5200" >>include/config.h ; \ |
300 | echo "... with MPC5200 processor" ; \ | 300 | echo "... with MPC5200 processor" ; \ |
301 | } | 301 | } |
302 | @[ -z "$(findstring 5100,$@)" ] || \ | 302 | @[ -z "$(findstring 5100,$@)" ] || \ |
303 | { echo "#define CONFIG_MGT5100" >>include/config.h ; \ | 303 | { echo "#define CONFIG_MGT5100" >>include/config.h ; \ |
304 | echo "... with MGT5100 processor" ; \ | 304 | echo "... with MGT5100 processor" ; \ |
305 | } | 305 | } |
306 | @./mkconfig -a IceCube ppc mpc5xxx icecube | 306 | @./mkconfig -a IceCube ppc mpc5xxx icecube |
307 | 307 | ||
308 | inka4x0_config: unconfig | 308 | inka4x0_config: unconfig |
309 | @./mkconfig inka4x0 ppc mpc5xxx inka4x0 | 309 | @./mkconfig inka4x0 ppc mpc5xxx inka4x0 |
310 | 310 | ||
311 | lite5200b_config \ | 311 | lite5200b_config \ |
312 | lite5200b_LOWBOOT_config: unconfig | 312 | lite5200b_LOWBOOT_config: unconfig |
313 | @ >include/config.h | 313 | @ >include/config.h |
314 | @ echo "#define CONFIG_MPC5200_DDR" >>include/config.h | 314 | @ echo "#define CONFIG_MPC5200_DDR" >>include/config.h |
315 | @ echo "... DDR memory revision" | 315 | @ echo "... DDR memory revision" |
316 | @ echo "#define CONFIG_MPC5200" >>include/config.h | 316 | @ echo "#define CONFIG_MPC5200" >>include/config.h |
317 | @ echo "#define CONFIG_LITE5200B" >>include/config.h | 317 | @ echo "#define CONFIG_LITE5200B" >>include/config.h |
318 | @[ -z "$(findstring LOWBOOT_,$@)" ] || \ | 318 | @[ -z "$(findstring LOWBOOT_,$@)" ] || \ |
319 | { echo "TEXT_BASE = 0xFF000000" >board/icecube/config.tmp ; \ | 319 | { echo "TEXT_BASE = 0xFF000000" >board/icecube/config.tmp ; \ |
320 | echo "... with LOWBOOT configuration" ; \ | 320 | echo "... with LOWBOOT configuration" ; \ |
321 | } | 321 | } |
322 | @ echo "... with MPC5200B processor" | 322 | @ echo "... with MPC5200B processor" |
323 | @./mkconfig -a IceCube ppc mpc5xxx icecube | 323 | @./mkconfig -a IceCube ppc mpc5xxx icecube |
324 | 324 | ||
325 | mcc200_config \ | 325 | mcc200_config \ |
326 | mcc200_lowboot_config: unconfig | 326 | mcc200_lowboot_config: unconfig |
327 | @ >include/config.h | 327 | @ >include/config.h |
328 | @[ -z "$(findstring lowboot_,$@)" ] || \ | 328 | @[ -z "$(findstring lowboot_,$@)" ] || \ |
329 | { echo "TEXT_BASE = 0xFC000000" >board/mcc200/config.tmp ; \ | 329 | { echo "TEXT_BASE = 0xFC000000" >board/mcc200/config.tmp ; \ |
330 | echo "... with lowboot configuration" ; \ | 330 | echo "... with lowboot configuration" ; \ |
331 | } | 331 | } |
332 | @./mkconfig mcc200 ppc mpc5xxx mcc200 | 332 | @./mkconfig mcc200 ppc mpc5xxx mcc200 |
333 | 333 | ||
334 | o2dnt_config: | 334 | o2dnt_config: |
335 | @./mkconfig o2dnt ppc mpc5xxx o2dnt | 335 | @./mkconfig o2dnt ppc mpc5xxx o2dnt |
336 | 336 | ||
337 | pf5200_config: unconfig | 337 | pf5200_config: unconfig |
338 | @./mkconfig pf5200 ppc mpc5xxx pf5200 esd | 338 | @./mkconfig pf5200 ppc mpc5xxx pf5200 esd |
339 | 339 | ||
340 | PM520_config \ | 340 | PM520_config \ |
341 | PM520_DDR_config \ | 341 | PM520_DDR_config \ |
342 | PM520_ROMBOOT_config \ | 342 | PM520_ROMBOOT_config \ |
343 | PM520_ROMBOOT_DDR_config: unconfig | 343 | PM520_ROMBOOT_DDR_config: unconfig |
344 | @ >include/config.h | 344 | @ >include/config.h |
345 | @[ -z "$(findstring DDR,$@)" ] || \ | 345 | @[ -z "$(findstring DDR,$@)" ] || \ |
346 | { echo "#define CONFIG_MPC5200_DDR" >>include/config.h ; \ | 346 | { echo "#define CONFIG_MPC5200_DDR" >>include/config.h ; \ |
347 | echo "... DDR memory revision" ; \ | 347 | echo "... DDR memory revision" ; \ |
348 | } | 348 | } |
349 | @[ -z "$(findstring ROMBOOT,$@)" ] || \ | 349 | @[ -z "$(findstring ROMBOOT,$@)" ] || \ |
350 | { echo "#define CONFIG_BOOT_ROM" >>include/config.h ; \ | 350 | { echo "#define CONFIG_BOOT_ROM" >>include/config.h ; \ |
351 | echo "... booting from 8-bit flash" ; \ | 351 | echo "... booting from 8-bit flash" ; \ |
352 | } | 352 | } |
353 | @./mkconfig -a PM520 ppc mpc5xxx pm520 | 353 | @./mkconfig -a PM520 ppc mpc5xxx pm520 |
354 | 354 | ||
355 | smmaco4_config: unconfig | 355 | smmaco4_config: unconfig |
356 | @./mkconfig -a smmaco4 ppc mpc5xxx tqm5200 | 356 | @./mkconfig -a smmaco4 ppc mpc5xxx tqm5200 |
357 | 357 | ||
358 | spieval_config: unconfig | 358 | spieval_config: unconfig |
359 | @echo "#define CONFIG_CS_AUTOCONF">>include/config.h | 359 | @echo "#define CONFIG_CS_AUTOCONF">>include/config.h |
360 | @echo "... with automatic CS configuration" | 360 | @echo "... with automatic CS configuration" |
361 | @./mkconfig -a spieval ppc mpc5xxx tqm5200 | 361 | @./mkconfig -a spieval ppc mpc5xxx tqm5200 |
362 | 362 | ||
363 | MINI5200_config \ | 363 | MINI5200_config \ |
364 | EVAL5200_config \ | 364 | EVAL5200_config \ |
365 | TOP5200_config: unconfig | 365 | TOP5200_config: unconfig |
366 | @ echo "#define CONFIG_$(@:_config=) 1" >include/config.h | 366 | @ echo "#define CONFIG_$(@:_config=) 1" >include/config.h |
367 | @./mkconfig -a TOP5200 ppc mpc5xxx top5200 emk | 367 | @./mkconfig -a TOP5200 ppc mpc5xxx top5200 emk |
368 | 368 | ||
369 | Total5100_config \ | 369 | Total5100_config \ |
370 | Total5200_config \ | 370 | Total5200_config \ |
371 | Total5200_lowboot_config \ | 371 | Total5200_lowboot_config \ |
372 | Total5200_Rev2_config \ | 372 | Total5200_Rev2_config \ |
373 | Total5200_Rev2_lowboot_config: unconfig | 373 | Total5200_Rev2_lowboot_config: unconfig |
374 | @ >include/config.h | 374 | @ >include/config.h |
375 | @[ -z "$(findstring 5100,$@)" ] || \ | 375 | @[ -z "$(findstring 5100,$@)" ] || \ |
376 | { echo "#define CONFIG_MGT5100" >>include/config.h ; \ | 376 | { echo "#define CONFIG_MGT5100" >>include/config.h ; \ |
377 | echo "... with MGT5100 processor" ; \ | 377 | echo "... with MGT5100 processor" ; \ |
378 | } | 378 | } |
379 | @[ -z "$(findstring 5200,$@)" ] || \ | 379 | @[ -z "$(findstring 5200,$@)" ] || \ |
380 | { echo "#define CONFIG_MPC5200" >>include/config.h ; \ | 380 | { echo "#define CONFIG_MPC5200" >>include/config.h ; \ |
381 | echo "... with MPC5200 processor" ; \ | 381 | echo "... with MPC5200 processor" ; \ |
382 | } | 382 | } |
383 | @[ -n "$(findstring Rev,$@)" ] || \ | 383 | @[ -n "$(findstring Rev,$@)" ] || \ |
384 | { echo "#define CONFIG_TOTAL5200_REV 1" >>include/config.h ; \ | 384 | { echo "#define CONFIG_TOTAL5200_REV 1" >>include/config.h ; \ |
385 | echo "... revision 1 board" ; \ | 385 | echo "... revision 1 board" ; \ |
386 | } | 386 | } |
387 | @[ -z "$(findstring Rev2_,$@)" ] || \ | 387 | @[ -z "$(findstring Rev2_,$@)" ] || \ |
388 | { echo "#define CONFIG_TOTAL5200_REV 2" >>include/config.h ; \ | 388 | { echo "#define CONFIG_TOTAL5200_REV 2" >>include/config.h ; \ |
389 | echo "... revision 2 board" ; \ | 389 | echo "... revision 2 board" ; \ |
390 | } | 390 | } |
391 | @[ -z "$(findstring lowboot_,$@)" ] || \ | 391 | @[ -z "$(findstring lowboot_,$@)" ] || \ |
392 | { echo "TEXT_BASE = 0xFE000000" >board/total5200/config.tmp ; \ | 392 | { echo "TEXT_BASE = 0xFE000000" >board/total5200/config.tmp ; \ |
393 | echo "... with lowboot configuration" ; \ | 393 | echo "... with lowboot configuration" ; \ |
394 | } | 394 | } |
395 | @./mkconfig -a Total5200 ppc mpc5xxx total5200 | 395 | @./mkconfig -a Total5200 ppc mpc5xxx total5200 |
396 | 396 | ||
397 | TQM5200_config \ | 397 | TQM5200_config \ |
398 | TQM5200_STK100_config \ | 398 | TQM5200_STK100_config \ |
399 | MiniFAP_config: unconfig | 399 | MiniFAP_config: unconfig |
400 | @ >include/config.h | 400 | @ >include/config.h |
401 | @[ -z "$(findstring MiniFAP,$@)" ] || \ | 401 | @[ -z "$(findstring MiniFAP,$@)" ] || \ |
402 | { echo "#define CONFIG_MINIFAP" >>include/config.h ; \ | 402 | { echo "#define CONFIG_MINIFAP" >>include/config.h ; \ |
403 | echo "... TQM5200_AC on MiniFAP" ; \ | 403 | echo "... TQM5200_AC on MiniFAP" ; \ |
404 | } | 404 | } |
405 | @[ -z "$(findstring STK100,$@)" ] || \ | 405 | @[ -z "$(findstring STK100,$@)" ] || \ |
406 | { echo "#define CONFIG_STK52XX_REV100" >>include/config.h ; \ | 406 | { echo "#define CONFIG_STK52XX_REV100" >>include/config.h ; \ |
407 | echo "... on a STK52XX.100 base board" ; \ | 407 | echo "... on a STK52XX.100 base board" ; \ |
408 | } | 408 | } |
409 | @echo "#define CONFIG_CS_AUTOCONF">>include/config.h ; | 409 | @echo "#define CONFIG_CS_AUTOCONF">>include/config.h ; |
410 | @echo "... with automatic CS configuration" ; | 410 | @echo "... with automatic CS configuration" ; |
411 | @./mkconfig -a TQM5200 ppc mpc5xxx tqm5200 | 411 | @./mkconfig -a TQM5200 ppc mpc5xxx tqm5200 |
412 | 412 | ||
413 | ######################################################################### | 413 | ######################################################################### |
414 | ## MPC8xx Systems | 414 | ## MPC8xx Systems |
415 | ######################################################################### | 415 | ######################################################################### |
416 | 416 | ||
417 | Adder_config \ | 417 | Adder_config \ |
418 | Adder87x_config \ | 418 | Adder87x_config \ |
419 | AdderII_config \ | 419 | AdderII_config \ |
420 | : unconfig | 420 | : unconfig |
421 | $(if $(findstring AdderII,$@), \ | 421 | $(if $(findstring AdderII,$@), \ |
422 | @echo "#define CONFIG_MPC852T" > include/config.h) | 422 | @echo "#define CONFIG_MPC852T" > include/config.h) |
423 | @./mkconfig -a Adder ppc mpc8xx adder | 423 | @./mkconfig -a Adder ppc mpc8xx adder |
424 | 424 | ||
425 | ADS860_config \ | 425 | ADS860_config \ |
426 | FADS823_config \ | 426 | FADS823_config \ |
427 | FADS850SAR_config \ | 427 | FADS850SAR_config \ |
428 | MPC86xADS_config \ | 428 | MPC86xADS_config \ |
429 | MPC885ADS_config \ | 429 | MPC885ADS_config \ |
430 | FADS860T_config: unconfig | 430 | FADS860T_config: unconfig |
431 | @./mkconfig $(@:_config=) ppc mpc8xx fads | 431 | @./mkconfig $(@:_config=) ppc mpc8xx fads |
432 | 432 | ||
433 | AMX860_config : unconfig | 433 | AMX860_config : unconfig |
434 | @./mkconfig $(@:_config=) ppc mpc8xx amx860 westel | 434 | @./mkconfig $(@:_config=) ppc mpc8xx amx860 westel |
435 | 435 | ||
436 | c2mon_config: unconfig | 436 | c2mon_config: unconfig |
437 | @./mkconfig $(@:_config=) ppc mpc8xx c2mon | 437 | @./mkconfig $(@:_config=) ppc mpc8xx c2mon |
438 | 438 | ||
439 | CCM_config: unconfig | 439 | CCM_config: unconfig |
440 | @./mkconfig $(@:_config=) ppc mpc8xx CCM siemens | 440 | @./mkconfig $(@:_config=) ppc mpc8xx CCM siemens |
441 | 441 | ||
442 | cogent_mpc8xx_config: unconfig | 442 | cogent_mpc8xx_config: unconfig |
443 | @./mkconfig $(@:_config=) ppc mpc8xx cogent | 443 | @./mkconfig $(@:_config=) ppc mpc8xx cogent |
444 | 444 | ||
445 | ELPT860_config: unconfig | 445 | ELPT860_config: unconfig |
446 | @./mkconfig $(@:_config=) ppc mpc8xx elpt860 LEOX | 446 | @./mkconfig $(@:_config=) ppc mpc8xx elpt860 LEOX |
447 | 447 | ||
448 | EP88x_config: unconfig | 448 | EP88x_config: unconfig |
449 | @./mkconfig $(@:_config=) ppc mpc8xx ep88x | 449 | @./mkconfig $(@:_config=) ppc mpc8xx ep88x |
450 | 450 | ||
451 | ESTEEM192E_config: unconfig | 451 | ESTEEM192E_config: unconfig |
452 | @./mkconfig $(@:_config=) ppc mpc8xx esteem192e | 452 | @./mkconfig $(@:_config=) ppc mpc8xx esteem192e |
453 | 453 | ||
454 | ETX094_config : unconfig | 454 | ETX094_config : unconfig |
455 | @./mkconfig $(@:_config=) ppc mpc8xx etx094 | 455 | @./mkconfig $(@:_config=) ppc mpc8xx etx094 |
456 | 456 | ||
457 | FLAGADM_config: unconfig | 457 | FLAGADM_config: unconfig |
458 | @./mkconfig $(@:_config=) ppc mpc8xx flagadm | 458 | @./mkconfig $(@:_config=) ppc mpc8xx flagadm |
459 | 459 | ||
460 | xtract_GEN860T = $(subst _SC,,$(subst _config,,$1)) | 460 | xtract_GEN860T = $(subst _SC,,$(subst _config,,$1)) |
461 | 461 | ||
462 | GEN860T_SC_config \ | 462 | GEN860T_SC_config \ |
463 | GEN860T_config: unconfig | 463 | GEN860T_config: unconfig |
464 | @ >include/config.h | 464 | @ >include/config.h |
465 | @[ -z "$(findstring _SC,$@)" ] || \ | 465 | @[ -z "$(findstring _SC,$@)" ] || \ |
466 | { echo "#define CONFIG_SC" >>include/config.h ; \ | 466 | { echo "#define CONFIG_SC" >>include/config.h ; \ |
467 | echo "With reduced H/W feature set (SC)..." ; \ | 467 | echo "With reduced H/W feature set (SC)..." ; \ |
468 | } | 468 | } |
469 | @./mkconfig -a $(call xtract_GEN860T,$@) ppc mpc8xx gen860t | 469 | @./mkconfig -a $(call xtract_GEN860T,$@) ppc mpc8xx gen860t |
470 | 470 | ||
471 | GENIETV_config: unconfig | 471 | GENIETV_config: unconfig |
472 | @./mkconfig $(@:_config=) ppc mpc8xx genietv | 472 | @./mkconfig $(@:_config=) ppc mpc8xx genietv |
473 | 473 | ||
474 | GTH_config: unconfig | 474 | GTH_config: unconfig |
475 | @./mkconfig $(@:_config=) ppc mpc8xx gth | 475 | @./mkconfig $(@:_config=) ppc mpc8xx gth |
476 | 476 | ||
477 | hermes_config : unconfig | 477 | hermes_config : unconfig |
478 | @./mkconfig $(@:_config=) ppc mpc8xx hermes | 478 | @./mkconfig $(@:_config=) ppc mpc8xx hermes |
479 | 479 | ||
480 | HMI10_config : unconfig | 480 | HMI10_config : unconfig |
481 | @./mkconfig $(@:_config=) ppc mpc8xx tqm8xx | 481 | @./mkconfig $(@:_config=) ppc mpc8xx tqm8xx |
482 | 482 | ||
483 | IAD210_config: unconfig | 483 | IAD210_config: unconfig |
484 | @./mkconfig $(@:_config=) ppc mpc8xx IAD210 siemens | 484 | @./mkconfig $(@:_config=) ppc mpc8xx IAD210 siemens |
485 | 485 | ||
486 | xtract_ICU862 = $(subst _100MHz,,$(subst _config,,$1)) | 486 | xtract_ICU862 = $(subst _100MHz,,$(subst _config,,$1)) |
487 | 487 | ||
488 | ICU862_100MHz_config \ | 488 | ICU862_100MHz_config \ |
489 | ICU862_config: unconfig | 489 | ICU862_config: unconfig |
490 | @ >include/config.h | 490 | @ >include/config.h |
491 | @[ -z "$(findstring _100MHz,$@)" ] || \ | 491 | @[ -z "$(findstring _100MHz,$@)" ] || \ |
492 | { echo "#define CONFIG_100MHz" >>include/config.h ; \ | 492 | { echo "#define CONFIG_100MHz" >>include/config.h ; \ |
493 | echo "... with 100MHz system clock" ; \ | 493 | echo "... with 100MHz system clock" ; \ |
494 | } | 494 | } |
495 | @./mkconfig -a $(call xtract_ICU862,$@) ppc mpc8xx icu862 | 495 | @./mkconfig -a $(call xtract_ICU862,$@) ppc mpc8xx icu862 |
496 | 496 | ||
497 | IP860_config : unconfig | 497 | IP860_config : unconfig |
498 | @./mkconfig $(@:_config=) ppc mpc8xx ip860 | 498 | @./mkconfig $(@:_config=) ppc mpc8xx ip860 |
499 | 499 | ||
500 | IVML24_256_config \ | 500 | IVML24_256_config \ |
501 | IVML24_128_config \ | 501 | IVML24_128_config \ |
502 | IVML24_config: unconfig | 502 | IVML24_config: unconfig |
503 | @ >include/config.h | 503 | @ >include/config.h |
504 | @[ -z "$(findstring IVML24_config,$@)" ] || \ | 504 | @[ -z "$(findstring IVML24_config,$@)" ] || \ |
505 | { echo "#define CONFIG_IVML24_16M" >>include/config.h ; \ | 505 | { echo "#define CONFIG_IVML24_16M" >>include/config.h ; \ |
506 | } | 506 | } |
507 | @[ -z "$(findstring IVML24_128_config,$@)" ] || \ | 507 | @[ -z "$(findstring IVML24_128_config,$@)" ] || \ |
508 | { echo "#define CONFIG_IVML24_32M" >>include/config.h ; \ | 508 | { echo "#define CONFIG_IVML24_32M" >>include/config.h ; \ |
509 | } | 509 | } |
510 | @[ -z "$(findstring IVML24_256_config,$@)" ] || \ | 510 | @[ -z "$(findstring IVML24_256_config,$@)" ] || \ |
511 | { echo "#define CONFIG_IVML24_64M" >>include/config.h ; \ | 511 | { echo "#define CONFIG_IVML24_64M" >>include/config.h ; \ |
512 | } | 512 | } |
513 | @./mkconfig -a IVML24 ppc mpc8xx ivm | 513 | @./mkconfig -a IVML24 ppc mpc8xx ivm |
514 | 514 | ||
515 | IVMS8_256_config \ | 515 | IVMS8_256_config \ |
516 | IVMS8_128_config \ | 516 | IVMS8_128_config \ |
517 | IVMS8_config: unconfig | 517 | IVMS8_config: unconfig |
518 | @ >include/config.h | 518 | @ >include/config.h |
519 | @[ -z "$(findstring IVMS8_config,$@)" ] || \ | 519 | @[ -z "$(findstring IVMS8_config,$@)" ] || \ |
520 | { echo "#define CONFIG_IVMS8_16M" >>include/config.h ; \ | 520 | { echo "#define CONFIG_IVMS8_16M" >>include/config.h ; \ |
521 | } | 521 | } |
522 | @[ -z "$(findstring IVMS8_128_config,$@)" ] || \ | 522 | @[ -z "$(findstring IVMS8_128_config,$@)" ] || \ |
523 | { echo "#define CONFIG_IVMS8_32M" >>include/config.h ; \ | 523 | { echo "#define CONFIG_IVMS8_32M" >>include/config.h ; \ |
524 | } | 524 | } |
525 | @[ -z "$(findstring IVMS8_256_config,$@)" ] || \ | 525 | @[ -z "$(findstring IVMS8_256_config,$@)" ] || \ |
526 | { echo "#define CONFIG_IVMS8_64M" >>include/config.h ; \ | 526 | { echo "#define CONFIG_IVMS8_64M" >>include/config.h ; \ |
527 | } | 527 | } |
528 | @./mkconfig -a IVMS8 ppc mpc8xx ivm | 528 | @./mkconfig -a IVMS8 ppc mpc8xx ivm |
529 | 529 | ||
530 | KUP4K_config : unconfig | 530 | KUP4K_config : unconfig |
531 | @./mkconfig $(@:_config=) ppc mpc8xx kup4k kup | 531 | @./mkconfig $(@:_config=) ppc mpc8xx kup4k kup |
532 | 532 | ||
533 | KUP4X_config : unconfig | 533 | KUP4X_config : unconfig |
534 | @./mkconfig $(@:_config=) ppc mpc8xx kup4x kup | 534 | @./mkconfig $(@:_config=) ppc mpc8xx kup4x kup |
535 | 535 | ||
536 | LANTEC_config : unconfig | 536 | LANTEC_config : unconfig |
537 | @./mkconfig $(@:_config=) ppc mpc8xx lantec | 537 | @./mkconfig $(@:_config=) ppc mpc8xx lantec |
538 | 538 | ||
539 | lwmon_config: unconfig | 539 | lwmon_config: unconfig |
540 | @./mkconfig $(@:_config=) ppc mpc8xx lwmon | 540 | @./mkconfig $(@:_config=) ppc mpc8xx lwmon |
541 | 541 | ||
542 | MBX_config \ | 542 | MBX_config \ |
543 | MBX860T_config: unconfig | 543 | MBX860T_config: unconfig |
544 | @./mkconfig $(@:_config=) ppc mpc8xx mbx8xx | 544 | @./mkconfig $(@:_config=) ppc mpc8xx mbx8xx |
545 | 545 | ||
546 | MHPC_config: unconfig | 546 | MHPC_config: unconfig |
547 | @./mkconfig $(@:_config=) ppc mpc8xx mhpc eltec | 547 | @./mkconfig $(@:_config=) ppc mpc8xx mhpc eltec |
548 | 548 | ||
549 | MVS1_config : unconfig | 549 | MVS1_config : unconfig |
550 | @./mkconfig $(@:_config=) ppc mpc8xx mvs1 | 550 | @./mkconfig $(@:_config=) ppc mpc8xx mvs1 |
551 | 551 | ||
552 | xtract_NETVIA = $(subst _V2,,$(subst _config,,$1)) | 552 | xtract_NETVIA = $(subst _V2,,$(subst _config,,$1)) |
553 | 553 | ||
554 | NETVIA_V2_config \ | 554 | NETVIA_V2_config \ |
555 | NETVIA_config: unconfig | 555 | NETVIA_config: unconfig |
556 | @ >include/config.h | 556 | @ >include/config.h |
557 | @[ -z "$(findstring NETVIA_config,$@)" ] || \ | 557 | @[ -z "$(findstring NETVIA_config,$@)" ] || \ |
558 | { echo "#define CONFIG_NETVIA_VERSION 1" >>include/config.h ; \ | 558 | { echo "#define CONFIG_NETVIA_VERSION 1" >>include/config.h ; \ |
559 | echo "... Version 1" ; \ | 559 | echo "... Version 1" ; \ |
560 | } | 560 | } |
561 | @[ -z "$(findstring NETVIA_V2_config,$@)" ] || \ | 561 | @[ -z "$(findstring NETVIA_V2_config,$@)" ] || \ |
562 | { echo "#define CONFIG_NETVIA_VERSION 2" >>include/config.h ; \ | 562 | { echo "#define CONFIG_NETVIA_VERSION 2" >>include/config.h ; \ |
563 | echo "... Version 2" ; \ | 563 | echo "... Version 2" ; \ |
564 | } | 564 | } |
565 | @./mkconfig -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia | 565 | @./mkconfig -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia |
566 | 566 | ||
567 | xtract_NETPHONE = $(subst _V2,,$(subst _config,,$1)) | 567 | xtract_NETPHONE = $(subst _V2,,$(subst _config,,$1)) |
568 | 568 | ||
569 | NETPHONE_V2_config \ | 569 | NETPHONE_V2_config \ |
570 | NETPHONE_config: unconfig | 570 | NETPHONE_config: unconfig |
571 | @ >include/config.h | 571 | @ >include/config.h |
572 | @[ -z "$(findstring NETPHONE_config,$@)" ] || \ | 572 | @[ -z "$(findstring NETPHONE_config,$@)" ] || \ |
573 | { echo "#define CONFIG_NETPHONE_VERSION 1" >>include/config.h ; \ | 573 | { echo "#define CONFIG_NETPHONE_VERSION 1" >>include/config.h ; \ |
574 | } | 574 | } |
575 | @[ -z "$(findstring NETPHONE_V2_config,$@)" ] || \ | 575 | @[ -z "$(findstring NETPHONE_V2_config,$@)" ] || \ |
576 | { echo "#define CONFIG_NETPHONE_VERSION 2" >>include/config.h ; \ | 576 | { echo "#define CONFIG_NETPHONE_VERSION 2" >>include/config.h ; \ |
577 | } | 577 | } |
578 | @./mkconfig -a $(call xtract_NETPHONE,$@) ppc mpc8xx netphone | 578 | @./mkconfig -a $(call xtract_NETPHONE,$@) ppc mpc8xx netphone |
579 | 579 | ||
580 | xtract_NETTA = $(subst _SWAPHOOK,,$(subst _6412,,$(subst _ISDN,,$(subst _config,,$1)))) | 580 | xtract_NETTA = $(subst _SWAPHOOK,,$(subst _6412,,$(subst _ISDN,,$(subst _config,,$1)))) |
581 | 581 | ||
582 | NETTA_ISDN_6412_SWAPHOOK_config \ | 582 | NETTA_ISDN_6412_SWAPHOOK_config \ |
583 | NETTA_ISDN_SWAPHOOK_config \ | 583 | NETTA_ISDN_SWAPHOOK_config \ |
584 | NETTA_6412_SWAPHOOK_config \ | 584 | NETTA_6412_SWAPHOOK_config \ |
585 | NETTA_SWAPHOOK_config \ | 585 | NETTA_SWAPHOOK_config \ |
586 | NETTA_ISDN_6412_config \ | 586 | NETTA_ISDN_6412_config \ |
587 | NETTA_ISDN_config \ | 587 | NETTA_ISDN_config \ |
588 | NETTA_6412_config \ | 588 | NETTA_6412_config \ |
589 | NETTA_config: unconfig | 589 | NETTA_config: unconfig |
590 | @ >include/config.h | 590 | @ >include/config.h |
591 | @[ -z "$(findstring ISDN_,$@)" ] || \ | 591 | @[ -z "$(findstring ISDN_,$@)" ] || \ |
592 | { echo "#define CONFIG_NETTA_ISDN 1" >>include/config.h ; \ | 592 | { echo "#define CONFIG_NETTA_ISDN 1" >>include/config.h ; \ |
593 | } | 593 | } |
594 | @[ -n "$(findstring ISDN_,$@)" ] || \ | 594 | @[ -n "$(findstring ISDN_,$@)" ] || \ |
595 | { echo "#undef CONFIG_NETTA_ISDN" >>include/config.h ; \ | 595 | { echo "#undef CONFIG_NETTA_ISDN" >>include/config.h ; \ |
596 | } | 596 | } |
597 | @[ -z "$(findstring 6412_,$@)" ] || \ | 597 | @[ -z "$(findstring 6412_,$@)" ] || \ |
598 | { echo "#define CONFIG_NETTA_6412 1" >>include/config.h ; \ | 598 | { echo "#define CONFIG_NETTA_6412 1" >>include/config.h ; \ |
599 | } | 599 | } |
600 | @[ -n "$(findstring 6412_,$@)" ] || \ | 600 | @[ -n "$(findstring 6412_,$@)" ] || \ |
601 | { echo "#undef CONFIG_NETTA_6412" >>include/config.h ; \ | 601 | { echo "#undef CONFIG_NETTA_6412" >>include/config.h ; \ |
602 | } | 602 | } |
603 | @[ -z "$(findstring SWAPHOOK_,$@)" ] || \ | 603 | @[ -z "$(findstring SWAPHOOK_,$@)" ] || \ |
604 | { echo "#define CONFIG_NETTA_SWAPHOOK 1" >>include/config.h ; \ | 604 | { echo "#define CONFIG_NETTA_SWAPHOOK 1" >>include/config.h ; \ |
605 | } | 605 | } |
606 | @[ -n "$(findstring SWAPHOOK_,$@)" ] || \ | 606 | @[ -n "$(findstring SWAPHOOK_,$@)" ] || \ |
607 | { echo "#undef CONFIG_NETTA_SWAPHOOK" >>include/config.h ; \ | 607 | { echo "#undef CONFIG_NETTA_SWAPHOOK" >>include/config.h ; \ |
608 | } | 608 | } |
609 | @./mkconfig -a $(call xtract_NETTA,$@) ppc mpc8xx netta | 609 | @./mkconfig -a $(call xtract_NETTA,$@) ppc mpc8xx netta |
610 | 610 | ||
611 | xtract_NETTA2 = $(subst _V2,,$(subst _config,,$1)) | 611 | xtract_NETTA2 = $(subst _V2,,$(subst _config,,$1)) |
612 | 612 | ||
613 | NETTA2_V2_config \ | 613 | NETTA2_V2_config \ |
614 | NETTA2_config: unconfig | 614 | NETTA2_config: unconfig |
615 | @ >include/config.h | 615 | @ >include/config.h |
616 | @[ -z "$(findstring NETTA2_config,$@)" ] || \ | 616 | @[ -z "$(findstring NETTA2_config,$@)" ] || \ |
617 | { echo "#define CONFIG_NETTA2_VERSION 1" >>include/config.h ; \ | 617 | { echo "#define CONFIG_NETTA2_VERSION 1" >>include/config.h ; \ |
618 | } | 618 | } |
619 | @[ -z "$(findstring NETTA2_V2_config,$@)" ] || \ | 619 | @[ -z "$(findstring NETTA2_V2_config,$@)" ] || \ |
620 | { echo "#define CONFIG_NETTA2_VERSION 2" >>include/config.h ; \ | 620 | { echo "#define CONFIG_NETTA2_VERSION 2" >>include/config.h ; \ |
621 | } | 621 | } |
622 | @./mkconfig -a $(call xtract_NETTA2,$@) ppc mpc8xx netta2 | 622 | @./mkconfig -a $(call xtract_NETTA2,$@) ppc mpc8xx netta2 |
623 | 623 | ||
624 | NC650_Rev1_config \ | 624 | NC650_Rev1_config \ |
625 | NC650_Rev2_config \ | 625 | NC650_Rev2_config \ |
626 | CP850_config: unconfig | 626 | CP850_config: unconfig |
627 | @ >include/config.h | 627 | @ >include/config.h |
628 | @[ -z "$(findstring CP850,$@)" ] || \ | 628 | @[ -z "$(findstring CP850,$@)" ] || \ |
629 | { echo "#define CONFIG_CP850 1" >>include/config.h ; \ | 629 | { echo "#define CONFIG_CP850 1" >>include/config.h ; \ |
630 | echo "#define CONFIG_IDS852_REV2 1" >>include/config.h ; \ | 630 | echo "#define CONFIG_IDS852_REV2 1" >>include/config.h ; \ |
631 | } | 631 | } |
632 | @[ -z "$(findstring Rev1,$@)" ] || \ | 632 | @[ -z "$(findstring Rev1,$@)" ] || \ |
633 | { echo "#define CONFIG_IDS852_REV1 1" >>include/config.h ; \ | 633 | { echo "#define CONFIG_IDS852_REV1 1" >>include/config.h ; \ |
634 | } | 634 | } |
635 | @[ -z "$(findstring Rev2,$@)" ] || \ | 635 | @[ -z "$(findstring Rev2,$@)" ] || \ |
636 | { echo "#define CONFIG_IDS852_REV2 1" >>include/config.h ; \ | 636 | { echo "#define CONFIG_IDS852_REV2 1" >>include/config.h ; \ |
637 | } | 637 | } |
638 | @./mkconfig -a NC650 ppc mpc8xx nc650 | 638 | @./mkconfig -a NC650 ppc mpc8xx nc650 |
639 | 639 | ||
640 | NX823_config: unconfig | 640 | NX823_config: unconfig |
641 | @./mkconfig $(@:_config=) ppc mpc8xx nx823 | 641 | @./mkconfig $(@:_config=) ppc mpc8xx nx823 |
642 | 642 | ||
643 | pcu_e_config: unconfig | 643 | pcu_e_config: unconfig |
644 | @./mkconfig $(@:_config=) ppc mpc8xx pcu_e siemens | 644 | @./mkconfig $(@:_config=) ppc mpc8xx pcu_e siemens |
645 | 645 | ||
646 | QS850_config: unconfig | 646 | QS850_config: unconfig |
647 | @./mkconfig $(@:_config=) ppc mpc8xx qs850 snmc | 647 | @./mkconfig $(@:_config=) ppc mpc8xx qs850 snmc |
648 | 648 | ||
649 | QS823_config: unconfig | 649 | QS823_config: unconfig |
650 | @./mkconfig $(@:_config=) ppc mpc8xx qs850 snmc | 650 | @./mkconfig $(@:_config=) ppc mpc8xx qs850 snmc |
651 | 651 | ||
652 | QS860T_config: unconfig | 652 | QS860T_config: unconfig |
653 | @./mkconfig $(@:_config=) ppc mpc8xx qs860t snmc | 653 | @./mkconfig $(@:_config=) ppc mpc8xx qs860t snmc |
654 | 654 | ||
655 | quantum_config: unconfig | 655 | quantum_config: unconfig |
656 | @./mkconfig $(@:_config=) ppc mpc8xx quantum | 656 | @./mkconfig $(@:_config=) ppc mpc8xx quantum |
657 | 657 | ||
658 | R360MPI_config: unconfig | 658 | R360MPI_config: unconfig |
659 | @./mkconfig $(@:_config=) ppc mpc8xx r360mpi | 659 | @./mkconfig $(@:_config=) ppc mpc8xx r360mpi |
660 | 660 | ||
661 | RBC823_config: unconfig | 661 | RBC823_config: unconfig |
662 | @./mkconfig $(@:_config=) ppc mpc8xx rbc823 | 662 | @./mkconfig $(@:_config=) ppc mpc8xx rbc823 |
663 | 663 | ||
664 | RPXClassic_config: unconfig | 664 | RPXClassic_config: unconfig |
665 | @./mkconfig $(@:_config=) ppc mpc8xx RPXClassic | 665 | @./mkconfig $(@:_config=) ppc mpc8xx RPXClassic |
666 | 666 | ||
667 | RPXlite_config: unconfig | 667 | RPXlite_config: unconfig |
668 | @./mkconfig $(@:_config=) ppc mpc8xx RPXlite | 668 | @./mkconfig $(@:_config=) ppc mpc8xx RPXlite |
669 | 669 | ||
670 | RPXlite_DW_64_config \ | 670 | RPXlite_DW_64_config \ |
671 | RPXlite_DW_LCD_config \ | 671 | RPXlite_DW_LCD_config \ |
672 | RPXlite_DW_64_LCD_config \ | 672 | RPXlite_DW_64_LCD_config \ |
673 | RPXlite_DW_NVRAM_config \ | 673 | RPXlite_DW_NVRAM_config \ |
674 | RPXlite_DW_NVRAM_64_config \ | 674 | RPXlite_DW_NVRAM_64_config \ |
675 | RPXlite_DW_NVRAM_LCD_config \ | 675 | RPXlite_DW_NVRAM_LCD_config \ |
676 | RPXlite_DW_NVRAM_64_LCD_config \ | 676 | RPXlite_DW_NVRAM_64_LCD_config \ |
677 | RPXlite_DW_config: unconfig | 677 | RPXlite_DW_config: unconfig |
678 | @ >include/config.h | 678 | @ >include/config.h |
679 | @[ -z "$(findstring _64,$@)" ] || \ | 679 | @[ -z "$(findstring _64,$@)" ] || \ |
680 | { echo "#define RPXlite_64MHz" >>include/config.h ; \ | 680 | { echo "#define RPXlite_64MHz" >>include/config.h ; \ |
681 | echo "... with 64MHz system clock ..."; \ | 681 | echo "... with 64MHz system clock ..."; \ |
682 | } | 682 | } |
683 | @[ -z "$(findstring _LCD,$@)" ] || \ | 683 | @[ -z "$(findstring _LCD,$@)" ] || \ |
684 | { echo "#define CONFIG_LCD" >>include/config.h ; \ | 684 | { echo "#define CONFIG_LCD" >>include/config.h ; \ |
685 | echo "#define CONFIG_NEC_NL6448BC20" >>include/config.h ; \ | 685 | echo "#define CONFIG_NEC_NL6448BC20" >>include/config.h ; \ |
686 | echo "... with LCD display ..."; \ | 686 | echo "... with LCD display ..."; \ |
687 | } | 687 | } |
688 | @[ -z "$(findstring _NVRAM,$@)" ] || \ | 688 | @[ -z "$(findstring _NVRAM,$@)" ] || \ |
689 | { echo "#define CFG_ENV_IS_IN_NVRAM" >>include/config.h ; \ | 689 | { echo "#define CFG_ENV_IS_IN_NVRAM" >>include/config.h ; \ |
690 | echo "... with ENV in NVRAM ..."; \ | 690 | echo "... with ENV in NVRAM ..."; \ |
691 | } | 691 | } |
692 | @./mkconfig -a RPXlite_DW ppc mpc8xx RPXlite_dw | 692 | @./mkconfig -a RPXlite_DW ppc mpc8xx RPXlite_dw |
693 | 693 | ||
694 | rmu_config: unconfig | 694 | rmu_config: unconfig |
695 | @./mkconfig $(@:_config=) ppc mpc8xx rmu | 695 | @./mkconfig $(@:_config=) ppc mpc8xx rmu |
696 | 696 | ||
697 | RRvision_config: unconfig | 697 | RRvision_config: unconfig |
698 | @./mkconfig $(@:_config=) ppc mpc8xx RRvision | 698 | @./mkconfig $(@:_config=) ppc mpc8xx RRvision |
699 | 699 | ||
700 | RRvision_LCD_config: unconfig | 700 | RRvision_LCD_config: unconfig |
701 | @echo "#define CONFIG_LCD" >include/config.h | 701 | @echo "#define CONFIG_LCD" >include/config.h |
702 | @echo "#define CONFIG_SHARP_LQ104V7DS01" >>include/config.h | 702 | @echo "#define CONFIG_SHARP_LQ104V7DS01" >>include/config.h |
703 | @./mkconfig -a RRvision ppc mpc8xx RRvision | 703 | @./mkconfig -a RRvision ppc mpc8xx RRvision |
704 | 704 | ||
705 | SM850_config : unconfig | 705 | SM850_config : unconfig |
706 | @./mkconfig $(@:_config=) ppc mpc8xx tqm8xx | 706 | @./mkconfig $(@:_config=) ppc mpc8xx tqm8xx |
707 | 707 | ||
708 | SPD823TS_config: unconfig | 708 | SPD823TS_config: unconfig |
709 | @./mkconfig $(@:_config=) ppc mpc8xx spd8xx | 709 | @./mkconfig $(@:_config=) ppc mpc8xx spd8xx |
710 | 710 | ||
711 | stxxtc_config: unconfig | 711 | stxxtc_config: unconfig |
712 | @./mkconfig $(@:_config=) ppc mpc8xx stxxtc | 712 | @./mkconfig $(@:_config=) ppc mpc8xx stxxtc |
713 | 713 | ||
714 | svm_sc8xx_config: unconfig | 714 | svm_sc8xx_config: unconfig |
715 | @ >include/config.h | 715 | @ >include/config.h |
716 | @./mkconfig $(@:_config=) ppc mpc8xx svm_sc8xx | 716 | @./mkconfig $(@:_config=) ppc mpc8xx svm_sc8xx |
717 | 717 | ||
718 | SXNI855T_config: unconfig | 718 | SXNI855T_config: unconfig |
719 | @./mkconfig $(@:_config=) ppc mpc8xx sixnet | 719 | @./mkconfig $(@:_config=) ppc mpc8xx sixnet |
720 | 720 | ||
721 | # EMK MPC8xx based modules | 721 | # EMK MPC8xx based modules |
722 | TOP860_config: unconfig | 722 | TOP860_config: unconfig |
723 | @./mkconfig $(@:_config=) ppc mpc8xx top860 emk | 723 | @./mkconfig $(@:_config=) ppc mpc8xx top860 emk |
724 | 724 | ||
725 | # Play some tricks for configuration selection | 725 | # Play some tricks for configuration selection |
726 | # Only 855 and 860 boards may come with FEC | 726 | # Only 855 and 860 boards may come with FEC |
727 | # and only 823 boards may have LCD support | 727 | # and only 823 boards may have LCD support |
728 | xtract_8xx = $(subst _LCD,,$(subst _config,,$1)) | 728 | xtract_8xx = $(subst _LCD,,$(subst _config,,$1)) |
729 | 729 | ||
730 | FPS850L_config \ | 730 | FPS850L_config \ |
731 | FPS860L_config \ | 731 | FPS860L_config \ |
732 | NSCU_config \ | 732 | NSCU_config \ |
733 | TQM823L_config \ | 733 | TQM823L_config \ |
734 | TQM823L_LCD_config \ | 734 | TQM823L_LCD_config \ |
735 | TQM850L_config \ | 735 | TQM850L_config \ |
736 | TQM855L_config \ | 736 | TQM855L_config \ |
737 | TQM860L_config \ | 737 | TQM860L_config \ |
738 | TQM862L_config \ | 738 | TQM862L_config \ |
739 | TQM823M_config \ | 739 | TQM823M_config \ |
740 | TQM850M_config \ | 740 | TQM850M_config \ |
741 | TQM855M_config \ | 741 | TQM855M_config \ |
742 | TQM860M_config \ | 742 | TQM860M_config \ |
743 | TQM862M_config \ | 743 | TQM862M_config \ |
744 | TQM866M_config \ | 744 | TQM866M_config \ |
745 | virtlab2_config: unconfig | 745 | virtlab2_config: unconfig |
746 | @ >include/config.h | 746 | @ >include/config.h |
747 | @[ -z "$(findstring _LCD,$@)" ] || \ | 747 | @[ -z "$(findstring _LCD,$@)" ] || \ |
748 | { echo "#define CONFIG_LCD" >>include/config.h ; \ | 748 | { echo "#define CONFIG_LCD" >>include/config.h ; \ |
749 | echo "#define CONFIG_NEC_NL6448BC20" >>include/config.h ; \ | 749 | echo "#define CONFIG_NEC_NL6448BC20" >>include/config.h ; \ |
750 | echo "... with LCD display" ; \ | 750 | echo "... with LCD display" ; \ |
751 | } | 751 | } |
752 | @./mkconfig -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx | 752 | @./mkconfig -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx |
753 | 753 | ||
754 | TTTech_config: unconfig | 754 | TTTech_config: unconfig |
755 | @echo "#define CONFIG_LCD" >include/config.h | 755 | @echo "#define CONFIG_LCD" >include/config.h |
756 | @echo "#define CONFIG_SHARP_LQ104V7DS01" >>include/config.h | 756 | @echo "#define CONFIG_SHARP_LQ104V7DS01" >>include/config.h |
757 | @./mkconfig -a TQM823L ppc mpc8xx tqm8xx | 757 | @./mkconfig -a TQM823L ppc mpc8xx tqm8xx |
758 | 758 | ||
759 | uc100_config : unconfig | 759 | uc100_config : unconfig |
760 | @./mkconfig $(@:_config=) ppc mpc8xx uc100 | 760 | @./mkconfig $(@:_config=) ppc mpc8xx uc100 |
761 | 761 | ||
762 | v37_config: unconfig | 762 | v37_config: unconfig |
763 | @echo "#define CONFIG_LCD" >include/config.h | 763 | @echo "#define CONFIG_LCD" >include/config.h |
764 | @echo "#define CONFIG_SHARP_LQ084V1DG21" >>include/config.h | 764 | @echo "#define CONFIG_SHARP_LQ084V1DG21" >>include/config.h |
765 | @./mkconfig $(@:_config=) ppc mpc8xx v37 | 765 | @./mkconfig $(@:_config=) ppc mpc8xx v37 |
766 | 766 | ||
767 | wtk_config: unconfig | 767 | wtk_config: unconfig |
768 | @echo "#define CONFIG_LCD" >include/config.h | 768 | @echo "#define CONFIG_LCD" >include/config.h |
769 | @echo "#define CONFIG_SHARP_LQ065T9DR51U" >>include/config.h | 769 | @echo "#define CONFIG_SHARP_LQ065T9DR51U" >>include/config.h |
770 | @./mkconfig -a TQM823L ppc mpc8xx tqm8xx | 770 | @./mkconfig -a TQM823L ppc mpc8xx tqm8xx |
771 | 771 | ||
772 | ######################################################################### | 772 | ######################################################################### |
773 | ## PPC4xx Systems | 773 | ## PPC4xx Systems |
774 | ######################################################################### | 774 | ######################################################################### |
775 | xtract_4xx = $(subst _25,,$(subst _33,,$(subst _BA,,$(subst _ME,,$(subst _HI,,$(subst _config,,$1)))))) | 775 | xtract_4xx = $(subst _25,,$(subst _33,,$(subst _BA,,$(subst _ME,,$(subst _HI,,$(subst _config,,$1)))))) |
776 | 776 | ||
777 | ADCIOP_config: unconfig | 777 | ADCIOP_config: unconfig |
778 | @./mkconfig $(@:_config=) ppc ppc4xx adciop esd | 778 | @./mkconfig $(@:_config=) ppc ppc4xx adciop esd |
779 | 779 | ||
780 | AP1000_config:unconfig | 780 | AP1000_config:unconfig |
781 | @./mkconfig $(@:_config=) ppc ppc4xx ap1000 amirix | 781 | @./mkconfig $(@:_config=) ppc ppc4xx ap1000 amirix |
782 | 782 | ||
783 | APC405_config: unconfig | 783 | APC405_config: unconfig |
784 | @./mkconfig $(@:_config=) ppc ppc4xx apc405 esd | 784 | @./mkconfig $(@:_config=) ppc ppc4xx apc405 esd |
785 | 785 | ||
786 | AR405_config: unconfig | 786 | AR405_config: unconfig |
787 | @./mkconfig $(@:_config=) ppc ppc4xx ar405 esd | 787 | @./mkconfig $(@:_config=) ppc ppc4xx ar405 esd |
788 | 788 | ||
789 | ASH405_config: unconfig | 789 | ASH405_config: unconfig |
790 | @./mkconfig $(@:_config=) ppc ppc4xx ash405 esd | 790 | @./mkconfig $(@:_config=) ppc ppc4xx ash405 esd |
791 | 791 | ||
792 | bamboo_config: unconfig | 792 | bamboo_config: unconfig |
793 | @./mkconfig $(@:_config=) ppc ppc4xx bamboo amcc | 793 | @./mkconfig $(@:_config=) ppc ppc4xx bamboo amcc |
794 | 794 | ||
795 | bubinga_config: unconfig | 795 | bubinga_config: unconfig |
796 | @./mkconfig $(@:_config=) ppc ppc4xx bubinga amcc | 796 | @./mkconfig $(@:_config=) ppc ppc4xx bubinga amcc |
797 | 797 | ||
798 | CANBT_config: unconfig | 798 | CANBT_config: unconfig |
799 | @./mkconfig $(@:_config=) ppc ppc4xx canbt esd | 799 | @./mkconfig $(@:_config=) ppc ppc4xx canbt esd |
800 | 800 | ||
801 | CATcenter_config \ | 801 | CATcenter_config \ |
802 | CATcenter_25_config \ | 802 | CATcenter_25_config \ |
803 | CATcenter_33_config: unconfig | 803 | CATcenter_33_config: unconfig |
804 | @ echo "/* CATcenter uses PPChameleon Model ME */" > include/config.h | 804 | @ echo "/* CATcenter uses PPChameleon Model ME */" > include/config.h |
805 | @ echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >> include/config.h | 805 | @ echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >> include/config.h |
806 | @[ -z "$(findstring _25,$@)" ] || \ | 806 | @[ -z "$(findstring _25,$@)" ] || \ |
807 | { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>include/config.h ; \ | 807 | { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>include/config.h ; \ |
808 | echo "SysClk = 25MHz" ; \ | 808 | echo "SysClk = 25MHz" ; \ |
809 | } | 809 | } |
810 | @[ -z "$(findstring _33,$@)" ] || \ | 810 | @[ -z "$(findstring _33,$@)" ] || \ |
811 | { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>include/config.h ; \ | 811 | { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>include/config.h ; \ |
812 | echo "SysClk = 33MHz" ; \ | 812 | echo "SysClk = 33MHz" ; \ |
813 | } | 813 | } |
814 | @./mkconfig -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave | 814 | @./mkconfig -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave |
815 | 815 | ||
816 | CPCI2DP_config: unconfig | 816 | CPCI2DP_config: unconfig |
817 | @./mkconfig $(@:_config=) ppc ppc4xx cpci2dp esd | 817 | @./mkconfig $(@:_config=) ppc ppc4xx cpci2dp esd |
818 | 818 | ||
819 | CPCI405_config \ | 819 | CPCI405_config \ |
820 | CPCI4052_config \ | 820 | CPCI4052_config \ |
821 | CPCI405DT_config \ | 821 | CPCI405DT_config \ |
822 | CPCI405AB_config: unconfig | 822 | CPCI405AB_config: unconfig |
823 | @./mkconfig $(@:_config=) ppc ppc4xx cpci405 esd | 823 | @./mkconfig $(@:_config=) ppc ppc4xx cpci405 esd |
824 | @echo "BOARD_REVISION = $(@:_config=)" >>include/config.mk | 824 | @echo "BOARD_REVISION = $(@:_config=)" >>include/config.mk |
825 | 825 | ||
826 | CPCI440_config: unconfig | 826 | CPCI440_config: unconfig |
827 | @./mkconfig $(@:_config=) ppc ppc4xx cpci440 esd | 827 | @./mkconfig $(@:_config=) ppc ppc4xx cpci440 esd |
828 | 828 | ||
829 | CPCIISER4_config: unconfig | 829 | CPCIISER4_config: unconfig |
830 | @./mkconfig $(@:_config=) ppc ppc4xx cpciiser4 esd | 830 | @./mkconfig $(@:_config=) ppc ppc4xx cpciiser4 esd |
831 | 831 | ||
832 | CRAYL1_config: unconfig | 832 | CRAYL1_config: unconfig |
833 | @./mkconfig $(@:_config=) ppc ppc4xx L1 cray | 833 | @./mkconfig $(@:_config=) ppc ppc4xx L1 cray |
834 | 834 | ||
835 | csb272_config: unconfig | 835 | csb272_config: unconfig |
836 | @./mkconfig $(@:_config=) ppc ppc4xx csb272 | 836 | @./mkconfig $(@:_config=) ppc ppc4xx csb272 |
837 | 837 | ||
838 | csb472_config: unconfig | 838 | csb472_config: unconfig |
839 | @./mkconfig $(@:_config=) ppc ppc4xx csb472 | 839 | @./mkconfig $(@:_config=) ppc ppc4xx csb472 |
840 | 840 | ||
841 | DASA_SIM_config: unconfig | 841 | DASA_SIM_config: unconfig |
842 | @./mkconfig $(@:_config=) ppc ppc4xx dasa_sim esd | 842 | @./mkconfig $(@:_config=) ppc ppc4xx dasa_sim esd |
843 | 843 | ||
844 | DP405_config: unconfig | 844 | DP405_config: unconfig |
845 | @./mkconfig $(@:_config=) ppc ppc4xx dp405 esd | 845 | @./mkconfig $(@:_config=) ppc ppc4xx dp405 esd |
846 | 846 | ||
847 | DU405_config: unconfig | 847 | DU405_config: unconfig |
848 | @./mkconfig $(@:_config=) ppc ppc4xx du405 esd | 848 | @./mkconfig $(@:_config=) ppc ppc4xx du405 esd |
849 | 849 | ||
850 | ebony_config: unconfig | 850 | ebony_config: unconfig |
851 | @./mkconfig $(@:_config=) ppc ppc4xx ebony amcc | 851 | @./mkconfig $(@:_config=) ppc ppc4xx ebony amcc |
852 | 852 | ||
853 | ERIC_config: unconfig | 853 | ERIC_config: unconfig |
854 | @./mkconfig $(@:_config=) ppc ppc4xx eric | 854 | @./mkconfig $(@:_config=) ppc ppc4xx eric |
855 | 855 | ||
856 | EXBITGEN_config: unconfig | 856 | EXBITGEN_config: unconfig |
857 | @./mkconfig $(@:_config=) ppc ppc4xx exbitgen | 857 | @./mkconfig $(@:_config=) ppc ppc4xx exbitgen |
858 | 858 | ||
859 | G2000_config: unconfig | 859 | G2000_config: unconfig |
860 | @./mkconfig $(@:_config=) ppc ppc4xx g2000 | 860 | @./mkconfig $(@:_config=) ppc ppc4xx g2000 |
861 | 861 | ||
862 | HH405_config: unconfig | 862 | HH405_config: unconfig |
863 | @./mkconfig $(@:_config=) ppc ppc4xx hh405 esd | 863 | @./mkconfig $(@:_config=) ppc ppc4xx hh405 esd |
864 | 864 | ||
865 | HUB405_config: unconfig | 865 | HUB405_config: unconfig |
866 | @./mkconfig $(@:_config=) ppc ppc4xx hub405 esd | 866 | @./mkconfig $(@:_config=) ppc ppc4xx hub405 esd |
867 | 867 | ||
868 | JSE_config: unconfig | 868 | JSE_config: unconfig |
869 | @./mkconfig $(@:_config=) ppc ppc4xx jse | 869 | @./mkconfig $(@:_config=) ppc ppc4xx jse |
870 | 870 | ||
871 | KAREF_config: unconfig | 871 | KAREF_config: unconfig |
872 | @./mkconfig $(@:_config=) ppc ppc4xx karef sandburst | 872 | @./mkconfig $(@:_config=) ppc ppc4xx karef sandburst |
873 | 873 | ||
874 | luan_config: unconfig | 874 | luan_config: unconfig |
875 | @./mkconfig $(@:_config=) ppc ppc4xx luan amcc | 875 | @./mkconfig $(@:_config=) ppc ppc4xx luan amcc |
876 | 876 | ||
877 | METROBOX_config: unconfig | 877 | METROBOX_config: unconfig |
878 | @./mkconfig $(@:_config=) ppc ppc4xx metrobox sandburst | 878 | @./mkconfig $(@:_config=) ppc ppc4xx metrobox sandburst |
879 | 879 | ||
880 | MIP405_config: unconfig | 880 | MIP405_config: unconfig |
881 | @./mkconfig $(@:_config=) ppc ppc4xx mip405 mpl | 881 | @./mkconfig $(@:_config=) ppc ppc4xx mip405 mpl |
882 | 882 | ||
883 | MIP405T_config: unconfig | 883 | MIP405T_config: unconfig |
884 | @echo "#define CONFIG_MIP405T" >include/config.h | 884 | @echo "#define CONFIG_MIP405T" >include/config.h |
885 | @echo "Enable subset config for MIP405T" | 885 | @echo "Enable subset config for MIP405T" |
886 | @./mkconfig -a MIP405 ppc ppc4xx mip405 mpl | 886 | @./mkconfig -a MIP405 ppc ppc4xx mip405 mpl |
887 | 887 | ||
888 | ML2_config: unconfig | 888 | ML2_config: unconfig |
889 | @./mkconfig $(@:_config=) ppc ppc4xx ml2 | 889 | @./mkconfig $(@:_config=) ppc ppc4xx ml2 |
890 | 890 | ||
891 | ml300_config: unconfig | 891 | ml300_config: unconfig |
892 | @./mkconfig $(@:_config=) ppc ppc4xx ml300 xilinx | 892 | @./mkconfig $(@:_config=) ppc ppc4xx ml300 xilinx |
893 | 893 | ||
894 | ocotea_config: unconfig | 894 | ocotea_config: unconfig |
895 | @./mkconfig $(@:_config=) ppc ppc4xx ocotea amcc | 895 | @./mkconfig $(@:_config=) ppc ppc4xx ocotea amcc |
896 | 896 | ||
897 | OCRTC_config \ | 897 | OCRTC_config \ |
898 | ORSG_config: unconfig | 898 | ORSG_config: unconfig |
899 | @./mkconfig $(@:_config=) ppc ppc4xx ocrtc esd | 899 | @./mkconfig $(@:_config=) ppc ppc4xx ocrtc esd |
900 | 900 | ||
901 | p3p440_config: unconfig | 901 | p3p440_config: unconfig |
902 | @./mkconfig $(@:_config=) ppc ppc4xx p3p440 prodrive | 902 | @./mkconfig $(@:_config=) ppc ppc4xx p3p440 prodrive |
903 | 903 | ||
904 | PCI405_config: unconfig | 904 | PCI405_config: unconfig |
905 | @./mkconfig $(@:_config=) ppc ppc4xx pci405 esd | 905 | @./mkconfig $(@:_config=) ppc ppc4xx pci405 esd |
906 | 906 | ||
907 | pcs440ep_config: unconfig | 907 | pcs440ep_config: unconfig |
908 | @./mkconfig $(@:_config=) ppc ppc4xx pcs440ep | 908 | @./mkconfig $(@:_config=) ppc ppc4xx pcs440ep |
909 | 909 | ||
910 | PIP405_config: unconfig | 910 | PIP405_config: unconfig |
911 | @./mkconfig $(@:_config=) ppc ppc4xx pip405 mpl | 911 | @./mkconfig $(@:_config=) ppc ppc4xx pip405 mpl |
912 | 912 | ||
913 | PLU405_config: unconfig | 913 | PLU405_config: unconfig |
914 | @./mkconfig $(@:_config=) ppc ppc4xx plu405 esd | 914 | @./mkconfig $(@:_config=) ppc ppc4xx plu405 esd |
915 | 915 | ||
916 | PMC405_config: unconfig | 916 | PMC405_config: unconfig |
917 | @./mkconfig $(@:_config=) ppc ppc4xx pmc405 esd | 917 | @./mkconfig $(@:_config=) ppc ppc4xx pmc405 esd |
918 | 918 | ||
919 | PPChameleonEVB_config \ | 919 | PPChameleonEVB_config \ |
920 | PPChameleonEVB_BA_25_config \ | 920 | PPChameleonEVB_BA_25_config \ |
921 | PPChameleonEVB_ME_25_config \ | 921 | PPChameleonEVB_ME_25_config \ |
922 | PPChameleonEVB_HI_25_config \ | 922 | PPChameleonEVB_HI_25_config \ |
923 | PPChameleonEVB_BA_33_config \ | 923 | PPChameleonEVB_BA_33_config \ |
924 | PPChameleonEVB_ME_33_config \ | 924 | PPChameleonEVB_ME_33_config \ |
925 | PPChameleonEVB_HI_33_config: unconfig | 925 | PPChameleonEVB_HI_33_config: unconfig |
926 | @ >include/config.h | 926 | @ >include/config.h |
927 | @[ -z "$(findstring EVB_BA,$@)" ] || \ | 927 | @[ -z "$(findstring EVB_BA,$@)" ] || \ |
928 | { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 0" >>include/config.h ; \ | 928 | { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 0" >>include/config.h ; \ |
929 | echo "... BASIC model" ; \ | 929 | echo "... BASIC model" ; \ |
930 | } | 930 | } |
931 | @[ -z "$(findstring EVB_ME,$@)" ] || \ | 931 | @[ -z "$(findstring EVB_ME,$@)" ] || \ |
932 | { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >>include/config.h ; \ | 932 | { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >>include/config.h ; \ |
933 | echo "... MEDIUM model" ; \ | 933 | echo "... MEDIUM model" ; \ |
934 | } | 934 | } |
935 | @[ -z "$(findstring EVB_HI,$@)" ] || \ | 935 | @[ -z "$(findstring EVB_HI,$@)" ] || \ |
936 | { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 2" >>include/config.h ; \ | 936 | { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 2" >>include/config.h ; \ |
937 | echo "... HIGH-END model" ; \ | 937 | echo "... HIGH-END model" ; \ |
938 | } | 938 | } |
939 | @[ -z "$(findstring _25,$@)" ] || \ | 939 | @[ -z "$(findstring _25,$@)" ] || \ |
940 | { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>include/config.h ; \ | 940 | { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>include/config.h ; \ |
941 | echo "SysClk = 25MHz" ; \ | 941 | echo "SysClk = 25MHz" ; \ |
942 | } | 942 | } |
943 | @[ -z "$(findstring _33,$@)" ] || \ | 943 | @[ -z "$(findstring _33,$@)" ] || \ |
944 | { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>include/config.h ; \ | 944 | { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>include/config.h ; \ |
945 | echo "SysClk = 33MHz" ; \ | 945 | echo "SysClk = 33MHz" ; \ |
946 | } | 946 | } |
947 | @./mkconfig -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave | 947 | @./mkconfig -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave |
948 | 948 | ||
949 | sbc405_config: unconfig | 949 | sbc405_config: unconfig |
950 | @./mkconfig $(@:_config=) ppc ppc4xx sbc405 | 950 | @./mkconfig $(@:_config=) ppc ppc4xx sbc405 |
951 | 951 | ||
952 | sycamore_config: unconfig | 952 | sycamore_config: unconfig |
953 | @echo "Configuring for sycamore board as subset of walnut..." | 953 | @echo "Configuring for sycamore board as subset of walnut..." |
954 | @./mkconfig -a walnut ppc ppc4xx walnut amcc | 954 | @./mkconfig -a walnut ppc ppc4xx walnut amcc |
955 | 955 | ||
956 | VOH405_config: unconfig | 956 | VOH405_config: unconfig |
957 | @./mkconfig $(@:_config=) ppc ppc4xx voh405 esd | 957 | @./mkconfig $(@:_config=) ppc ppc4xx voh405 esd |
958 | 958 | ||
959 | VOM405_config: unconfig | 959 | VOM405_config: unconfig |
960 | @./mkconfig $(@:_config=) ppc ppc4xx vom405 esd | 960 | @./mkconfig $(@:_config=) ppc ppc4xx vom405 esd |
961 | 961 | ||
962 | CMS700_config: unconfig | 962 | CMS700_config: unconfig |
963 | @./mkconfig $(@:_config=) ppc ppc4xx cms700 esd | 963 | @./mkconfig $(@:_config=) ppc ppc4xx cms700 esd |
964 | 964 | ||
965 | W7OLMC_config \ | 965 | W7OLMC_config \ |
966 | W7OLMG_config: unconfig | 966 | W7OLMG_config: unconfig |
967 | @./mkconfig $(@:_config=) ppc ppc4xx w7o | 967 | @./mkconfig $(@:_config=) ppc ppc4xx w7o |
968 | 968 | ||
969 | walnut_config: unconfig | 969 | walnut_config: unconfig |
970 | @./mkconfig $(@:_config=) ppc ppc4xx walnut amcc | 970 | @./mkconfig $(@:_config=) ppc ppc4xx walnut amcc |
971 | 971 | ||
972 | WUH405_config: unconfig | 972 | WUH405_config: unconfig |
973 | @./mkconfig $(@:_config=) ppc ppc4xx wuh405 esd | 973 | @./mkconfig $(@:_config=) ppc ppc4xx wuh405 esd |
974 | 974 | ||
975 | XPEDITE1K_config: unconfig | 975 | XPEDITE1K_config: unconfig |
976 | @./mkconfig $(@:_config=) ppc ppc4xx xpedite1k | 976 | @./mkconfig $(@:_config=) ppc ppc4xx xpedite1k |
977 | 977 | ||
978 | yosemite_config: unconfig | 978 | yosemite_config: unconfig |
979 | @./mkconfig $(@:_config=) ppc ppc4xx yosemite amcc | 979 | @./mkconfig $(@:_config=) ppc ppc4xx yosemite amcc |
980 | 980 | ||
981 | yellowstone_config: unconfig | 981 | yellowstone_config: unconfig |
982 | @./mkconfig $(@:_config=) ppc ppc4xx yellowstone amcc | 982 | @./mkconfig $(@:_config=) ppc ppc4xx yellowstone amcc |
983 | 983 | ||
984 | ######################################################################### | 984 | ######################################################################### |
985 | ## MPC8220 Systems | 985 | ## MPC8220 Systems |
986 | ######################################################################### | 986 | ######################################################################### |
987 | 987 | ||
988 | Alaska8220_config \ | 988 | Alaska8220_config \ |
989 | Yukon8220_config: unconfig | 989 | Yukon8220_config: unconfig |
990 | @./mkconfig $(@:_config=) ppc mpc8220 alaska | 990 | @./mkconfig $(@:_config=) ppc mpc8220 alaska |
991 | 991 | ||
992 | sorcery_config: unconfig | 992 | sorcery_config: unconfig |
993 | @./mkconfig $(@:_config=) ppc mpc8220 sorcery | 993 | @./mkconfig $(@:_config=) ppc mpc8220 sorcery |
994 | 994 | ||
995 | ######################################################################### | 995 | ######################################################################### |
996 | ## MPC824x Systems | 996 | ## MPC824x Systems |
997 | ######################################################################### | 997 | ######################################################################### |
998 | xtract_82xx = $(subst _BIGFLASH,,$(subst _ROMBOOT,,$(subst _L2,,$(subst _266MHz,,$(subst _300MHz,,$(subst _config,,$1)))))) | 998 | xtract_82xx = $(subst _BIGFLASH,,$(subst _ROMBOOT,,$(subst _L2,,$(subst _266MHz,,$(subst _300MHz,,$(subst _config,,$1)))))) |
999 | 999 | ||
1000 | A3000_config: unconfig | 1000 | A3000_config: unconfig |
1001 | @./mkconfig $(@:_config=) ppc mpc824x a3000 | 1001 | @./mkconfig $(@:_config=) ppc mpc824x a3000 |
1002 | 1002 | ||
1003 | barco_config: unconfig | 1003 | barco_config: unconfig |
1004 | @./mkconfig $(@:_config=) ppc mpc824x barco | 1004 | @./mkconfig $(@:_config=) ppc mpc824x barco |
1005 | 1005 | ||
1006 | BMW_config: unconfig | 1006 | BMW_config: unconfig |
1007 | @./mkconfig $(@:_config=) ppc mpc824x bmw | 1007 | @./mkconfig $(@:_config=) ppc mpc824x bmw |
1008 | 1008 | ||
1009 | CPC45_config \ | 1009 | CPC45_config \ |
1010 | CPC45_ROMBOOT_config: unconfig | 1010 | CPC45_ROMBOOT_config: unconfig |
1011 | @./mkconfig $(call xtract_82xx,$@) ppc mpc824x cpc45 | 1011 | @./mkconfig $(call xtract_82xx,$@) ppc mpc824x cpc45 |
1012 | @cd ./include ; \ | 1012 | @cd ./include ; \ |
1013 | if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ | 1013 | if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ |
1014 | echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ | 1014 | echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ |
1015 | echo "... booting from 8-bit flash" ; \ | 1015 | echo "... booting from 8-bit flash" ; \ |
1016 | else \ | 1016 | else \ |
1017 | echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ | 1017 | echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ |
1018 | echo "... booting from 64-bit flash" ; \ | 1018 | echo "... booting from 64-bit flash" ; \ |
1019 | fi; \ | 1019 | fi; \ |
1020 | echo "export CONFIG_BOOT_ROM" >> config.mk; | 1020 | echo "export CONFIG_BOOT_ROM" >> config.mk; |
1021 | 1021 | ||
1022 | CU824_config: unconfig | 1022 | CU824_config: unconfig |
1023 | @./mkconfig $(@:_config=) ppc mpc824x cu824 | 1023 | @./mkconfig $(@:_config=) ppc mpc824x cu824 |
1024 | 1024 | ||
1025 | debris_config: unconfig | 1025 | debris_config: unconfig |
1026 | @./mkconfig $(@:_config=) ppc mpc824x debris etin | 1026 | @./mkconfig $(@:_config=) ppc mpc824x debris etin |
1027 | 1027 | ||
1028 | eXalion_config: unconfig | 1028 | eXalion_config: unconfig |
1029 | @./mkconfig $(@:_config=) ppc mpc824x eXalion | 1029 | @./mkconfig $(@:_config=) ppc mpc824x eXalion |
1030 | 1030 | ||
1031 | HIDDEN_DRAGON_config: unconfig | 1031 | HIDDEN_DRAGON_config: unconfig |
1032 | @./mkconfig $(@:_config=) ppc mpc824x hidden_dragon | 1032 | @./mkconfig $(@:_config=) ppc mpc824x hidden_dragon |
1033 | 1033 | ||
1034 | MOUSSE_config: unconfig | 1034 | MOUSSE_config: unconfig |
1035 | @./mkconfig $(@:_config=) ppc mpc824x mousse | 1035 | @./mkconfig $(@:_config=) ppc mpc824x mousse |
1036 | 1036 | ||
1037 | MUSENKI_config: unconfig | 1037 | MUSENKI_config: unconfig |
1038 | @./mkconfig $(@:_config=) ppc mpc824x musenki | 1038 | @./mkconfig $(@:_config=) ppc mpc824x musenki |
1039 | 1039 | ||
1040 | MVBLUE_config: unconfig | 1040 | MVBLUE_config: unconfig |
1041 | @./mkconfig $(@:_config=) ppc mpc824x mvblue | 1041 | @./mkconfig $(@:_config=) ppc mpc824x mvblue |
1042 | 1042 | ||
1043 | OXC_config: unconfig | 1043 | OXC_config: unconfig |
1044 | @./mkconfig $(@:_config=) ppc mpc824x oxc | 1044 | @./mkconfig $(@:_config=) ppc mpc824x oxc |
1045 | 1045 | ||
1046 | PN62_config: unconfig | 1046 | PN62_config: unconfig |
1047 | @./mkconfig $(@:_config=) ppc mpc824x pn62 | 1047 | @./mkconfig $(@:_config=) ppc mpc824x pn62 |
1048 | 1048 | ||
1049 | Sandpoint8240_config: unconfig | 1049 | Sandpoint8240_config: unconfig |
1050 | @./mkconfig $(@:_config=) ppc mpc824x sandpoint | 1050 | @./mkconfig $(@:_config=) ppc mpc824x sandpoint |
1051 | 1051 | ||
1052 | Sandpoint8245_config: unconfig | 1052 | Sandpoint8245_config: unconfig |
1053 | @./mkconfig $(@:_config=) ppc mpc824x sandpoint | 1053 | @./mkconfig $(@:_config=) ppc mpc824x sandpoint |
1054 | 1054 | ||
1055 | sbc8240_config: unconfig | 1055 | sbc8240_config: unconfig |
1056 | @./mkconfig $(@:_config=) ppc mpc824x sbc8240 | 1056 | @./mkconfig $(@:_config=) ppc mpc824x sbc8240 |
1057 | 1057 | ||
1058 | SL8245_config: unconfig | 1058 | SL8245_config: unconfig |
1059 | @./mkconfig $(@:_config=) ppc mpc824x sl8245 | 1059 | @./mkconfig $(@:_config=) ppc mpc824x sl8245 |
1060 | 1060 | ||
1061 | utx8245_config: unconfig | 1061 | utx8245_config: unconfig |
1062 | @./mkconfig $(@:_config=) ppc mpc824x utx8245 | 1062 | @./mkconfig $(@:_config=) ppc mpc824x utx8245 |
1063 | 1063 | ||
1064 | ######################################################################### | 1064 | ######################################################################### |
1065 | ## MPC8260 Systems | 1065 | ## MPC8260 Systems |
1066 | ######################################################################### | 1066 | ######################################################################### |
1067 | 1067 | ||
1068 | atc_config: unconfig | 1068 | atc_config: unconfig |
1069 | @./mkconfig $(@:_config=) ppc mpc8260 atc | 1069 | @./mkconfig $(@:_config=) ppc mpc8260 atc |
1070 | 1070 | ||
1071 | cogent_mpc8260_config: unconfig | 1071 | cogent_mpc8260_config: unconfig |
1072 | @./mkconfig $(@:_config=) ppc mpc8260 cogent | 1072 | @./mkconfig $(@:_config=) ppc mpc8260 cogent |
1073 | 1073 | ||
1074 | CPU86_config \ | 1074 | CPU86_config \ |
1075 | CPU86_ROMBOOT_config: unconfig | 1075 | CPU86_ROMBOOT_config: unconfig |
1076 | @./mkconfig $(call xtract_82xx,$@) ppc mpc8260 cpu86 | 1076 | @./mkconfig $(call xtract_82xx,$@) ppc mpc8260 cpu86 |
1077 | @cd ./include ; \ | 1077 | @cd ./include ; \ |
1078 | if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ | 1078 | if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ |
1079 | echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ | 1079 | echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ |
1080 | echo "... booting from 8-bit flash" ; \ | 1080 | echo "... booting from 8-bit flash" ; \ |
1081 | else \ | 1081 | else \ |
1082 | echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ | 1082 | echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ |
1083 | echo "... booting from 64-bit flash" ; \ | 1083 | echo "... booting from 64-bit flash" ; \ |
1084 | fi; \ | 1084 | fi; \ |
1085 | echo "export CONFIG_BOOT_ROM" >> config.mk; | 1085 | echo "export CONFIG_BOOT_ROM" >> config.mk; |
1086 | 1086 | ||
1087 | CPU87_config \ | 1087 | CPU87_config \ |
1088 | CPU87_ROMBOOT_config: unconfig | 1088 | CPU87_ROMBOOT_config: unconfig |
1089 | @./mkconfig $(call xtract_82xx,$@) ppc mpc8260 cpu87 | 1089 | @./mkconfig $(call xtract_82xx,$@) ppc mpc8260 cpu87 |
1090 | @cd ./include ; \ | 1090 | @cd ./include ; \ |
1091 | if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ | 1091 | if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ |
1092 | echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ | 1092 | echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ |
1093 | echo "... booting from 8-bit flash" ; \ | 1093 | echo "... booting from 8-bit flash" ; \ |
1094 | else \ | 1094 | else \ |
1095 | echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ | 1095 | echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ |
1096 | echo "... booting from 64-bit flash" ; \ | 1096 | echo "... booting from 64-bit flash" ; \ |
1097 | fi; \ | 1097 | fi; \ |
1098 | echo "export CONFIG_BOOT_ROM" >> config.mk; | 1098 | echo "export CONFIG_BOOT_ROM" >> config.mk; |
1099 | 1099 | ||
1100 | ep8248_config \ | 1100 | ep8248_config \ |
1101 | ep8248E_config : unconfig | 1101 | ep8248E_config : unconfig |
1102 | @./mkconfig ep8248 ppc mpc8260 ep8248 | 1102 | @./mkconfig ep8248 ppc mpc8260 ep8248 |
1103 | 1103 | ||
1104 | ep8260_config: unconfig | 1104 | ep8260_config: unconfig |
1105 | @./mkconfig $(@:_config=) ppc mpc8260 ep8260 | 1105 | @./mkconfig $(@:_config=) ppc mpc8260 ep8260 |
1106 | 1106 | ||
1107 | gw8260_config: unconfig | 1107 | gw8260_config: unconfig |
1108 | @./mkconfig $(@:_config=) ppc mpc8260 gw8260 | 1108 | @./mkconfig $(@:_config=) ppc mpc8260 gw8260 |
1109 | 1109 | ||
1110 | hymod_config: unconfig | 1110 | hymod_config: unconfig |
1111 | @./mkconfig $(@:_config=) ppc mpc8260 hymod | 1111 | @./mkconfig $(@:_config=) ppc mpc8260 hymod |
1112 | 1112 | ||
1113 | IDS8247_config: unconfig | 1113 | IDS8247_config: unconfig |
1114 | @./mkconfig $(@:_config=) ppc mpc8260 ids8247 | 1114 | @./mkconfig $(@:_config=) ppc mpc8260 ids8247 |
1115 | 1115 | ||
1116 | IPHASE4539_config: unconfig | 1116 | IPHASE4539_config: unconfig |
1117 | @./mkconfig $(@:_config=) ppc mpc8260 iphase4539 | 1117 | @./mkconfig $(@:_config=) ppc mpc8260 iphase4539 |
1118 | 1118 | ||
1119 | ISPAN_config \ | 1119 | ISPAN_config \ |
1120 | ISPAN_REVB_config: unconfig | 1120 | ISPAN_REVB_config: unconfig |
1121 | @if [ "$(findstring _REVB_,$@)" ] ; then \ | 1121 | @if [ "$(findstring _REVB_,$@)" ] ; then \ |
1122 | echo "#define CFG_REV_B" > include/config.h ; \ | 1122 | echo "#define CFG_REV_B" > include/config.h ; \ |
1123 | fi | 1123 | fi |
1124 | @./mkconfig -a ISPAN ppc mpc8260 ispan | 1124 | @./mkconfig -a ISPAN ppc mpc8260 ispan |
1125 | 1125 | ||
1126 | MPC8260ADS_config \ | 1126 | MPC8260ADS_config \ |
1127 | MPC8260ADS_lowboot_config \ | 1127 | MPC8260ADS_lowboot_config \ |
1128 | MPC8260ADS_33MHz_config \ | 1128 | MPC8260ADS_33MHz_config \ |
1129 | MPC8260ADS_33MHz_lowboot_config \ | 1129 | MPC8260ADS_33MHz_lowboot_config \ |
1130 | MPC8260ADS_40MHz_config \ | 1130 | MPC8260ADS_40MHz_config \ |
1131 | MPC8260ADS_40MHz_lowboot_config \ | 1131 | MPC8260ADS_40MHz_lowboot_config \ |
1132 | MPC8272ADS_config \ | 1132 | MPC8272ADS_config \ |
1133 | MPC8272ADS_lowboot_config \ | 1133 | MPC8272ADS_lowboot_config \ |
1134 | PQ2FADS_config \ | 1134 | PQ2FADS_config \ |
1135 | PQ2FADS_lowboot_config \ | 1135 | PQ2FADS_lowboot_config \ |
1136 | PQ2FADS-VR_config \ | 1136 | PQ2FADS-VR_config \ |
1137 | PQ2FADS-VR_lowboot_config \ | 1137 | PQ2FADS-VR_lowboot_config \ |
1138 | PQ2FADS-ZU_config \ | 1138 | PQ2FADS-ZU_config \ |
1139 | PQ2FADS-ZU_lowboot_config \ | 1139 | PQ2FADS-ZU_lowboot_config \ |
1140 | PQ2FADS-ZU_66MHz_config \ | 1140 | PQ2FADS-ZU_66MHz_config \ |
1141 | PQ2FADS-ZU_66MHz_lowboot_config \ | 1141 | PQ2FADS-ZU_66MHz_lowboot_config \ |
1142 | : unconfig | 1142 | : unconfig |
1143 | $(if $(findstring PQ2FADS,$@), \ | 1143 | $(if $(findstring PQ2FADS,$@), \ |
1144 | @echo "#define CONFIG_ADSTYPE CFG_PQ2FADS" > include/config.h, \ | 1144 | @echo "#define CONFIG_ADSTYPE CFG_PQ2FADS" > include/config.h, \ |
1145 | @echo "#define CONFIG_ADSTYPE CFG_"$(subst MPC,,$(word 1,$(subst _, ,$@))) > include/config.h) | 1145 | @echo "#define CONFIG_ADSTYPE CFG_"$(subst MPC,,$(word 1,$(subst _, ,$@))) > include/config.h) |
1146 | $(if $(findstring MHz,$@), \ | 1146 | $(if $(findstring MHz,$@), \ |
1147 | @echo "#define CONFIG_8260_CLKIN" $(subst MHz,,$(word 2,$(subst _, ,$@)))"000000" >> include/config.h, \ | 1147 | @echo "#define CONFIG_8260_CLKIN" $(subst MHz,,$(word 2,$(subst _, ,$@)))"000000" >> include/config.h, \ |
1148 | $(if $(findstring VR,$@), \ | 1148 | $(if $(findstring VR,$@), \ |
1149 | @echo "#define CONFIG_8260_CLKIN 66000000" >> include/config.h)) | 1149 | @echo "#define CONFIG_8260_CLKIN 66000000" >> include/config.h)) |
1150 | @[ -z "$(findstring lowboot_,$@)" ] || \ | 1150 | @[ -z "$(findstring lowboot_,$@)" ] || \ |
1151 | { echo "TEXT_BASE = 0xFF800000" >board/mpc8260ads/config.tmp ; \ | 1151 | { echo "TEXT_BASE = 0xFF800000" >board/mpc8260ads/config.tmp ; \ |
1152 | echo "... with lowboot configuration" ; \ | 1152 | echo "... with lowboot configuration" ; \ |
1153 | } | 1153 | } |
1154 | @./mkconfig -a MPC8260ADS ppc mpc8260 mpc8260ads | 1154 | @./mkconfig -a MPC8260ADS ppc mpc8260 mpc8260ads |
1155 | 1155 | ||
1156 | MPC8266ADS_config: unconfig | 1156 | MPC8266ADS_config: unconfig |
1157 | @./mkconfig $(@:_config=) ppc mpc8260 mpc8266ads | 1157 | @./mkconfig $(@:_config=) ppc mpc8260 mpc8266ads |
1158 | 1158 | ||
1159 | # PM825/PM826 default configuration: small (= 8 MB) Flash / boot from 64-bit flash | 1159 | # PM825/PM826 default configuration: small (= 8 MB) Flash / boot from 64-bit flash |
1160 | PM825_config \ | 1160 | PM825_config \ |
1161 | PM825_ROMBOOT_config \ | 1161 | PM825_ROMBOOT_config \ |
1162 | PM825_BIGFLASH_config \ | 1162 | PM825_BIGFLASH_config \ |
1163 | PM825_ROMBOOT_BIGFLASH_config \ | 1163 | PM825_ROMBOOT_BIGFLASH_config \ |
1164 | PM826_config \ | 1164 | PM826_config \ |
1165 | PM826_ROMBOOT_config \ | 1165 | PM826_ROMBOOT_config \ |
1166 | PM826_BIGFLASH_config \ | 1166 | PM826_BIGFLASH_config \ |
1167 | PM826_ROMBOOT_BIGFLASH_config: unconfig | 1167 | PM826_ROMBOOT_BIGFLASH_config: unconfig |
1168 | @if [ "$(findstring PM825_,$@)" ] ; then \ | 1168 | @if [ "$(findstring PM825_,$@)" ] ; then \ |
1169 | echo "#define CONFIG_PCI" >include/config.h ; \ | 1169 | echo "#define CONFIG_PCI" >include/config.h ; \ |
1170 | else \ | 1170 | else \ |
1171 | >include/config.h ; \ | 1171 | >include/config.h ; \ |
1172 | fi | 1172 | fi |
1173 | @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ | 1173 | @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ |
1174 | echo "... booting from 8-bit flash" ; \ | 1174 | echo "... booting from 8-bit flash" ; \ |
1175 | echo "#define CONFIG_BOOT_ROM" >>include/config.h ; \ | 1175 | echo "#define CONFIG_BOOT_ROM" >>include/config.h ; \ |
1176 | echo "TEXT_BASE = 0xFF800000" >board/pm826/config.tmp ; \ | 1176 | echo "TEXT_BASE = 0xFF800000" >board/pm826/config.tmp ; \ |
1177 | if [ "$(findstring _BIGFLASH_,$@)" ] ; then \ | 1177 | if [ "$(findstring _BIGFLASH_,$@)" ] ; then \ |
1178 | echo "... with 32 MB Flash" ; \ | 1178 | echo "... with 32 MB Flash" ; \ |
1179 | echo "#define CONFIG_FLASH_32MB" >>include/config.h ; \ | 1179 | echo "#define CONFIG_FLASH_32MB" >>include/config.h ; \ |
1180 | fi; \ | 1180 | fi; \ |
1181 | else \ | 1181 | else \ |
1182 | echo "... booting from 64-bit flash" ; \ | 1182 | echo "... booting from 64-bit flash" ; \ |
1183 | if [ "$(findstring _BIGFLASH_,$@)" ] ; then \ | 1183 | if [ "$(findstring _BIGFLASH_,$@)" ] ; then \ |
1184 | echo "... with 32 MB Flash" ; \ | 1184 | echo "... with 32 MB Flash" ; \ |
1185 | echo "#define CONFIG_FLASH_32MB" >>include/config.h ; \ | 1185 | echo "#define CONFIG_FLASH_32MB" >>include/config.h ; \ |
1186 | echo "TEXT_BASE = 0x40000000" >board/pm826/config.tmp ; \ | 1186 | echo "TEXT_BASE = 0x40000000" >board/pm826/config.tmp ; \ |
1187 | else \ | 1187 | else \ |
1188 | echo "TEXT_BASE = 0xFF000000" >board/pm826/config.tmp ; \ | 1188 | echo "TEXT_BASE = 0xFF000000" >board/pm826/config.tmp ; \ |
1189 | fi; \ | 1189 | fi; \ |
1190 | fi | 1190 | fi |
1191 | @./mkconfig -a PM826 ppc mpc8260 pm826 | 1191 | @./mkconfig -a PM826 ppc mpc8260 pm826 |
1192 | 1192 | ||
1193 | PM828_config \ | 1193 | PM828_config \ |
1194 | PM828_PCI_config \ | 1194 | PM828_PCI_config \ |
1195 | PM828_ROMBOOT_config \ | 1195 | PM828_ROMBOOT_config \ |
1196 | PM828_ROMBOOT_PCI_config: unconfig | 1196 | PM828_ROMBOOT_PCI_config: unconfig |
1197 | @if [ "$(findstring _PCI_,$@)" ] ; then \ | 1197 | @if [ "$(findstring _PCI_,$@)" ] ; then \ |
1198 | echo "#define CONFIG_PCI" >>include/config.h ; \ | 1198 | echo "#define CONFIG_PCI" >>include/config.h ; \ |
1199 | echo "... with PCI enabled" ; \ | 1199 | echo "... with PCI enabled" ; \ |
1200 | else \ | 1200 | else \ |
1201 | >include/config.h ; \ | 1201 | >include/config.h ; \ |
1202 | fi | 1202 | fi |
1203 | @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ | 1203 | @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ |
1204 | echo "... booting from 8-bit flash" ; \ | 1204 | echo "... booting from 8-bit flash" ; \ |
1205 | echo "#define CONFIG_BOOT_ROM" >>include/config.h ; \ | 1205 | echo "#define CONFIG_BOOT_ROM" >>include/config.h ; \ |
1206 | echo "TEXT_BASE = 0xFF800000" >board/pm826/config.tmp ; \ | 1206 | echo "TEXT_BASE = 0xFF800000" >board/pm826/config.tmp ; \ |
1207 | fi | 1207 | fi |
1208 | @./mkconfig -a PM828 ppc mpc8260 pm828 | 1208 | @./mkconfig -a PM828 ppc mpc8260 pm828 |
1209 | 1209 | ||
1210 | ppmc8260_config: unconfig | 1210 | ppmc8260_config: unconfig |
1211 | @./mkconfig $(@:_config=) ppc mpc8260 ppmc8260 | 1211 | @./mkconfig $(@:_config=) ppc mpc8260 ppmc8260 |
1212 | 1212 | ||
1213 | Rattler8248_config \ | 1213 | Rattler8248_config \ |
1214 | Rattler_config: unconfig | 1214 | Rattler_config: unconfig |
1215 | $(if $(findstring 8248,$@), \ | 1215 | $(if $(findstring 8248,$@), \ |
1216 | @echo "#define CONFIG_MPC8248" > include/config.h) | 1216 | @echo "#define CONFIG_MPC8248" > include/config.h) |
1217 | @./mkconfig -a Rattler ppc mpc8260 rattler | 1217 | @./mkconfig -a Rattler ppc mpc8260 rattler |
1218 | 1218 | ||
1219 | RPXsuper_config: unconfig | 1219 | RPXsuper_config: unconfig |
1220 | @./mkconfig $(@:_config=) ppc mpc8260 rpxsuper | 1220 | @./mkconfig $(@:_config=) ppc mpc8260 rpxsuper |
1221 | 1221 | ||
1222 | rsdproto_config: unconfig | 1222 | rsdproto_config: unconfig |
1223 | @./mkconfig $(@:_config=) ppc mpc8260 rsdproto | 1223 | @./mkconfig $(@:_config=) ppc mpc8260 rsdproto |
1224 | 1224 | ||
1225 | sacsng_config: unconfig | 1225 | sacsng_config: unconfig |
1226 | @./mkconfig $(@:_config=) ppc mpc8260 sacsng | 1226 | @./mkconfig $(@:_config=) ppc mpc8260 sacsng |
1227 | 1227 | ||
1228 | sbc8260_config: unconfig | 1228 | sbc8260_config: unconfig |
1229 | @./mkconfig $(@:_config=) ppc mpc8260 sbc8260 | 1229 | @./mkconfig $(@:_config=) ppc mpc8260 sbc8260 |
1230 | 1230 | ||
1231 | SCM_config: unconfig | 1231 | SCM_config: unconfig |
1232 | @./mkconfig $(@:_config=) ppc mpc8260 SCM siemens | 1232 | @./mkconfig $(@:_config=) ppc mpc8260 SCM siemens |
1233 | 1233 | ||
1234 | TQM8255_AA_config \ | 1234 | TQM8255_AA_config \ |
1235 | TQM8260_AA_config \ | 1235 | TQM8260_AA_config \ |
1236 | TQM8260_AB_config \ | 1236 | TQM8260_AB_config \ |
1237 | TQM8260_AC_config \ | 1237 | TQM8260_AC_config \ |
1238 | TQM8260_AD_config \ | 1238 | TQM8260_AD_config \ |
1239 | TQM8260_AE_config \ | 1239 | TQM8260_AE_config \ |
1240 | TQM8260_AF_config \ | 1240 | TQM8260_AF_config \ |
1241 | TQM8260_AG_config \ | 1241 | TQM8260_AG_config \ |
1242 | TQM8260_AH_config \ | 1242 | TQM8260_AH_config \ |
1243 | TQM8260_AI_config \ | 1243 | TQM8260_AI_config \ |
1244 | TQM8265_AA_config: unconfig | 1244 | TQM8265_AA_config: unconfig |
1245 | @case "$@" in \ | 1245 | @case "$@" in \ |
1246 | TQM8255_AA_config) CTYPE=MPC8255; CFREQ=300; CACHE=no; BMODE=8260;; \ | 1246 | TQM8255_AA_config) CTYPE=MPC8255; CFREQ=300; CACHE=no; BMODE=8260;; \ |
1247 | TQM8260_AA_config) CTYPE=MPC8260; CFREQ=200; CACHE=no; BMODE=8260;; \ | 1247 | TQM8260_AA_config) CTYPE=MPC8260; CFREQ=200; CACHE=no; BMODE=8260;; \ |
1248 | TQM8260_AB_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \ | 1248 | TQM8260_AB_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \ |
1249 | TQM8260_AC_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \ | 1249 | TQM8260_AC_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \ |
1250 | TQM8260_AD_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \ | 1250 | TQM8260_AD_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \ |
1251 | TQM8260_AE_config) CTYPE=MPC8260; CFREQ=266; CACHE=no; BMODE=8260;; \ | 1251 | TQM8260_AE_config) CTYPE=MPC8260; CFREQ=266; CACHE=no; BMODE=8260;; \ |
1252 | TQM8260_AF_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \ | 1252 | TQM8260_AF_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \ |
1253 | TQM8260_AG_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=8260;; \ | 1253 | TQM8260_AG_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=8260;; \ |
1254 | TQM8260_AH_config) CTYPE=MPC8260; CFREQ=300; CACHE=yes; BMODE=60x;; \ | 1254 | TQM8260_AH_config) CTYPE=MPC8260; CFREQ=300; CACHE=yes; BMODE=60x;; \ |
1255 | TQM8260_AI_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \ | 1255 | TQM8260_AI_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \ |
1256 | TQM8265_AA_config) CTYPE=MPC8265; CFREQ=300; CACHE=no; BMODE=60x;; \ | 1256 | TQM8265_AA_config) CTYPE=MPC8265; CFREQ=300; CACHE=no; BMODE=60x;; \ |
1257 | esac; \ | 1257 | esac; \ |
1258 | >include/config.h ; \ | 1258 | >include/config.h ; \ |
1259 | if [ "$${CTYPE}" != "MPC8260" ] ; then \ | 1259 | if [ "$${CTYPE}" != "MPC8260" ] ; then \ |
1260 | echo "#define CONFIG_$${CTYPE}" >>include/config.h ; \ | 1260 | echo "#define CONFIG_$${CTYPE}" >>include/config.h ; \ |
1261 | fi; \ | 1261 | fi; \ |
1262 | echo "#define CONFIG_$${CFREQ}MHz" >>include/config.h ; \ | 1262 | echo "#define CONFIG_$${CFREQ}MHz" >>include/config.h ; \ |
1263 | echo "... with $${CFREQ}MHz system clock" ; \ | 1263 | echo "... with $${CFREQ}MHz system clock" ; \ |
1264 | if [ "$${CACHE}" == "yes" ] ; then \ | 1264 | if [ "$${CACHE}" == "yes" ] ; then \ |
1265 | echo "#define CONFIG_L2_CACHE" >>include/config.h ; \ | 1265 | echo "#define CONFIG_L2_CACHE" >>include/config.h ; \ |
1266 | echo "... with L2 Cache support" ; \ | 1266 | echo "... with L2 Cache support" ; \ |
1267 | else \ | 1267 | else \ |
1268 | echo "#undef CONFIG_L2_CACHE" >>include/config.h ; \ | 1268 | echo "#undef CONFIG_L2_CACHE" >>include/config.h ; \ |
1269 | echo "... without L2 Cache support" ; \ | 1269 | echo "... without L2 Cache support" ; \ |
1270 | fi; \ | 1270 | fi; \ |
1271 | if [ "$${BMODE}" == "60x" ] ; then \ | 1271 | if [ "$${BMODE}" == "60x" ] ; then \ |
1272 | echo "#define CONFIG_BUSMODE_60x" >>include/config.h ; \ | 1272 | echo "#define CONFIG_BUSMODE_60x" >>include/config.h ; \ |
1273 | echo "... with 60x Bus Mode" ; \ | 1273 | echo "... with 60x Bus Mode" ; \ |
1274 | else \ | 1274 | else \ |
1275 | echo "#undef CONFIG_BUSMODE_60x" >>include/config.h ; \ | 1275 | echo "#undef CONFIG_BUSMODE_60x" >>include/config.h ; \ |
1276 | echo "... without 60x Bus Mode" ; \ | 1276 | echo "... without 60x Bus Mode" ; \ |
1277 | fi | 1277 | fi |
1278 | @./mkconfig -a TQM8260 ppc mpc8260 tqm8260 | 1278 | @./mkconfig -a TQM8260 ppc mpc8260 tqm8260 |
1279 | 1279 | ||
1280 | VoVPN-GW_66MHz_config \ | 1280 | VoVPN-GW_66MHz_config \ |
1281 | VoVPN-GW_100MHz_config: unconfig | 1281 | VoVPN-GW_100MHz_config: unconfig |
1282 | @echo "#define CONFIG_CLKIN_$(word 2,$(subst _, ,$@))" > include/config.h | 1282 | @echo "#define CONFIG_CLKIN_$(word 2,$(subst _, ,$@))" > include/config.h |
1283 | @./mkconfig -a VoVPN-GW ppc mpc8260 vovpn-gw funkwerk | 1283 | @./mkconfig -a VoVPN-GW ppc mpc8260 vovpn-gw funkwerk |
1284 | 1284 | ||
1285 | ZPC1900_config: unconfig | 1285 | ZPC1900_config: unconfig |
1286 | @./mkconfig $(@:_config=) ppc mpc8260 zpc1900 | 1286 | @./mkconfig $(@:_config=) ppc mpc8260 zpc1900 |
1287 | 1287 | ||
1288 | ######################################################################### | 1288 | ######################################################################### |
1289 | ## Coldfire | 1289 | ## Coldfire |
1290 | ######################################################################### | 1290 | ######################################################################### |
1291 | 1291 | ||
1292 | cobra5272_config : unconfig | 1292 | cobra5272_config : unconfig |
1293 | @./mkconfig $(@:_config=) m68k mcf52x2 cobra5272 | 1293 | @./mkconfig $(@:_config=) m68k mcf52x2 cobra5272 |
1294 | 1294 | ||
1295 | EB+MCF-EV123_config : unconfig | 1295 | EB+MCF-EV123_config : unconfig |
1296 | @ >include/config.h | 1296 | @ >include/config.h |
1297 | @echo "TEXT_BASE = 0xFFE00000"|tee board/BuS/EB+MCF-EV123/textbase.mk | 1297 | @echo "TEXT_BASE = 0xFFE00000"|tee board/BuS/EB+MCF-EV123/textbase.mk |
1298 | @./mkconfig EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS | 1298 | @./mkconfig EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS |
1299 | 1299 | ||
1300 | EB+MCF-EV123_internal_config : unconfig | 1300 | EB+MCF-EV123_internal_config : unconfig |
1301 | @ >include/config.h | 1301 | @ >include/config.h |
1302 | @echo "TEXT_BASE = 0xF0000000"|tee board/BuS/EB+MCF-EV123/textbase.mk | 1302 | @echo "TEXT_BASE = 0xF0000000"|tee board/BuS/EB+MCF-EV123/textbase.mk |
1303 | @./mkconfig EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS | 1303 | @./mkconfig EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS |
1304 | 1304 | ||
1305 | M5271EVB_config : unconfig | 1305 | M5271EVB_config : unconfig |
1306 | @./mkconfig $(@:_config=) m68k mcf52x2 m5271evb | 1306 | @./mkconfig $(@:_config=) m68k mcf52x2 m5271evb |
1307 | 1307 | ||
1308 | M5272C3_config : unconfig | 1308 | M5272C3_config : unconfig |
1309 | @./mkconfig $(@:_config=) m68k mcf52x2 m5272c3 | 1309 | @./mkconfig $(@:_config=) m68k mcf52x2 m5272c3 |
1310 | 1310 | ||
1311 | M5282EVB_config : unconfig | 1311 | M5282EVB_config : unconfig |
1312 | @./mkconfig $(@:_config=) m68k mcf52x2 m5282evb | 1312 | @./mkconfig $(@:_config=) m68k mcf52x2 m5282evb |
1313 | 1313 | ||
1314 | TASREG_config : unconfig | 1314 | TASREG_config : unconfig |
1315 | @./mkconfig $(@:_config=) m68k mcf52x2 tasreg esd | 1315 | @./mkconfig $(@:_config=) m68k mcf52x2 tasreg esd |
1316 | 1316 | ||
1317 | r5200_config : unconfig | 1317 | r5200_config : unconfig |
1318 | @./mkconfig $(@:_config=) m68k mcf52x2 r5200 | 1318 | @./mkconfig $(@:_config=) m68k mcf52x2 r5200 |
1319 | 1319 | ||
1320 | ######################################################################### | 1320 | ######################################################################### |
1321 | ## MPC83xx Systems | 1321 | ## MPC83xx Systems |
1322 | ######################################################################### | 1322 | ######################################################################### |
1323 | 1323 | ||
1324 | MPC8349ADS_config: unconfig | 1324 | MPC8349ADS_config: unconfig |
1325 | @./mkconfig $(@:_config=) ppc mpc83xx mpc8349ads | 1325 | @./mkconfig $(@:_config=) ppc mpc83xx mpc8349ads |
1326 | 1326 | ||
1327 | TQM834x_config: unconfig | 1327 | TQM834x_config: unconfig |
1328 | @./mkconfig $(@:_config=) ppc mpc83xx tqm834x | 1328 | @./mkconfig $(@:_config=) ppc mpc83xx tqm834x |
1329 | 1329 | ||
1330 | MPC8349EMDS_config: unconfig | 1330 | MPC8349EMDS_config: unconfig |
1331 | @./mkconfig $(@:_config=) ppc mpc83xx mpc8349emds | 1331 | @./mkconfig $(@:_config=) ppc mpc83xx mpc8349emds |
1332 | 1332 | ||
1333 | ######################################################################### | 1333 | ######################################################################### |
1334 | ## MPC85xx Systems | 1334 | ## MPC85xx Systems |
1335 | ######################################################################### | 1335 | ######################################################################### |
1336 | 1336 | ||
1337 | MPC8540ADS_config: unconfig | 1337 | MPC8540ADS_config: unconfig |
1338 | @./mkconfig $(@:_config=) ppc mpc85xx mpc8540ads | 1338 | @./mkconfig $(@:_config=) ppc mpc85xx mpc8540ads |
1339 | 1339 | ||
1340 | MPC8540EVAL_config \ | 1340 | MPC8540EVAL_config \ |
1341 | MPC8540EVAL_33_config \ | 1341 | MPC8540EVAL_33_config \ |
1342 | MPC8540EVAL_66_config \ | 1342 | MPC8540EVAL_66_config \ |
1343 | MPC8540EVAL_33_slave_config \ | 1343 | MPC8540EVAL_33_slave_config \ |
1344 | MPC8540EVAL_66_slave_config: unconfig | 1344 | MPC8540EVAL_66_slave_config: unconfig |
1345 | @echo "" >include/config.h ; \ | 1345 | @echo "" >include/config.h ; \ |
1346 | if [ "$(findstring _33_,$@)" ] ; then \ | 1346 | if [ "$(findstring _33_,$@)" ] ; then \ |
1347 | echo -n "... 33 MHz PCI" ; \ | 1347 | echo -n "... 33 MHz PCI" ; \ |
1348 | else \ | 1348 | else \ |
1349 | echo "#define CONFIG_SYSCLK_66M" >>include/config.h ; \ | 1349 | echo "#define CONFIG_SYSCLK_66M" >>include/config.h ; \ |
1350 | echo -n "... 66 MHz PCI" ; \ | 1350 | echo -n "... 66 MHz PCI" ; \ |
1351 | fi ; \ | 1351 | fi ; \ |
1352 | if [ "$(findstring _slave_,$@)" ] ; then \ | 1352 | if [ "$(findstring _slave_,$@)" ] ; then \ |
1353 | echo "#define CONFIG_PCI_SLAVE" >>include/config.h ; \ | 1353 | echo "#define CONFIG_PCI_SLAVE" >>include/config.h ; \ |
1354 | echo " slave" ; \ | 1354 | echo " slave" ; \ |
1355 | else \ | 1355 | else \ |
1356 | echo " host" ; \ | 1356 | echo " host" ; \ |
1357 | fi | 1357 | fi |
1358 | @./mkconfig -a MPC8540EVAL ppc mpc85xx mpc8540eval | 1358 | @./mkconfig -a MPC8540EVAL ppc mpc85xx mpc8540eval |
1359 | 1359 | ||
1360 | MPC8560ADS_config: unconfig | 1360 | MPC8560ADS_config: unconfig |
1361 | @./mkconfig $(@:_config=) ppc mpc85xx mpc8560ads | 1361 | @./mkconfig $(@:_config=) ppc mpc85xx mpc8560ads |
1362 | 1362 | ||
1363 | MPC8541CDS_config: unconfig | 1363 | MPC8541CDS_config: unconfig |
1364 | @./mkconfig $(@:_config=) ppc mpc85xx mpc8541cds cds | 1364 | @./mkconfig $(@:_config=) ppc mpc85xx mpc8541cds cds |
1365 | 1365 | ||
1366 | MPC8548CDS_config: unconfig | 1366 | MPC8548CDS_config: unconfig |
1367 | @./mkconfig $(@:_config=) ppc mpc85xx mpc8548cds cds | 1367 | @./mkconfig $(@:_config=) ppc mpc85xx mpc8548cds cds |
1368 | 1368 | ||
1369 | MPC8555CDS_config: unconfig | 1369 | MPC8555CDS_config: unconfig |
1370 | @./mkconfig $(@:_config=) ppc mpc85xx mpc8555cds cds | 1370 | @./mkconfig $(@:_config=) ppc mpc85xx mpc8555cds cds |
1371 | 1371 | ||
1372 | PM854_config: unconfig | 1372 | PM854_config: unconfig |
1373 | @./mkconfig $(@:_config=) ppc mpc85xx pm854 | 1373 | @./mkconfig $(@:_config=) ppc mpc85xx pm854 |
1374 | 1374 | ||
1375 | PM856_config: unconfig | 1375 | PM856_config: unconfig |
1376 | @./mkconfig $(@:_config=) ppc mpc85xx pm856 | 1376 | @./mkconfig $(@:_config=) ppc mpc85xx pm856 |
1377 | 1377 | ||
1378 | sbc8540_config \ | 1378 | sbc8540_config \ |
1379 | sbc8540_33_config \ | 1379 | sbc8540_33_config \ |
1380 | sbc8540_66_config: unconfig | 1380 | sbc8540_66_config: unconfig |
1381 | @if [ "$(findstring _66_,$@)" ] ; then \ | 1381 | @if [ "$(findstring _66_,$@)" ] ; then \ |
1382 | echo "#define CONFIG_PCI_66" >>include/config.h ; \ | 1382 | echo "#define CONFIG_PCI_66" >>include/config.h ; \ |
1383 | echo "... 66 MHz PCI" ; \ | 1383 | echo "... 66 MHz PCI" ; \ |
1384 | else \ | 1384 | else \ |
1385 | >include/config.h ; \ | 1385 | >include/config.h ; \ |
1386 | echo "... 33 MHz PCI" ; \ | 1386 | echo "... 33 MHz PCI" ; \ |
1387 | fi | 1387 | fi |
1388 | @./mkconfig -a SBC8540 ppc mpc85xx sbc8560 | 1388 | @./mkconfig -a SBC8540 ppc mpc85xx sbc8560 |
1389 | 1389 | ||
1390 | sbc8560_config \ | 1390 | sbc8560_config \ |
1391 | sbc8560_33_config \ | 1391 | sbc8560_33_config \ |
1392 | sbc8560_66_config: unconfig | 1392 | sbc8560_66_config: unconfig |
1393 | @if [ "$(findstring _66_,$@)" ] ; then \ | 1393 | @if [ "$(findstring _66_,$@)" ] ; then \ |
1394 | echo "#define CONFIG_PCI_66" >>include/config.h ; \ | 1394 | echo "#define CONFIG_PCI_66" >>include/config.h ; \ |
1395 | echo "... 66 MHz PCI" ; \ | 1395 | echo "... 66 MHz PCI" ; \ |
1396 | else \ | 1396 | else \ |
1397 | >include/config.h ; \ | 1397 | >include/config.h ; \ |
1398 | echo "... 33 MHz PCI" ; \ | 1398 | echo "... 33 MHz PCI" ; \ |
1399 | fi | 1399 | fi |
1400 | @./mkconfig -a sbc8560 ppc mpc85xx sbc8560 | 1400 | @./mkconfig -a sbc8560 ppc mpc85xx sbc8560 |
1401 | 1401 | ||
1402 | stxgp3_config: unconfig | 1402 | stxgp3_config: unconfig |
1403 | @./mkconfig $(@:_config=) ppc mpc85xx stxgp3 | 1403 | @./mkconfig $(@:_config=) ppc mpc85xx stxgp3 |
1404 | 1404 | ||
1405 | TQM8540_config \ | 1405 | TQM8540_config \ |
1406 | TQM8541_config \ | 1406 | TQM8541_config \ |
1407 | TQM8555_config \ | 1407 | TQM8555_config \ |
1408 | TQM8560_config: unconfig | 1408 | TQM8560_config: unconfig |
1409 | @CTYPE=$(subst TQM,,$(@:_config=)); \ | 1409 | @CTYPE=$(subst TQM,,$(@:_config=)); \ |
1410 | >include/config.h ; \ | 1410 | >include/config.h ; \ |
1411 | echo "... TQM"$${CTYPE}; \ | 1411 | echo "... TQM"$${CTYPE}; \ |
1412 | echo "#define CONFIG_MPC$${CTYPE}">>include/config.h; \ | 1412 | echo "#define CONFIG_MPC$${CTYPE}">>include/config.h; \ |
1413 | echo "#define CONFIG_TQM$${CTYPE}">>include/config.h; \ | 1413 | echo "#define CONFIG_TQM$${CTYPE}">>include/config.h; \ |
1414 | echo "#define CONFIG_HOSTNAME tqm$${CTYPE}">>include/config.h; \ | 1414 | echo "#define CONFIG_HOSTNAME tqm$${CTYPE}">>include/config.h; \ |
1415 | echo "#define CONFIG_BOARDNAME \"TQM$${CTYPE}\"">>include/config.h; \ | 1415 | echo "#define CONFIG_BOARDNAME \"TQM$${CTYPE}\"">>include/config.h; \ |
1416 | echo "#define CFG_BOOTFILE \"bootfile=/tftpboot/tqm$${CTYPE}/uImage\0\"">>include/config.h | 1416 | echo "#define CFG_BOOTFILE \"bootfile=/tftpboot/tqm$${CTYPE}/uImage\0\"">>include/config.h |
1417 | @./mkconfig -a TQM85xx ppc mpc85xx tqm85xx | 1417 | @./mkconfig -a TQM85xx ppc mpc85xx tqm85xx |
1418 | 1418 | ||
1419 | ######################################################################### | 1419 | ######################################################################### |
1420 | ## 74xx/7xx Systems | 1420 | ## 74xx/7xx Systems |
1421 | ######################################################################### | 1421 | ######################################################################### |
1422 | 1422 | ||
1423 | AmigaOneG3SE_config: unconfig | 1423 | AmigaOneG3SE_config: unconfig |
1424 | @./mkconfig $(@:_config=) ppc 74xx_7xx AmigaOneG3SE MAI | 1424 | @./mkconfig $(@:_config=) ppc 74xx_7xx AmigaOneG3SE MAI |
1425 | 1425 | ||
1426 | BAB7xx_config: unconfig | 1426 | BAB7xx_config: unconfig |
1427 | @./mkconfig $(@:_config=) ppc 74xx_7xx bab7xx eltec | 1427 | @./mkconfig $(@:_config=) ppc 74xx_7xx bab7xx eltec |
1428 | 1428 | ||
1429 | CPCI750_config: unconfig | 1429 | CPCI750_config: unconfig |
1430 | @./mkconfig CPCI750 ppc 74xx_7xx cpci750 esd | 1430 | @./mkconfig CPCI750 ppc 74xx_7xx cpci750 esd |
1431 | 1431 | ||
1432 | DB64360_config: unconfig | 1432 | DB64360_config: unconfig |
1433 | @./mkconfig DB64360 ppc 74xx_7xx db64360 Marvell | 1433 | @./mkconfig DB64360 ppc 74xx_7xx db64360 Marvell |
1434 | 1434 | ||
1435 | DB64460_config: unconfig | 1435 | DB64460_config: unconfig |
1436 | @./mkconfig DB64460 ppc 74xx_7xx db64460 Marvell | 1436 | @./mkconfig DB64460 ppc 74xx_7xx db64460 Marvell |
1437 | 1437 | ||
1438 | ELPPC_config: unconfig | 1438 | ELPPC_config: unconfig |
1439 | @./mkconfig $(@:_config=) ppc 74xx_7xx elppc eltec | 1439 | @./mkconfig $(@:_config=) ppc 74xx_7xx elppc eltec |
1440 | 1440 | ||
1441 | EVB64260_config \ | 1441 | EVB64260_config \ |
1442 | EVB64260_750CX_config: unconfig | 1442 | EVB64260_750CX_config: unconfig |
1443 | @./mkconfig EVB64260 ppc 74xx_7xx evb64260 | 1443 | @./mkconfig EVB64260 ppc 74xx_7xx evb64260 |
1444 | 1444 | ||
1445 | P3G4_config: unconfig | 1445 | P3G4_config: unconfig |
1446 | @./mkconfig $(@:_config=) ppc 74xx_7xx evb64260 | 1446 | @./mkconfig $(@:_config=) ppc 74xx_7xx evb64260 |
1447 | 1447 | ||
1448 | PCIPPC2_config \ | 1448 | PCIPPC2_config \ |
1449 | PCIPPC6_config: unconfig | 1449 | PCIPPC6_config: unconfig |
1450 | @./mkconfig $(@:_config=) ppc 74xx_7xx pcippc2 | 1450 | @./mkconfig $(@:_config=) ppc 74xx_7xx pcippc2 |
1451 | 1451 | ||
1452 | ZUMA_config: unconfig | 1452 | ZUMA_config: unconfig |
1453 | @./mkconfig $(@:_config=) ppc 74xx_7xx evb64260 | 1453 | @./mkconfig $(@:_config=) ppc 74xx_7xx evb64260 |
1454 | 1454 | ||
1455 | ppmc7xx_config: unconfig | ||
1456 | @./mkconfig $(@:_config=) ppc 74xx_7xx ppmc7xx | ||
1457 | |||
1455 | #======================================================================== | 1458 | #======================================================================== |
1456 | # ARM | 1459 | # ARM |
1457 | #======================================================================== | 1460 | #======================================================================== |
1458 | ######################################################################### | 1461 | ######################################################################### |
1459 | ## StrongARM Systems | 1462 | ## StrongARM Systems |
1460 | ######################################################################### | 1463 | ######################################################################### |
1461 | 1464 | ||
1462 | assabet_config : unconfig | 1465 | assabet_config : unconfig |
1463 | @./mkconfig $(@:_config=) arm sa1100 assabet | 1466 | @./mkconfig $(@:_config=) arm sa1100 assabet |
1464 | 1467 | ||
1465 | dnp1110_config : unconfig | 1468 | dnp1110_config : unconfig |
1466 | @./mkconfig $(@:_config=) arm sa1100 dnp1110 | 1469 | @./mkconfig $(@:_config=) arm sa1100 dnp1110 |
1467 | 1470 | ||
1468 | gcplus_config : unconfig | 1471 | gcplus_config : unconfig |
1469 | @./mkconfig $(@:_config=) arm sa1100 gcplus | 1472 | @./mkconfig $(@:_config=) arm sa1100 gcplus |
1470 | 1473 | ||
1471 | lart_config : unconfig | 1474 | lart_config : unconfig |
1472 | @./mkconfig $(@:_config=) arm sa1100 lart | 1475 | @./mkconfig $(@:_config=) arm sa1100 lart |
1473 | 1476 | ||
1474 | shannon_config : unconfig | 1477 | shannon_config : unconfig |
1475 | @./mkconfig $(@:_config=) arm sa1100 shannon | 1478 | @./mkconfig $(@:_config=) arm sa1100 shannon |
1476 | 1479 | ||
1477 | ######################################################################### | 1480 | ######################################################################### |
1478 | ## ARM92xT Systems | 1481 | ## ARM92xT Systems |
1479 | ######################################################################### | 1482 | ######################################################################### |
1480 | 1483 | ||
1481 | xtract_trab = $(subst _bigram,,$(subst _bigflash,,$(subst _old,,$(subst _config,,$1)))) | 1484 | xtract_trab = $(subst _bigram,,$(subst _bigflash,,$(subst _old,,$(subst _config,,$1)))) |
1482 | 1485 | ||
1483 | xtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,,$(subst _cs_autoboot,,$(subst _config,,$1)))) | 1486 | xtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,,$(subst _cs_autoboot,,$(subst _config,,$1)))) |
1484 | 1487 | ||
1485 | xtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1))) | 1488 | xtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1))) |
1486 | 1489 | ||
1487 | at91rm9200dk_config : unconfig | 1490 | at91rm9200dk_config : unconfig |
1488 | @./mkconfig $(@:_config=) arm arm920t at91rm9200dk NULL at91rm9200 | 1491 | @./mkconfig $(@:_config=) arm arm920t at91rm9200dk NULL at91rm9200 |
1489 | 1492 | ||
1490 | cmc_pu2_config : unconfig | 1493 | cmc_pu2_config : unconfig |
1491 | @./mkconfig $(@:_config=) arm arm920t cmc_pu2 NULL at91rm9200 | 1494 | @./mkconfig $(@:_config=) arm arm920t cmc_pu2 NULL at91rm9200 |
1492 | 1495 | ||
1493 | csb637_config : unconfig | 1496 | csb637_config : unconfig |
1494 | @./mkconfig $(@:_config=) arm arm920t csb637 NULL at91rm9200 | 1497 | @./mkconfig $(@:_config=) arm arm920t csb637 NULL at91rm9200 |
1495 | 1498 | ||
1496 | mp2usb_config : unconfig | 1499 | mp2usb_config : unconfig |
1497 | @./mkconfig $(@:_config=) arm arm920t mp2usb NULL at91rm9200 | 1500 | @./mkconfig $(@:_config=) arm arm920t mp2usb NULL at91rm9200 |
1498 | 1501 | ||
1499 | 1502 | ||
1500 | ######################################################################## | 1503 | ######################################################################## |
1501 | ## ARM Integrator boards - see doc/README-integrator for more info. | 1504 | ## ARM Integrator boards - see doc/README-integrator for more info. |
1502 | integratorap_config \ | 1505 | integratorap_config \ |
1503 | ap_config \ | 1506 | ap_config \ |
1504 | ap966_config \ | 1507 | ap966_config \ |
1505 | ap922_config \ | 1508 | ap922_config \ |
1506 | ap922_XA10_config \ | 1509 | ap922_XA10_config \ |
1507 | ap7_config \ | 1510 | ap7_config \ |
1508 | ap720t_config \ | 1511 | ap720t_config \ |
1509 | ap920t_config \ | 1512 | ap920t_config \ |
1510 | ap926ejs_config \ | 1513 | ap926ejs_config \ |
1511 | ap946es_config: unconfig | 1514 | ap946es_config: unconfig |
1512 | @board/integratorap/split_by_variant.sh $@ | 1515 | @board/integratorap/split_by_variant.sh $@ |
1513 | 1516 | ||
1514 | integratorcp_config \ | 1517 | integratorcp_config \ |
1515 | cp_config \ | 1518 | cp_config \ |
1516 | cp920t_config \ | 1519 | cp920t_config \ |
1517 | cp926ejs_config \ | 1520 | cp926ejs_config \ |
1518 | cp946es_config \ | 1521 | cp946es_config \ |
1519 | cp1136_config \ | 1522 | cp1136_config \ |
1520 | cp966_config \ | 1523 | cp966_config \ |
1521 | cp922_config \ | 1524 | cp922_config \ |
1522 | cp922_XA10_config \ | 1525 | cp922_XA10_config \ |
1523 | cp1026_config: unconfig | 1526 | cp1026_config: unconfig |
1524 | @board/integratorcp/split_by_variant.sh $@ | 1527 | @board/integratorcp/split_by_variant.sh $@ |
1525 | 1528 | ||
1526 | kb9202_config : unconfig | 1529 | kb9202_config : unconfig |
1527 | @./mkconfig $(@:_config=) arm arm920t kb9202 NULL at91rm9200 | 1530 | @./mkconfig $(@:_config=) arm arm920t kb9202 NULL at91rm9200 |
1528 | 1531 | ||
1529 | lpd7a400_config \ | 1532 | lpd7a400_config \ |
1530 | lpd7a404_config: unconfig | 1533 | lpd7a404_config: unconfig |
1531 | @./mkconfig $(@:_config=) arm lh7a40x lpd7a40x | 1534 | @./mkconfig $(@:_config=) arm lh7a40x lpd7a40x |
1532 | 1535 | ||
1533 | mx1ads_config : unconfig | 1536 | mx1ads_config : unconfig |
1534 | @./mkconfig $(@:_config=) arm arm920t mx1ads NULL imx | 1537 | @./mkconfig $(@:_config=) arm arm920t mx1ads NULL imx |
1535 | 1538 | ||
1536 | mx1fs2_config : unconfig | 1539 | mx1fs2_config : unconfig |
1537 | @./mkconfig $(@:_config=) arm arm920t mx1fs2 NULL imx | 1540 | @./mkconfig $(@:_config=) arm arm920t mx1fs2 NULL imx |
1538 | 1541 | ||
1539 | netstar_32_config \ | 1542 | netstar_32_config \ |
1540 | netstar_config: unconfig | 1543 | netstar_config: unconfig |
1541 | @if [ "$(findstring _32_,$@)" ] ; then \ | 1544 | @if [ "$(findstring _32_,$@)" ] ; then \ |
1542 | echo "... 32MB SDRAM" ; \ | 1545 | echo "... 32MB SDRAM" ; \ |
1543 | echo "#define PHYS_SDRAM_1_SIZE SZ_32M" >>include/config.h ; \ | 1546 | echo "#define PHYS_SDRAM_1_SIZE SZ_32M" >>include/config.h ; \ |
1544 | else \ | 1547 | else \ |
1545 | echo "... 64MB SDRAM" ; \ | 1548 | echo "... 64MB SDRAM" ; \ |
1546 | echo "#define PHYS_SDRAM_1_SIZE SZ_64M" >>include/config.h ; \ | 1549 | echo "#define PHYS_SDRAM_1_SIZE SZ_64M" >>include/config.h ; \ |
1547 | fi | 1550 | fi |
1548 | @./mkconfig -a netstar arm arm925t netstar | 1551 | @./mkconfig -a netstar arm arm925t netstar |
1549 | 1552 | ||
1550 | omap1510inn_config : unconfig | 1553 | omap1510inn_config : unconfig |
1551 | @./mkconfig $(@:_config=) arm arm925t omap1510inn | 1554 | @./mkconfig $(@:_config=) arm arm925t omap1510inn |
1552 | 1555 | ||
1553 | omap5912osk_config : unconfig | 1556 | omap5912osk_config : unconfig |
1554 | @./mkconfig $(@:_config=) arm arm926ejs omap5912osk NULL omap | 1557 | @./mkconfig $(@:_config=) arm arm926ejs omap5912osk NULL omap |
1555 | 1558 | ||
1556 | omap1610inn_config \ | 1559 | omap1610inn_config \ |
1557 | omap1610inn_cs0boot_config \ | 1560 | omap1610inn_cs0boot_config \ |
1558 | omap1610inn_cs3boot_config \ | 1561 | omap1610inn_cs3boot_config \ |
1559 | omap1610inn_cs_autoboot_config \ | 1562 | omap1610inn_cs_autoboot_config \ |
1560 | omap1610h2_config \ | 1563 | omap1610h2_config \ |
1561 | omap1610h2_cs0boot_config \ | 1564 | omap1610h2_cs0boot_config \ |
1562 | omap1610h2_cs3boot_config \ | 1565 | omap1610h2_cs3boot_config \ |
1563 | omap1610h2_cs_autoboot_config: unconfig | 1566 | omap1610h2_cs_autoboot_config: unconfig |
1564 | @if [ "$(findstring _cs0boot_, $@)" ] ; then \ | 1567 | @if [ "$(findstring _cs0boot_, $@)" ] ; then \ |
1565 | echo "#define CONFIG_CS0_BOOT" >> ./include/config.h ; \ | 1568 | echo "#define CONFIG_CS0_BOOT" >> ./include/config.h ; \ |
1566 | echo "... configured for CS0 boot"; \ | 1569 | echo "... configured for CS0 boot"; \ |
1567 | elif [ "$(findstring _cs_autoboot_, $@)" ] ; then \ | 1570 | elif [ "$(findstring _cs_autoboot_, $@)" ] ; then \ |
1568 | echo "#define CONFIG_CS_AUTOBOOT" >> ./include/config.h ; \ | 1571 | echo "#define CONFIG_CS_AUTOBOOT" >> ./include/config.h ; \ |
1569 | echo "... configured for CS_AUTO boot"; \ | 1572 | echo "... configured for CS_AUTO boot"; \ |
1570 | else \ | 1573 | else \ |
1571 | echo "#define CONFIG_CS3_BOOT" >> ./include/config.h ; \ | 1574 | echo "#define CONFIG_CS3_BOOT" >> ./include/config.h ; \ |
1572 | echo "... configured for CS3 boot"; \ | 1575 | echo "... configured for CS3 boot"; \ |
1573 | fi; | 1576 | fi; |
1574 | @./mkconfig -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn NULL omap | 1577 | @./mkconfig -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn NULL omap |
1575 | 1578 | ||
1576 | omap730p2_config \ | 1579 | omap730p2_config \ |
1577 | omap730p2_cs0boot_config \ | 1580 | omap730p2_cs0boot_config \ |
1578 | omap730p2_cs3boot_config : unconfig | 1581 | omap730p2_cs3boot_config : unconfig |
1579 | @if [ "$(findstring _cs0boot_, $@)" ] ; then \ | 1582 | @if [ "$(findstring _cs0boot_, $@)" ] ; then \ |
1580 | echo "#define CONFIG_CS0_BOOT" >> ./include/config.h ; \ | 1583 | echo "#define CONFIG_CS0_BOOT" >> ./include/config.h ; \ |
1581 | echo "... configured for CS0 boot"; \ | 1584 | echo "... configured for CS0 boot"; \ |
1582 | else \ | 1585 | else \ |
1583 | echo "#define CONFIG_CS3_BOOT" >> ./include/config.h ; \ | 1586 | echo "#define CONFIG_CS3_BOOT" >> ./include/config.h ; \ |
1584 | echo "... configured for CS3 boot"; \ | 1587 | echo "... configured for CS3 boot"; \ |
1585 | fi; | 1588 | fi; |
1586 | @./mkconfig -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2 NULL omap | 1589 | @./mkconfig -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2 NULL omap |
1587 | 1590 | ||
1588 | scb9328_config : unconfig | 1591 | scb9328_config : unconfig |
1589 | @./mkconfig $(@:_config=) arm arm920t scb9328 NULL imx | 1592 | @./mkconfig $(@:_config=) arm arm920t scb9328 NULL imx |
1590 | 1593 | ||
1591 | smdk2400_config : unconfig | 1594 | smdk2400_config : unconfig |
1592 | @./mkconfig $(@:_config=) arm arm920t smdk2400 NULL s3c24x0 | 1595 | @./mkconfig $(@:_config=) arm arm920t smdk2400 NULL s3c24x0 |
1593 | 1596 | ||
1594 | smdk2410_config : unconfig | 1597 | smdk2410_config : unconfig |
1595 | @./mkconfig $(@:_config=) arm arm920t smdk2410 NULL s3c24x0 | 1598 | @./mkconfig $(@:_config=) arm arm920t smdk2410 NULL s3c24x0 |
1596 | 1599 | ||
1597 | SX1_config : unconfig | 1600 | SX1_config : unconfig |
1598 | @./mkconfig $(@:_config=) arm arm925t sx1 | 1601 | @./mkconfig $(@:_config=) arm arm925t sx1 |
1599 | 1602 | ||
1600 | # TRAB default configuration: 8 MB Flash, 32 MB RAM | 1603 | # TRAB default configuration: 8 MB Flash, 32 MB RAM |
1601 | trab_config \ | 1604 | trab_config \ |
1602 | trab_bigram_config \ | 1605 | trab_bigram_config \ |
1603 | trab_bigflash_config \ | 1606 | trab_bigflash_config \ |
1604 | trab_old_config: unconfig | 1607 | trab_old_config: unconfig |
1605 | @ >include/config.h | 1608 | @ >include/config.h |
1606 | @[ -z "$(findstring _bigram,$@)" ] || \ | 1609 | @[ -z "$(findstring _bigram,$@)" ] || \ |
1607 | { echo "#define CONFIG_FLASH_8MB" >>include/config.h ; \ | 1610 | { echo "#define CONFIG_FLASH_8MB" >>include/config.h ; \ |
1608 | echo "#define CONFIG_RAM_32MB" >>include/config.h ; \ | 1611 | echo "#define CONFIG_RAM_32MB" >>include/config.h ; \ |
1609 | echo "... with 8 MB Flash, 32 MB RAM" ; \ | 1612 | echo "... with 8 MB Flash, 32 MB RAM" ; \ |
1610 | } | 1613 | } |
1611 | @[ -z "$(findstring _bigflash,$@)" ] || \ | 1614 | @[ -z "$(findstring _bigflash,$@)" ] || \ |
1612 | { echo "#define CONFIG_FLASH_16MB" >>include/config.h ; \ | 1615 | { echo "#define CONFIG_FLASH_16MB" >>include/config.h ; \ |
1613 | echo "#define CONFIG_RAM_16MB" >>include/config.h ; \ | 1616 | echo "#define CONFIG_RAM_16MB" >>include/config.h ; \ |
1614 | echo "... with 16 MB Flash, 16 MB RAM" ; \ | 1617 | echo "... with 16 MB Flash, 16 MB RAM" ; \ |
1615 | echo "TEXT_BASE = 0x0CF40000" >board/trab/config.tmp ; \ | 1618 | echo "TEXT_BASE = 0x0CF40000" >board/trab/config.tmp ; \ |
1616 | } | 1619 | } |
1617 | @[ -z "$(findstring _old,$@)" ] || \ | 1620 | @[ -z "$(findstring _old,$@)" ] || \ |
1618 | { echo "#define CONFIG_FLASH_8MB" >>include/config.h ; \ | 1621 | { echo "#define CONFIG_FLASH_8MB" >>include/config.h ; \ |
1619 | echo "#define CONFIG_RAM_16MB" >>include/config.h ; \ | 1622 | echo "#define CONFIG_RAM_16MB" >>include/config.h ; \ |
1620 | echo "... with 8 MB Flash, 16 MB RAM" ; \ | 1623 | echo "... with 8 MB Flash, 16 MB RAM" ; \ |
1621 | echo "TEXT_BASE = 0x0CF40000" >board/trab/config.tmp ; \ | 1624 | echo "TEXT_BASE = 0x0CF40000" >board/trab/config.tmp ; \ |
1622 | } | 1625 | } |
1623 | @./mkconfig -a $(call xtract_trab,$@) arm arm920t trab NULL s3c24x0 | 1626 | @./mkconfig -a $(call xtract_trab,$@) arm arm920t trab NULL s3c24x0 |
1624 | 1627 | ||
1625 | VCMA9_config : unconfig | 1628 | VCMA9_config : unconfig |
1626 | @./mkconfig $(@:_config=) arm arm920t vcma9 mpl s3c24x0 | 1629 | @./mkconfig $(@:_config=) arm arm920t vcma9 mpl s3c24x0 |
1627 | 1630 | ||
1628 | #======================================================================== | 1631 | #======================================================================== |
1629 | # ARM supplied Versatile development boards | 1632 | # ARM supplied Versatile development boards |
1630 | #======================================================================== | 1633 | #======================================================================== |
1631 | versatile_config \ | 1634 | versatile_config \ |
1632 | versatileab_config \ | 1635 | versatileab_config \ |
1633 | versatilepb_config : unconfig | 1636 | versatilepb_config : unconfig |
1634 | @board/versatile/split_by_variant.sh $@ | 1637 | @board/versatile/split_by_variant.sh $@ |
1635 | 1638 | ||
1636 | voiceblue_smallflash_config \ | 1639 | voiceblue_smallflash_config \ |
1637 | voiceblue_config: unconfig | 1640 | voiceblue_config: unconfig |
1638 | @if [ "$(findstring _smallflash_,$@)" ] ; then \ | 1641 | @if [ "$(findstring _smallflash_,$@)" ] ; then \ |
1639 | echo "... boot from lower flash bank" ; \ | 1642 | echo "... boot from lower flash bank" ; \ |
1640 | echo "#define VOICEBLUE_SMALL_FLASH" >>include/config.h ; \ | 1643 | echo "#define VOICEBLUE_SMALL_FLASH" >>include/config.h ; \ |
1641 | echo "VOICEBLUE_SMALL_FLASH=y" >board/voiceblue/config.tmp ; \ | 1644 | echo "VOICEBLUE_SMALL_FLASH=y" >board/voiceblue/config.tmp ; \ |
1642 | else \ | 1645 | else \ |
1643 | echo "... boot from upper flash bank" ; \ | 1646 | echo "... boot from upper flash bank" ; \ |
1644 | >include/config.h ; \ | 1647 | >include/config.h ; \ |
1645 | echo "VOICEBLUE_SMALL_FLASH=n" >board/voiceblue/config.tmp ; \ | 1648 | echo "VOICEBLUE_SMALL_FLASH=n" >board/voiceblue/config.tmp ; \ |
1646 | fi | 1649 | fi |
1647 | @./mkconfig -a voiceblue arm arm925t voiceblue | 1650 | @./mkconfig -a voiceblue arm arm925t voiceblue |
1648 | 1651 | ||
1649 | cm4008_config : unconfig | 1652 | cm4008_config : unconfig |
1650 | @./mkconfig $(@:_config=) arm arm920t cm4008 NULL ks8695 | 1653 | @./mkconfig $(@:_config=) arm arm920t cm4008 NULL ks8695 |
1651 | 1654 | ||
1652 | cm41xx_config : unconfig | 1655 | cm41xx_config : unconfig |
1653 | @./mkconfig $(@:_config=) arm arm920t cm41xx NULL ks8695 | 1656 | @./mkconfig $(@:_config=) arm arm920t cm41xx NULL ks8695 |
1654 | 1657 | ||
1655 | gth2_config : unconfig | 1658 | gth2_config : unconfig |
1656 | @ >include/config.h | 1659 | @ >include/config.h |
1657 | @echo "#define CONFIG_GTH2 1" >>include/config.h | 1660 | @echo "#define CONFIG_GTH2 1" >>include/config.h |
1658 | @./mkconfig -a gth2 mips mips gth2 | 1661 | @./mkconfig -a gth2 mips mips gth2 |
1659 | 1662 | ||
1660 | ######################################################################### | 1663 | ######################################################################### |
1661 | ## S3C44B0 Systems | 1664 | ## S3C44B0 Systems |
1662 | ######################################################################### | 1665 | ######################################################################### |
1663 | 1666 | ||
1664 | B2_config : unconfig | 1667 | B2_config : unconfig |
1665 | @./mkconfig $(@:_config=) arm s3c44b0 B2 dave | 1668 | @./mkconfig $(@:_config=) arm s3c44b0 B2 dave |
1666 | 1669 | ||
1667 | ######################################################################### | 1670 | ######################################################################### |
1668 | ## ARM720T Systems | 1671 | ## ARM720T Systems |
1669 | ######################################################################### | 1672 | ######################################################################### |
1670 | 1673 | ||
1671 | armadillo_config: unconfig | 1674 | armadillo_config: unconfig |
1672 | @./mkconfig $(@:_config=) arm arm720t armadillo | 1675 | @./mkconfig $(@:_config=) arm arm720t armadillo |
1673 | 1676 | ||
1674 | ep7312_config : unconfig | 1677 | ep7312_config : unconfig |
1675 | @./mkconfig $(@:_config=) arm arm720t ep7312 | 1678 | @./mkconfig $(@:_config=) arm arm720t ep7312 |
1676 | 1679 | ||
1677 | impa7_config : unconfig | 1680 | impa7_config : unconfig |
1678 | @./mkconfig $(@:_config=) arm arm720t impa7 | 1681 | @./mkconfig $(@:_config=) arm arm720t impa7 |
1679 | 1682 | ||
1680 | modnet50_config : unconfig | 1683 | modnet50_config : unconfig |
1681 | @./mkconfig $(@:_config=) arm arm720t modnet50 | 1684 | @./mkconfig $(@:_config=) arm arm720t modnet50 |
1682 | 1685 | ||
1683 | evb4510_config : unconfig | 1686 | evb4510_config : unconfig |
1684 | @./mkconfig $(@:_config=) arm arm720t evb4510 | 1687 | @./mkconfig $(@:_config=) arm arm720t evb4510 |
1685 | 1688 | ||
1686 | ######################################################################### | 1689 | ######################################################################### |
1687 | ## XScale Systems | 1690 | ## XScale Systems |
1688 | ######################################################################### | 1691 | ######################################################################### |
1689 | 1692 | ||
1690 | adsvix_config : unconfig | 1693 | adsvix_config : unconfig |
1691 | @./mkconfig $(@:_config=) arm pxa adsvix | 1694 | @./mkconfig $(@:_config=) arm pxa adsvix |
1692 | 1695 | ||
1693 | cerf250_config : unconfig | 1696 | cerf250_config : unconfig |
1694 | @./mkconfig $(@:_config=) arm pxa cerf250 | 1697 | @./mkconfig $(@:_config=) arm pxa cerf250 |
1695 | 1698 | ||
1696 | cradle_config : unconfig | 1699 | cradle_config : unconfig |
1697 | @./mkconfig $(@:_config=) arm pxa cradle | 1700 | @./mkconfig $(@:_config=) arm pxa cradle |
1698 | 1701 | ||
1699 | csb226_config : unconfig | 1702 | csb226_config : unconfig |
1700 | @./mkconfig $(@:_config=) arm pxa csb226 | 1703 | @./mkconfig $(@:_config=) arm pxa csb226 |
1701 | 1704 | ||
1702 | delta_config : | 1705 | delta_config : |
1703 | @./mkconfig $(@:_config=) arm pxa delta | 1706 | @./mkconfig $(@:_config=) arm pxa delta |
1704 | 1707 | ||
1705 | innokom_config : unconfig | 1708 | innokom_config : unconfig |
1706 | @./mkconfig $(@:_config=) arm pxa innokom | 1709 | @./mkconfig $(@:_config=) arm pxa innokom |
1707 | 1710 | ||
1708 | ixdp425_config : unconfig | 1711 | ixdp425_config : unconfig |
1709 | @./mkconfig $(@:_config=) arm ixp ixdp425 | 1712 | @./mkconfig $(@:_config=) arm ixp ixdp425 |
1710 | 1713 | ||
1711 | ixdpg425_config : unconfig | 1714 | ixdpg425_config : unconfig |
1712 | @./mkconfig $(@:_config=) arm ixp ixdp425 | 1715 | @./mkconfig $(@:_config=) arm ixp ixdp425 |
1713 | 1716 | ||
1714 | lubbock_config : unconfig | 1717 | lubbock_config : unconfig |
1715 | @./mkconfig $(@:_config=) arm pxa lubbock | 1718 | @./mkconfig $(@:_config=) arm pxa lubbock |
1716 | 1719 | ||
1717 | logodl_config : unconfig | 1720 | logodl_config : unconfig |
1718 | @./mkconfig $(@:_config=) arm pxa logodl | 1721 | @./mkconfig $(@:_config=) arm pxa logodl |
1719 | 1722 | ||
1720 | pdnb3_config : unconfig | 1723 | pdnb3_config : unconfig |
1721 | @./mkconfig $(@:_config=) arm ixp pdnb3 prodrive | 1724 | @./mkconfig $(@:_config=) arm ixp pdnb3 prodrive |
1722 | 1725 | ||
1723 | pxa255_idp_config: unconfig | 1726 | pxa255_idp_config: unconfig |
1724 | @./mkconfig $(@:_config=) arm pxa pxa255_idp | 1727 | @./mkconfig $(@:_config=) arm pxa pxa255_idp |
1725 | 1728 | ||
1726 | wepep250_config : unconfig | 1729 | wepep250_config : unconfig |
1727 | @./mkconfig $(@:_config=) arm pxa wepep250 | 1730 | @./mkconfig $(@:_config=) arm pxa wepep250 |
1728 | 1731 | ||
1729 | xaeniax_config : unconfig | 1732 | xaeniax_config : unconfig |
1730 | @./mkconfig $(@:_config=) arm pxa xaeniax | 1733 | @./mkconfig $(@:_config=) arm pxa xaeniax |
1731 | 1734 | ||
1732 | xm250_config : unconfig | 1735 | xm250_config : unconfig |
1733 | @./mkconfig $(@:_config=) arm pxa xm250 | 1736 | @./mkconfig $(@:_config=) arm pxa xm250 |
1734 | 1737 | ||
1735 | xsengine_config : unconfig | 1738 | xsengine_config : unconfig |
1736 | @./mkconfig $(@:_config=) arm pxa xsengine | 1739 | @./mkconfig $(@:_config=) arm pxa xsengine |
1737 | 1740 | ||
1738 | zylonite_config : | 1741 | zylonite_config : |
1739 | @./mkconfig $(@:_config=) arm pxa zylonite | 1742 | @./mkconfig $(@:_config=) arm pxa zylonite |
1740 | 1743 | ||
1741 | ######################################################################### | 1744 | ######################################################################### |
1742 | ## ARM1136 Systems | 1745 | ## ARM1136 Systems |
1743 | ######################################################################### | 1746 | ######################################################################### |
1744 | omap2420h4_config : unconfig | 1747 | omap2420h4_config : unconfig |
1745 | @./mkconfig $(@:_config=) arm arm1136 omap2420h4 | 1748 | @./mkconfig $(@:_config=) arm arm1136 omap2420h4 |
1746 | 1749 | ||
1747 | #======================================================================== | 1750 | #======================================================================== |
1748 | # i386 | 1751 | # i386 |
1749 | #======================================================================== | 1752 | #======================================================================== |
1750 | ######################################################################### | 1753 | ######################################################################### |
1751 | ## AMD SC520 CDP | 1754 | ## AMD SC520 CDP |
1752 | ######################################################################### | 1755 | ######################################################################### |
1753 | sc520_cdp_config : unconfig | 1756 | sc520_cdp_config : unconfig |
1754 | @./mkconfig $(@:_config=) i386 i386 sc520_cdp | 1757 | @./mkconfig $(@:_config=) i386 i386 sc520_cdp |
1755 | 1758 | ||
1756 | sc520_spunk_config : unconfig | 1759 | sc520_spunk_config : unconfig |
1757 | @./mkconfig $(@:_config=) i386 i386 sc520_spunk | 1760 | @./mkconfig $(@:_config=) i386 i386 sc520_spunk |
1758 | 1761 | ||
1759 | sc520_spunk_rel_config : unconfig | 1762 | sc520_spunk_rel_config : unconfig |
1760 | @./mkconfig $(@:_config=) i386 i386 sc520_spunk | 1763 | @./mkconfig $(@:_config=) i386 i386 sc520_spunk |
1761 | 1764 | ||
1762 | #======================================================================== | 1765 | #======================================================================== |
1763 | # MIPS | 1766 | # MIPS |
1764 | #======================================================================== | 1767 | #======================================================================== |
1765 | ######################################################################### | 1768 | ######################################################################### |
1766 | ## MIPS32 4Kc | 1769 | ## MIPS32 4Kc |
1767 | ######################################################################### | 1770 | ######################################################################### |
1768 | 1771 | ||
1769 | xtract_incaip = $(subst _100MHz,,$(subst _133MHz,,$(subst _150MHz,,$(subst _config,,$1)))) | 1772 | xtract_incaip = $(subst _100MHz,,$(subst _133MHz,,$(subst _150MHz,,$(subst _config,,$1)))) |
1770 | 1773 | ||
1771 | incaip_100MHz_config \ | 1774 | incaip_100MHz_config \ |
1772 | incaip_133MHz_config \ | 1775 | incaip_133MHz_config \ |
1773 | incaip_150MHz_config \ | 1776 | incaip_150MHz_config \ |
1774 | incaip_config: unconfig | 1777 | incaip_config: unconfig |
1775 | @ >include/config.h | 1778 | @ >include/config.h |
1776 | @[ -z "$(findstring _100MHz,$@)" ] || \ | 1779 | @[ -z "$(findstring _100MHz,$@)" ] || \ |
1777 | { echo "#define CPU_CLOCK_RATE 100000000" >>include/config.h ; \ | 1780 | { echo "#define CPU_CLOCK_RATE 100000000" >>include/config.h ; \ |
1778 | echo "... with 100MHz system clock" ; \ | 1781 | echo "... with 100MHz system clock" ; \ |
1779 | } | 1782 | } |
1780 | @[ -z "$(findstring _133MHz,$@)" ] || \ | 1783 | @[ -z "$(findstring _133MHz,$@)" ] || \ |
1781 | { echo "#define CPU_CLOCK_RATE 133000000" >>include/config.h ; \ | 1784 | { echo "#define CPU_CLOCK_RATE 133000000" >>include/config.h ; \ |
1782 | echo "... with 133MHz system clock" ; \ | 1785 | echo "... with 133MHz system clock" ; \ |
1783 | } | 1786 | } |
1784 | @[ -z "$(findstring _150MHz,$@)" ] || \ | 1787 | @[ -z "$(findstring _150MHz,$@)" ] || \ |
1785 | { echo "#define CPU_CLOCK_RATE 150000000" >>include/config.h ; \ | 1788 | { echo "#define CPU_CLOCK_RATE 150000000" >>include/config.h ; \ |
1786 | echo "... with 150MHz system clock" ; \ | 1789 | echo "... with 150MHz system clock" ; \ |
1787 | } | 1790 | } |
1788 | @./mkconfig -a $(call xtract_incaip,$@) mips mips incaip | 1791 | @./mkconfig -a $(call xtract_incaip,$@) mips mips incaip |
1789 | 1792 | ||
1790 | tb0229_config: unconfig | 1793 | tb0229_config: unconfig |
1791 | @./mkconfig $(@:_config=) mips mips tb0229 | 1794 | @./mkconfig $(@:_config=) mips mips tb0229 |
1792 | 1795 | ||
1793 | ######################################################################### | 1796 | ######################################################################### |
1794 | ## MIPS32 AU1X00 | 1797 | ## MIPS32 AU1X00 |
1795 | ######################################################################### | 1798 | ######################################################################### |
1796 | dbau1000_config : unconfig | 1799 | dbau1000_config : unconfig |
1797 | @ >include/config.h | 1800 | @ >include/config.h |
1798 | @echo "#define CONFIG_DBAU1000 1" >>include/config.h | 1801 | @echo "#define CONFIG_DBAU1000 1" >>include/config.h |
1799 | @./mkconfig -a dbau1x00 mips mips dbau1x00 | 1802 | @./mkconfig -a dbau1x00 mips mips dbau1x00 |
1800 | 1803 | ||
1801 | dbau1100_config : unconfig | 1804 | dbau1100_config : unconfig |
1802 | @ >include/config.h | 1805 | @ >include/config.h |
1803 | @echo "#define CONFIG_DBAU1100 1" >>include/config.h | 1806 | @echo "#define CONFIG_DBAU1100 1" >>include/config.h |
1804 | @./mkconfig -a dbau1x00 mips mips dbau1x00 | 1807 | @./mkconfig -a dbau1x00 mips mips dbau1x00 |
1805 | 1808 | ||
1806 | dbau1500_config : unconfig | 1809 | dbau1500_config : unconfig |
1807 | @ >include/config.h | 1810 | @ >include/config.h |
1808 | @echo "#define CONFIG_DBAU1500 1" >>include/config.h | 1811 | @echo "#define CONFIG_DBAU1500 1" >>include/config.h |
1809 | @./mkconfig -a dbau1x00 mips mips dbau1x00 | 1812 | @./mkconfig -a dbau1x00 mips mips dbau1x00 |
1810 | 1813 | ||
1811 | dbau1550_config : unconfig | 1814 | dbau1550_config : unconfig |
1812 | @ >include/config.h | 1815 | @ >include/config.h |
1813 | @echo "#define CONFIG_DBAU1550 1" >>include/config.h | 1816 | @echo "#define CONFIG_DBAU1550 1" >>include/config.h |
1814 | @./mkconfig -a dbau1x00 mips mips dbau1x00 | 1817 | @./mkconfig -a dbau1x00 mips mips dbau1x00 |
1815 | 1818 | ||
1816 | dbau1550_el_config : unconfig | 1819 | dbau1550_el_config : unconfig |
1817 | @ >include/config.h | 1820 | @ >include/config.h |
1818 | @echo "#define CONFIG_DBAU1550 1" >>include/config.h | 1821 | @echo "#define CONFIG_DBAU1550 1" >>include/config.h |
1819 | @./mkconfig -a dbau1x00 mips mips dbau1x00 | 1822 | @./mkconfig -a dbau1x00 mips mips dbau1x00 |
1820 | 1823 | ||
1821 | pb1000_config : unconfig | 1824 | pb1000_config : unconfig |
1822 | @ >include/config.h | 1825 | @ >include/config.h |
1823 | @echo "#define CONFIG_PB1000 1" >>include/config.h | 1826 | @echo "#define CONFIG_PB1000 1" >>include/config.h |
1824 | @./mkconfig -a pb1x00 mips mips pb1x00 | 1827 | @./mkconfig -a pb1x00 mips mips pb1x00 |
1825 | 1828 | ||
1826 | ######################################################################### | 1829 | ######################################################################### |
1827 | ## MIPS64 5Kc | 1830 | ## MIPS64 5Kc |
1828 | ######################################################################### | 1831 | ######################################################################### |
1829 | 1832 | ||
1830 | purple_config : unconfig | 1833 | purple_config : unconfig |
1831 | @./mkconfig $(@:_config=) mips mips purple | 1834 | @./mkconfig $(@:_config=) mips mips purple |
1832 | 1835 | ||
1833 | #======================================================================== | 1836 | #======================================================================== |
1834 | # Nios | 1837 | # Nios |
1835 | #======================================================================== | 1838 | #======================================================================== |
1836 | ######################################################################### | 1839 | ######################################################################### |
1837 | ## Nios32 | 1840 | ## Nios32 |
1838 | ######################################################################### | 1841 | ######################################################################### |
1839 | 1842 | ||
1840 | DK1C20_safe_32_config \ | 1843 | DK1C20_safe_32_config \ |
1841 | DK1C20_standard_32_config \ | 1844 | DK1C20_standard_32_config \ |
1842 | DK1C20_config: unconfig | 1845 | DK1C20_config: unconfig |
1843 | @ >include/config.h | 1846 | @ >include/config.h |
1844 | @[ -z "$(findstring _safe_32,$@)" ] || \ | 1847 | @[ -z "$(findstring _safe_32,$@)" ] || \ |
1845 | { echo "#define CONFIG_NIOS_SAFE_32 1" >>include/config.h ; \ | 1848 | { echo "#define CONFIG_NIOS_SAFE_32 1" >>include/config.h ; \ |
1846 | echo "... NIOS 'safe_32' configuration" ; \ | 1849 | echo "... NIOS 'safe_32' configuration" ; \ |
1847 | } | 1850 | } |
1848 | @[ -z "$(findstring _standard_32,$@)" ] || \ | 1851 | @[ -z "$(findstring _standard_32,$@)" ] || \ |
1849 | { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ | 1852 | { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ |
1850 | echo "... NIOS 'standard_32' configuration" ; \ | 1853 | echo "... NIOS 'standard_32' configuration" ; \ |
1851 | } | 1854 | } |
1852 | @[ -z "$(findstring DK1C20_config,$@)" ] || \ | 1855 | @[ -z "$(findstring DK1C20_config,$@)" ] || \ |
1853 | { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ | 1856 | { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ |
1854 | echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \ | 1857 | echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \ |
1855 | } | 1858 | } |
1856 | @./mkconfig -a DK1C20 nios nios dk1c20 altera | 1859 | @./mkconfig -a DK1C20 nios nios dk1c20 altera |
1857 | 1860 | ||
1858 | DK1S10_safe_32_config \ | 1861 | DK1S10_safe_32_config \ |
1859 | DK1S10_standard_32_config \ | 1862 | DK1S10_standard_32_config \ |
1860 | DK1S10_mtx_ldk_20_config \ | 1863 | DK1S10_mtx_ldk_20_config \ |
1861 | DK1S10_config: unconfig | 1864 | DK1S10_config: unconfig |
1862 | @ >include/config.h | 1865 | @ >include/config.h |
1863 | @[ -z "$(findstring _safe_32,$@)" ] || \ | 1866 | @[ -z "$(findstring _safe_32,$@)" ] || \ |
1864 | { echo "#define CONFIG_NIOS_SAFE_32 1" >>include/config.h ; \ | 1867 | { echo "#define CONFIG_NIOS_SAFE_32 1" >>include/config.h ; \ |
1865 | echo "... NIOS 'safe_32' configuration" ; \ | 1868 | echo "... NIOS 'safe_32' configuration" ; \ |
1866 | } | 1869 | } |
1867 | @[ -z "$(findstring _standard_32,$@)" ] || \ | 1870 | @[ -z "$(findstring _standard_32,$@)" ] || \ |
1868 | { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ | 1871 | { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ |
1869 | echo "... NIOS 'standard_32' configuration" ; \ | 1872 | echo "... NIOS 'standard_32' configuration" ; \ |
1870 | } | 1873 | } |
1871 | @[ -z "$(findstring _mtx_ldk_20,$@)" ] || \ | 1874 | @[ -z "$(findstring _mtx_ldk_20,$@)" ] || \ |
1872 | { echo "#define CONFIG_NIOS_MTX_LDK_20 1" >>include/config.h ; \ | 1875 | { echo "#define CONFIG_NIOS_MTX_LDK_20 1" >>include/config.h ; \ |
1873 | echo "... NIOS 'mtx_ldk_20' configuration" ; \ | 1876 | echo "... NIOS 'mtx_ldk_20' configuration" ; \ |
1874 | } | 1877 | } |
1875 | @[ -z "$(findstring DK1S10_config,$@)" ] || \ | 1878 | @[ -z "$(findstring DK1S10_config,$@)" ] || \ |
1876 | { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ | 1879 | { echo "#define CONFIG_NIOS_STANDARD_32 1" >>include/config.h ; \ |
1877 | echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \ | 1880 | echo "... NIOS 'standard_32' configuration (DEFAULT)" ; \ |
1878 | } | 1881 | } |
1879 | @./mkconfig -a DK1S10 nios nios dk1s10 altera | 1882 | @./mkconfig -a DK1S10 nios nios dk1s10 altera |
1880 | 1883 | ||
1881 | ADNPESC1_DNPEVA2_base_32_config \ | 1884 | ADNPESC1_DNPEVA2_base_32_config \ |
1882 | ADNPESC1_base_32_config \ | 1885 | ADNPESC1_base_32_config \ |
1883 | ADNPESC1_config: unconfig | 1886 | ADNPESC1_config: unconfig |
1884 | @ >include/config.h | 1887 | @ >include/config.h |
1885 | @[ -z "$(findstring _DNPEVA2,$@)" ] || \ | 1888 | @[ -z "$(findstring _DNPEVA2,$@)" ] || \ |
1886 | { echo "#define CONFIG_DNPEVA2 1" >>include/config.h ; \ | 1889 | { echo "#define CONFIG_DNPEVA2 1" >>include/config.h ; \ |
1887 | echo "... DNP/EVA2 configuration" ; \ | 1890 | echo "... DNP/EVA2 configuration" ; \ |
1888 | } | 1891 | } |
1889 | @[ -z "$(findstring _base_32,$@)" ] || \ | 1892 | @[ -z "$(findstring _base_32,$@)" ] || \ |
1890 | { echo "#define CONFIG_NIOS_BASE_32 1" >>include/config.h ; \ | 1893 | { echo "#define CONFIG_NIOS_BASE_32 1" >>include/config.h ; \ |
1891 | echo "... NIOS 'base_32' configuration" ; \ | 1894 | echo "... NIOS 'base_32' configuration" ; \ |
1892 | } | 1895 | } |
1893 | @[ -z "$(findstring ADNPESC1_config,$@)" ] || \ | 1896 | @[ -z "$(findstring ADNPESC1_config,$@)" ] || \ |
1894 | { echo "#define CONFIG_NIOS_BASE_32 1" >>include/config.h ; \ | 1897 | { echo "#define CONFIG_NIOS_BASE_32 1" >>include/config.h ; \ |
1895 | echo "... NIOS 'base_32' configuration (DEFAULT)" ; \ | 1898 | echo "... NIOS 'base_32' configuration (DEFAULT)" ; \ |
1896 | } | 1899 | } |
1897 | @./mkconfig -a ADNPESC1 nios nios adnpesc1 ssv | 1900 | @./mkconfig -a ADNPESC1 nios nios adnpesc1 ssv |
1898 | 1901 | ||
1899 | ######################################################################### | 1902 | ######################################################################### |
1900 | ## Nios-II | 1903 | ## Nios-II |
1901 | ######################################################################### | 1904 | ######################################################################### |
1902 | 1905 | ||
1903 | EP1C20_config : unconfig | 1906 | EP1C20_config : unconfig |
1904 | @./mkconfig EP1C20 nios2 nios2 ep1c20 altera | 1907 | @./mkconfig EP1C20 nios2 nios2 ep1c20 altera |
1905 | 1908 | ||
1906 | EP1S10_config : unconfig | 1909 | EP1S10_config : unconfig |
1907 | @./mkconfig EP1S10 nios2 nios2 ep1s10 altera | 1910 | @./mkconfig EP1S10 nios2 nios2 ep1s10 altera |
1908 | 1911 | ||
1909 | EP1S40_config : unconfig | 1912 | EP1S40_config : unconfig |
1910 | @./mkconfig EP1S40 nios2 nios2 ep1s40 altera | 1913 | @./mkconfig EP1S40 nios2 nios2 ep1s40 altera |
1911 | 1914 | ||
1912 | PK1C20_config : unconfig | 1915 | PK1C20_config : unconfig |
1913 | @./mkconfig PK1C20 nios2 nios2 pk1c20 psyent | 1916 | @./mkconfig PK1C20 nios2 nios2 pk1c20 psyent |
1914 | 1917 | ||
1915 | PCI5441_config : unconfig | 1918 | PCI5441_config : unconfig |
1916 | @./mkconfig PCI5441 nios2 nios2 pci5441 psyent | 1919 | @./mkconfig PCI5441 nios2 nios2 pci5441 psyent |
1917 | 1920 | ||
1918 | #======================================================================== | 1921 | #======================================================================== |
1919 | # MicroBlaze | 1922 | # MicroBlaze |
1920 | #======================================================================== | 1923 | #======================================================================== |
1921 | ######################################################################### | 1924 | ######################################################################### |
1922 | ## Microblaze | 1925 | ## Microblaze |
1923 | ######################################################################### | 1926 | ######################################################################### |
1924 | suzaku_config: unconfig | 1927 | suzaku_config: unconfig |
1925 | @ >include/config.h | 1928 | @ >include/config.h |
1926 | @echo "#define CONFIG_SUZAKU 1" >> include/config.h | 1929 | @echo "#define CONFIG_SUZAKU 1" >> include/config.h |
1927 | @./mkconfig -a $(@:_config=) microblaze microblaze suzaku AtmarkTechno | 1930 | @./mkconfig -a $(@:_config=) microblaze microblaze suzaku AtmarkTechno |
1928 | 1931 | ||
1929 | ######################################################################### | 1932 | ######################################################################### |
1930 | ## Blackfin | 1933 | ## Blackfin |
1931 | ######################################################################### | 1934 | ######################################################################### |
1932 | ezkit533_config : unconfig | 1935 | ezkit533_config : unconfig |
1933 | @./mkconfig $(@:_config=) blackfin bf533 ezkit533 | 1936 | @./mkconfig $(@:_config=) blackfin bf533 ezkit533 |
1934 | 1937 | ||
1935 | stamp_config : unconfig | 1938 | stamp_config : unconfig |
1936 | @./mkconfig $(@:_config=) blackfin bf533 stamp | 1939 | @./mkconfig $(@:_config=) blackfin bf533 stamp |
1937 | 1940 | ||
1938 | dspstamp_config : unconfig | 1941 | dspstamp_config : unconfig |
1939 | @./mkconfig $(@:_config=) blackfin bf533 dsp_stamp | 1942 | @./mkconfig $(@:_config=) blackfin bf533 dsp_stamp |
1940 | 1943 | ||
1941 | ######################################################################### | 1944 | ######################################################################### |
1942 | ######################################################################### | 1945 | ######################################################################### |
1943 | ######################################################################### | 1946 | ######################################################################### |
1944 | 1947 | ||
1945 | clean: | 1948 | clean: |
1946 | find . -type f \ | 1949 | find . -type f \ |
1947 | \( -name 'core' -o -name '*.bak' -o -name '*~' \ | 1950 | \( -name 'core' -o -name '*.bak' -o -name '*~' \ |
1948 | -o -name '*.o' -o -name '*.a' \) -print \ | 1951 | -o -name '*.o' -o -name '*.a' \) -print \ |
1949 | | xargs rm -f | 1952 | | xargs rm -f |
1950 | rm -f examples/hello_world examples/timer \ | 1953 | rm -f examples/hello_world examples/timer \ |
1951 | examples/eepro100_eeprom examples/sched \ | 1954 | examples/eepro100_eeprom examples/sched \ |
1952 | examples/mem_to_mem_idma2intr examples/82559_eeprom \ | 1955 | examples/mem_to_mem_idma2intr examples/82559_eeprom \ |
1953 | examples/smc91111_eeprom \ | 1956 | examples/smc91111_eeprom \ |
1954 | examples/test_burst | 1957 | examples/test_burst |
1955 | rm -f tools/img2srec tools/mkimage tools/envcrc tools/gen_eth_addr | 1958 | rm -f tools/img2srec tools/mkimage tools/envcrc tools/gen_eth_addr |
1956 | rm -f tools/mpc86x_clk tools/ncb | 1959 | rm -f tools/mpc86x_clk tools/ncb |
1957 | rm -f tools/easylogo/easylogo tools/bmp_logo | 1960 | rm -f tools/easylogo/easylogo tools/bmp_logo |
1958 | rm -f tools/gdb/astest tools/gdb/gdbcont tools/gdb/gdbsend | 1961 | rm -f tools/gdb/astest tools/gdb/gdbcont tools/gdb/gdbsend |
1959 | rm -f tools/env/fw_printenv tools/env/fw_setenv | 1962 | rm -f tools/env/fw_printenv tools/env/fw_setenv |
1960 | rm -f board/cray/L1/bootscript.c board/cray/L1/bootscript.image | 1963 | rm -f board/cray/L1/bootscript.c board/cray/L1/bootscript.image |
1961 | rm -f board/netstar/eeprom board/netstar/crcek | 1964 | rm -f board/netstar/eeprom board/netstar/crcek |
1962 | rm -f board/netstar/*.srec board/netstar/*.bin | 1965 | rm -f board/netstar/*.srec board/netstar/*.bin |
1963 | rm -f board/trab/trab_fkt board/voiceblue/eeprom | 1966 | rm -f board/trab/trab_fkt board/voiceblue/eeprom |
1964 | rm -f board/integratorap/u-boot.lds board/integratorcp/u-boot.lds | 1967 | rm -f board/integratorap/u-boot.lds board/integratorcp/u-boot.lds |
1965 | 1968 | ||
1966 | clobber: clean | 1969 | clobber: clean |
1967 | find . -type f \( -name .depend \ | 1970 | find . -type f \( -name .depend \ |
1968 | -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \ | 1971 | -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \ |
1969 | -print0 \ | 1972 | -print0 \ |
1970 | | xargs -0 rm -f | 1973 | | xargs -0 rm -f |
1971 | rm -f $(OBJS) *.bak tags TAGS include/version_autogenerated.h | 1974 | rm -f $(OBJS) *.bak tags TAGS include/version_autogenerated.h |
1972 | rm -fr *.*~ | 1975 | rm -fr *.*~ |
1973 | rm -f u-boot u-boot.map u-boot.hex $(ALL) | 1976 | rm -f u-boot u-boot.map u-boot.hex $(ALL) |
1974 | rm -f tools/crc32.c tools/environment.c tools/env/crc32.c | 1977 | rm -f tools/crc32.c tools/environment.c tools/env/crc32.c |
1975 | rm -f tools/inca-swap-bytes cpu/mpc824x/bedbug_603e.c | 1978 | rm -f tools/inca-swap-bytes cpu/mpc824x/bedbug_603e.c |
1976 | rm -f include/asm/proc include/asm/arch include/asm | 1979 | rm -f include/asm/proc include/asm/arch include/asm |
1977 | 1980 | ||
1978 | mrproper \ | 1981 | mrproper \ |
1979 | distclean: clobber unconfig | 1982 | distclean: clobber unconfig |
1980 | 1983 | ||
1981 | backup: | 1984 | backup: |
1982 | F=`basename $(TOPDIR)` ; cd .. ; \ | 1985 | F=`basename $(TOPDIR)` ; cd .. ; \ |
1983 | gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F | 1986 | gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F |
1984 | 1987 | ||
1985 | ######################################################################### | 1988 | ######################################################################### |
1986 | 1989 |
board/ppmc7xx/Makefile
File was created | 1 | # | |
2 | # (C) Copyright 2000 | ||
3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. | ||
4 | # | ||
5 | # See file CREDITS for list of people who contributed to this | ||
6 | # project. | ||
7 | # | ||
8 | # This program is free software; you can redistribute it and/or | ||
9 | # modify it under the terms of the GNU General Public License as | ||
10 | # published by the Free Software Foundation; either version 2 of | ||
11 | # the License, or (at your option) any later version. | ||
12 | # | ||
13 | # This program is distributed in the hope that it will be useful, | ||
14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
16 | # GNU General Public License for more details. | ||
17 | # | ||
18 | # You should have received a copy of the GNU General Public License | ||
19 | # along with this program; if not, write to the Free Software | ||
20 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, | ||
21 | # MA 02111-1307 USA | ||
22 | # | ||
23 | |||
24 | include $(TOPDIR)/config.mk | ||
25 | |||
26 | LIB = lib$(BOARD).a | ||
27 | |||
28 | OBJS := ppmc7xx.o pci.o flash.o | ||
29 | SOBJS := init.o | ||
30 | |||
31 | $(LIB): .depend $(OBJS) $(SOBJS) | ||
32 | $(AR) crv $@ $(OBJS) $(SOBJS) | ||
33 | |||
34 | clean: | ||
35 | rm -f $(SOBJS) $(OBJS) | ||
36 | |||
37 | distclean: clean | ||
38 | rm -f $(LIB) core *.bak .depend | ||
39 | |||
40 | ######################################################################### | ||
41 | |||
42 | .depend: Makefile $(SOBJS:.o=.S) $(OBJS:.o=.c) | ||
43 | $(CC) -M $(CPPFLAGS) $(SOBJS:.o=.S) $(OBJS:.o=.c) > $@ | ||
44 | |||
45 | -include .depend | ||
46 | |||
47 | ######################################################################### | ||
48 |
board/ppmc7xx/config.mk
File was created | 1 | # | |
2 | # (C) Copyright 2005 | ||
3 | # Richard Danter, Wind River Systems | ||
4 | # | ||
5 | # (C) Copyright 2000 | ||
6 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. | ||
7 | # | ||
8 | # See file CREDITS for list of people who contributed to this | ||
9 | # project. | ||
10 | # | ||
11 | # This program is free software; you can redistribute it and/or | ||
12 | # modify it under the terms of the GNU General Public License as | ||
13 | # published by the Free Software Foundation; either version 2 of | ||
14 | # the License, or (at your option) any later version. | ||
15 | # | ||
16 | # This program is distributed in the hope that it will be useful, | ||
17 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
18 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
19 | # GNU General Public License for more details. | ||
20 | # | ||
21 | # You should have received a copy of the GNU General Public License | ||
22 | # along with this program; if not, write to the Free Software | ||
23 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, | ||
24 | # MA 02111-1307 USA | ||
25 | # | ||
26 | |||
27 | # | ||
28 | # | ||
29 | # | ||
30 | |||
31 | TEXT_BASE = 0xFFF00000 | ||
32 | TEXT_END = 0xFFF40000 | ||
33 | PLATFORM_CPPFLAGS += -DTEXT_BASE=$(TEXT_BASE) | ||
34 |
board/ppmc7xx/flash.c
File was created | 1 | /* | |
2 | * flash.c | ||
3 | * ------- | ||
4 | * | ||
5 | * Flash programming routines for the Wind River PPMC 74xx/7xx | ||
6 | * based on flash.c from the TQM8260 board. | ||
7 | * | ||
8 | * By Richard Danter (richard.danter@windriver.com) | ||
9 | * Copyright (C) 2005 Wind River Systems | ||
10 | */ | ||
11 | |||
12 | #include <common.h> | ||
13 | #include <asm/processor.h> | ||
14 | #include <74xx_7xx.h> | ||
15 | |||
16 | #define DWORD unsigned long long | ||
17 | |||
18 | /* Local function prototypes */ | ||
19 | static int write_dword (flash_info_t* info, ulong dest, unsigned char *pdata); | ||
20 | static void write_via_fpu (volatile DWORD* addr, DWORD* data); | ||
21 | |||
22 | flash_info_t flash_info[CFG_MAX_FLASH_BANKS]; | ||
23 | |||
24 | /*----------------------------------------------------------------------- | ||
25 | */ | ||
26 | void flash_reset (void) | ||
27 | { | ||
28 | unsigned long msr; | ||
29 | DWORD cmd_reset = 0x00F000F000F000F0LL; | ||
30 | |||
31 | if (flash_info[0].flash_id != FLASH_UNKNOWN) { | ||
32 | msr = get_msr (); | ||
33 | set_msr (msr | MSR_FP); | ||
34 | |||
35 | write_via_fpu ((DWORD*)flash_info[0].start[0], &cmd_reset ); | ||
36 | |||
37 | set_msr (msr); | ||
38 | } | ||
39 | } | ||
40 | |||
41 | /*----------------------------------------------------------------------- | ||
42 | */ | ||
43 | ulong flash_get_size (ulong baseaddr, flash_info_t * info) | ||
44 | { | ||
45 | int i; | ||
46 | unsigned long msr; | ||
47 | DWORD flashtest; | ||
48 | DWORD cmd_select[3] = { 0x00AA00AA00AA00AALL, 0x0055005500550055LL, | ||
49 | 0x0090009000900090LL }; | ||
50 | |||
51 | /* Enable FPU */ | ||
52 | msr = get_msr (); | ||
53 | set_msr (msr | MSR_FP); | ||
54 | |||
55 | /* Write auto-select command sequence */ | ||
56 | write_via_fpu ((DWORD*)(baseaddr + (0x0555 << 3)), &cmd_select[0] ); | ||
57 | write_via_fpu ((DWORD*)(baseaddr + (0x02AA << 3)), &cmd_select[1] ); | ||
58 | write_via_fpu ((DWORD*)(baseaddr + (0x0555 << 3)), &cmd_select[2] ); | ||
59 | |||
60 | /* Restore FPU */ | ||
61 | set_msr (msr); | ||
62 | |||
63 | /* Read manufacturer ID */ | ||
64 | flashtest = *(volatile DWORD*)baseaddr; | ||
65 | switch ((int)flashtest) { | ||
66 | case AMD_MANUFACT: | ||
67 | info->flash_id = FLASH_MAN_AMD; | ||
68 | break; | ||
69 | case FUJ_MANUFACT: | ||
70 | info->flash_id = FLASH_MAN_FUJ; | ||
71 | break; | ||
72 | default: | ||
73 | /* No, faulty or unknown flash */ | ||
74 | info->flash_id = FLASH_UNKNOWN; | ||
75 | info->sector_count = 0; | ||
76 | info->size = 0; | ||
77 | return (0); | ||
78 | } | ||
79 | |||
80 | /* Read device ID */ | ||
81 | flashtest = *(volatile DWORD*)(baseaddr + 8); | ||
82 | switch ((long)flashtest) { | ||
83 | case AMD_ID_LV800T: | ||
84 | info->flash_id += FLASH_AM800T; | ||
85 | info->sector_count = 19; | ||
86 | info->size = 0x00400000; | ||
87 | break; | ||
88 | case AMD_ID_LV800B: | ||
89 | info->flash_id += FLASH_AM800B; | ||
90 | info->sector_count = 19; | ||
91 | info->size = 0x00400000; | ||
92 | break; | ||
93 | case AMD_ID_LV160T: | ||
94 | info->flash_id += FLASH_AM160T; | ||
95 | info->sector_count = 35; | ||
96 | info->size = 0x00800000; | ||
97 | break; | ||
98 | case AMD_ID_LV160B: | ||
99 | info->flash_id += FLASH_AM160B; | ||
100 | info->sector_count = 35; | ||
101 | info->size = 0x00800000; | ||
102 | break; | ||
103 | case AMD_ID_DL322T: | ||
104 | info->flash_id += FLASH_AMDL322T; | ||
105 | info->sector_count = 71; | ||
106 | info->size = 0x01000000; | ||
107 | break; | ||
108 | case AMD_ID_DL322B: | ||
109 | info->flash_id += FLASH_AMDL322B; | ||
110 | info->sector_count = 71; | ||
111 | info->size = 0x01000000; | ||
112 | break; | ||
113 | case AMD_ID_DL323T: | ||
114 | info->flash_id += FLASH_AMDL323T; | ||
115 | info->sector_count = 71; | ||
116 | info->size = 0x01000000; | ||
117 | break; | ||
118 | case AMD_ID_DL323B: | ||
119 | info->flash_id += FLASH_AMDL323B; | ||
120 | info->sector_count = 71; | ||
121 | info->size = 0x01000000; | ||
122 | break; | ||
123 | case AMD_ID_LV640U: | ||
124 | info->flash_id += FLASH_AM640U; | ||
125 | info->sector_count = 128; | ||
126 | info->size = 0x02000000; | ||
127 | break; | ||
128 | default: | ||
129 | /* Unknown flash type */ | ||
130 | info->flash_id = FLASH_UNKNOWN; | ||
131 | return (0); | ||
132 | } | ||
133 | |||
134 | if ((long)flashtest == AMD_ID_LV640U) { | ||
135 | /* set up sector start adress table (uniform sector type) */ | ||
136 | for (i = 0; i < info->sector_count; i++) | ||
137 | info->start[i] = baseaddr + (i * 0x00040000); | ||
138 | } else if (info->flash_id & FLASH_BTYPE) { | ||
139 | /* set up sector start adress table (bottom sector type) */ | ||
140 | info->start[0] = baseaddr + 0x00000000; | ||
141 | info->start[1] = baseaddr + 0x00010000; | ||
142 | info->start[2] = baseaddr + 0x00018000; | ||
143 | info->start[3] = baseaddr + 0x00020000; | ||
144 | for (i = 4; i < info->sector_count; i++) { | ||
145 | info->start[i] = baseaddr + (i * 0x00040000) - 0x000C0000; | ||
146 | } | ||
147 | } else { | ||
148 | /* set up sector start adress table (top sector type) */ | ||
149 | i = info->sector_count - 1; | ||
150 | info->start[i--] = baseaddr + info->size - 0x00010000; | ||
151 | info->start[i--] = baseaddr + info->size - 0x00018000; | ||
152 | info->start[i--] = baseaddr + info->size - 0x00020000; | ||
153 | for (; i >= 0; i--) { | ||
154 | info->start[i] = baseaddr + i * 0x00040000; | ||
155 | } | ||
156 | } | ||
157 | |||
158 | /* check for protected sectors */ | ||
159 | for (i = 0; i < info->sector_count; i++) { | ||
160 | /* read sector protection at sector address, (A7 .. A0) = 0x02 */ | ||
161 | if (*(volatile DWORD*)(info->start[i] + 16) & 0x0001000100010001LL) { | ||
162 | info->protect[i] = 1; /* D0 = 1 if protected */ | ||
163 | } else { | ||
164 | info->protect[i] = 0; | ||
165 | } | ||
166 | } | ||
167 | |||
168 | flash_reset (); | ||
169 | return (info->size); | ||
170 | } | ||
171 | |||
172 | /*----------------------------------------------------------------------- | ||
173 | */ | ||
174 | unsigned long flash_init (void) | ||
175 | { | ||
176 | unsigned long size_b0 = 0; | ||
177 | int i; | ||
178 | |||
179 | /* Init: no FLASHes known */ | ||
180 | for (i = 0; i < CFG_MAX_FLASH_BANKS; ++i) { | ||
181 | flash_info[i].flash_id = FLASH_UNKNOWN; | ||
182 | } | ||
183 | |||
184 | /* Static FLASH Bank configuration here (only one bank) */ | ||
185 | size_b0 = flash_get_size (CFG_FLASH_BASE, &flash_info[0]); | ||
186 | if (flash_info[0].flash_id == FLASH_UNKNOWN || size_b0 == 0) { | ||
187 | printf ("## Unknown FLASH on Bank 0 - Size = 0x%08lx = %ld MB\n", | ||
188 | size_b0, size_b0 >> 20); | ||
189 | } | ||
190 | |||
191 | /* | ||
192 | * protect monitor and environment sectors | ||
193 | */ | ||
194 | #if CFG_MONITOR_BASE >= CFG_FLASH_BASE | ||
195 | flash_protect (FLAG_PROTECT_SET, | ||
196 | CFG_MONITOR_BASE, | ||
197 | CFG_MONITOR_BASE + monitor_flash_len - 1, &flash_info[0]); | ||
198 | #endif | ||
199 | |||
200 | #if (CFG_ENV_IS_IN_FLASH == 1) && defined(CFG_ENV_ADDR) | ||
201 | # ifndef CFG_ENV_SIZE | ||
202 | # define CFG_ENV_SIZE CFG_ENV_SECT_SIZE | ||
203 | # endif | ||
204 | flash_protect (FLAG_PROTECT_SET, | ||
205 | CFG_ENV_ADDR, | ||
206 | CFG_ENV_ADDR + CFG_ENV_SIZE - 1, &flash_info[0]); | ||
207 | #endif | ||
208 | |||
209 | return (size_b0); | ||
210 | } | ||
211 | |||
212 | /*----------------------------------------------------------------------- | ||
213 | */ | ||
214 | void flash_print_info (flash_info_t * info) | ||
215 | { | ||
216 | int i; | ||
217 | |||
218 | if (info->flash_id == FLASH_UNKNOWN) { | ||
219 | printf ("missing or unknown FLASH type\n"); | ||
220 | return; | ||
221 | } | ||
222 | |||
223 | switch (info->flash_id & FLASH_VENDMASK) { | ||
224 | case FLASH_MAN_AMD: | ||
225 | printf ("AMD "); | ||
226 | break; | ||
227 | case FLASH_MAN_FUJ: | ||
228 | printf ("FUJITSU "); | ||
229 | break; | ||
230 | default: | ||
231 | printf ("Unknown Vendor "); | ||
232 | break; | ||
233 | } | ||
234 | |||
235 | switch (info->flash_id & FLASH_TYPEMASK) { | ||
236 | case FLASH_AM800T: | ||
237 | printf ("29LV800T (8 M, top sector)\n"); | ||
238 | break; | ||
239 | case FLASH_AM800B: | ||
240 | printf ("29LV800T (8 M, bottom sector)\n"); | ||
241 | break; | ||
242 | case FLASH_AM160T: | ||
243 | printf ("29LV160T (16 M, top sector)\n"); | ||
244 | break; | ||
245 | case FLASH_AM160B: | ||
246 | printf ("29LV160B (16 M, bottom sector)\n"); | ||
247 | break; | ||
248 | case FLASH_AMDL322T: | ||
249 | printf ("29DL322T (32 M, top sector)\n"); | ||
250 | break; | ||
251 | case FLASH_AMDL322B: | ||
252 | printf ("29DL322B (32 M, bottom sector)\n"); | ||
253 | break; | ||
254 | case FLASH_AMDL323T: | ||
255 | printf ("29DL323T (32 M, top sector)\n"); | ||
256 | break; | ||
257 | case FLASH_AMDL323B: | ||
258 | printf ("29DL323B (32 M, bottom sector)\n"); | ||
259 | break; | ||
260 | case FLASH_AM640U: | ||
261 | printf ("29LV640D (64 M, uniform sector)\n"); | ||
262 | break; | ||
263 | default: | ||
264 | printf ("Unknown Chip Type\n"); | ||
265 | break; | ||
266 | } | ||
267 | |||
268 | printf (" Size: %ld MB in %d Sectors\n", | ||
269 | info->size >> 20, info->sector_count); | ||
270 | |||
271 | printf (" Sector Start Addresses:"); | ||
272 | for (i = 0; i < info->sector_count; ++i) { | ||
273 | if ((i % 5) == 0) | ||
274 | printf ("\n "); | ||
275 | printf (" %08lX%s", | ||
276 | info->start[i], | ||
277 | info->protect[i] ? " (RO)" : " " | ||
278 | ); | ||
279 | } | ||
280 | printf ("\n"); | ||
281 | return; | ||
282 | } | ||
283 | |||
284 | /*----------------------------------------------------------------------- | ||
285 | */ | ||
286 | int flash_erase (flash_info_t * info, int s_first, int s_last) | ||
287 | { | ||
288 | int flag, prot, sect, l_sect; | ||
289 | ulong start, now, last; | ||
290 | unsigned long msr; | ||
291 | DWORD cmd_erase[6] = { 0x00AA00AA00AA00AALL, 0x0055005500550055LL, | ||
292 | 0x0080008000800080LL, 0x00AA00AA00AA00AALL, | ||
293 | 0x0055005500550055LL, 0x0030003000300030LL }; | ||
294 | |||
295 | if ((s_first < 0) || (s_first > s_last)) { | ||
296 | if (info->flash_id == FLASH_UNKNOWN) { | ||
297 | printf ("- missing\n"); | ||
298 | } else { | ||
299 | printf ("- no sectors to erase\n"); | ||
300 | } | ||
301 | return 1; | ||
302 | } | ||
303 | |||
304 | prot = 0; | ||
305 | for (sect = s_first; sect <= s_last; sect++) { | ||
306 | if (info->protect[sect]) | ||
307 | prot++; | ||
308 | } | ||
309 | |||
310 | if (prot) { | ||
311 | printf ("- Warning: %d protected sectors will not be erased!\n", | ||
312 | prot); | ||
313 | } else { | ||
314 | printf ("\n"); | ||
315 | } | ||
316 | |||
317 | l_sect = -1; | ||
318 | |||
319 | /* Enable FPU */ | ||
320 | msr = get_msr(); | ||
321 | set_msr ( msr | MSR_FP ); | ||
322 | |||
323 | /* Disable interrupts which might cause a timeout here */ | ||
324 | flag = disable_interrupts (); | ||
325 | |||
326 | write_via_fpu ((DWORD*)(info->start[0] + (0x0555 << 3)), &cmd_erase[0] ); | ||
327 | write_via_fpu ((DWORD*)(info->start[0] + (0x02AA << 3)), &cmd_erase[1] ); | ||
328 | write_via_fpu ((DWORD*)(info->start[0] + (0x0555 << 3)), &cmd_erase[2] ); | ||
329 | write_via_fpu ((DWORD*)(info->start[0] + (0x0555 << 3)), &cmd_erase[3] ); | ||
330 | write_via_fpu ((DWORD*)(info->start[0] + (0x02AA << 3)), &cmd_erase[4] ); | ||
331 | udelay (1000); | ||
332 | |||
333 | /* Start erase on unprotected sectors */ | ||
334 | for (sect = s_first; sect <= s_last; sect++) { | ||
335 | if (info->protect[sect] == 0) { /* not protected */ | ||
336 | write_via_fpu ((DWORD*)info->start[sect], &cmd_erase[5] ); | ||
337 | l_sect = sect; | ||
338 | } | ||
339 | } | ||
340 | |||
341 | /* re-enable interrupts if necessary */ | ||
342 | if (flag) | ||
343 | enable_interrupts (); | ||
344 | |||
345 | /* Restore FPU */ | ||
346 | set_msr (msr); | ||
347 | |||
348 | /* wait at least 80us - let's wait 1 ms */ | ||
349 | udelay (1000); | ||
350 | |||
351 | /* | ||
352 | * We wait for the last triggered sector | ||
353 | */ | ||
354 | if (l_sect < 0) | ||
355 | goto DONE; | ||
356 | |||
357 | start = get_timer (0); | ||
358 | last = start; | ||
359 | while ((*(volatile DWORD*)info->start[l_sect] & 0x0080008000800080LL ) | ||
360 | != 0x0080008000800080LL ) | ||
361 | { | ||
362 | if ((now = get_timer (start)) > CFG_FLASH_ERASE_TOUT) { | ||
363 | printf ("Timeout\n"); | ||
364 | return 1; | ||
365 | } | ||
366 | /* show that we're waiting */ | ||
367 | if ((now - last) > 1000) { /* every second */ | ||
368 | serial_putc ('.'); | ||
369 | last = now; | ||
370 | } | ||
371 | } | ||
372 | |||
373 | DONE: | ||
374 | /* reset to read mode */ | ||
375 | flash_reset (); | ||
376 | |||
377 | printf (" done\n"); | ||
378 | return 0; | ||
379 | } | ||
380 | |||
381 | |||
382 | /*----------------------------------------------------------------------- | ||
383 | * Copy memory to flash, returns: | ||
384 | * 0 - OK | ||
385 | * 1 - write timeout | ||
386 | * 2 - Flash not erased | ||
387 | */ | ||
388 | |||
389 | int write_buff (flash_info_t * info, uchar * src, ulong addr, ulong cnt) | ||
390 | { | ||
391 | ulong dp; | ||
392 | static unsigned char bb[8]; | ||
393 | int i, l, rc, cc = cnt; | ||
394 | |||
395 | dp = (addr & ~7); /* get lower dword aligned address */ | ||
396 | |||
397 | /* | ||
398 | * handle unaligned start bytes | ||
399 | */ | ||
400 | if ((l = addr - dp) != 0) { | ||
401 | for (i = 0; i < 8; i++) | ||
402 | bb[i] = (i < l || (i - l) >= cc) ? *(char*)(dp + i) : *src++; | ||
403 | if ((rc = write_dword (info, dp, bb)) != 0) { | ||
404 | return (rc); | ||
405 | } | ||
406 | dp += 8; | ||
407 | cc -= 8 - l; | ||
408 | } | ||
409 | |||
410 | /* | ||
411 | * handle word aligned part | ||
412 | */ | ||
413 | while (cc >= 8) { | ||
414 | if ((rc = write_dword (info, dp, src)) != 0) { | ||
415 | return (rc); | ||
416 | } | ||
417 | dp += 8; | ||
418 | src += 8; | ||
419 | cc -= 8; | ||
420 | } | ||
421 | |||
422 | if (cc <= 0) { | ||
423 | return (0); | ||
424 | } | ||
425 | |||
426 | /* | ||
427 | * handle unaligned tail bytes | ||
428 | */ | ||
429 | for (i = 0; i < 8; i++) { | ||
430 | bb[i] = (i < cc) ? *src++ : *(char*)(dp + i); | ||
431 | } | ||
432 | return (write_dword (info, dp, bb)); | ||
433 | } | ||
434 | |||
435 | /*----------------------------------------------------------------------- | ||
436 | * Write a dword to Flash, returns: | ||
437 | * 0 - OK | ||
438 | * 1 - write timeout | ||
439 | * 2 - Flash not erased | ||
440 | */ | ||
441 | static int write_dword (flash_info_t * info, ulong dest, unsigned char *pdata) | ||
442 | { | ||
443 | ulong start; | ||
444 | unsigned long msr; | ||
445 | int flag, i; | ||
446 | DWORD data; | ||
447 | DWORD cmd_write[3] = { 0x00AA00AA00AA00AALL, 0x0055005500550055LL, | ||
448 | 0x00A000A000A000A0LL }; | ||
449 | |||
450 | for (data = 0, i = 0; i < 8; i++) | ||
451 | data = (data << 8) + *pdata++; | ||
452 | |||
453 | /* Check if Flash is (sufficiently) erased */ | ||
454 | if ((*(DWORD*)dest & data) != data) { | ||
455 | return (2); | ||
456 | } | ||
457 | |||
458 | /* Enable FPU */ | ||
459 | msr = get_msr(); | ||
460 | set_msr( msr | MSR_FP ); | ||
461 | |||
462 | /* Disable interrupts which might cause a timeout here */ | ||
463 | flag = disable_interrupts (); | ||
464 | |||
465 | write_via_fpu ((DWORD*)(info->start[0] + (0x0555 << 3)), &cmd_write[0] ); | ||
466 | write_via_fpu ((DWORD*)(info->start[0] + (0x02AA << 3)), &cmd_write[1] ); | ||
467 | write_via_fpu ((DWORD*)(info->start[0] + (0x0555 << 3)), &cmd_write[2] ); | ||
468 | write_via_fpu ((DWORD*)dest, &data ); | ||
469 | |||
470 | /* re-enable interrupts if necessary */ | ||
471 | if (flag) | ||
472 | enable_interrupts (); | ||
473 | |||
474 | /* Restore FPU */ | ||
475 | set_msr(msr); | ||
476 | |||
477 | /* data polling for D7 */ | ||
478 | start = get_timer (0); | ||
479 | while (*(volatile DWORD*)dest != data ) { | ||
480 | if (get_timer (start) > CFG_FLASH_WRITE_TOUT) { | ||
481 | return (1); | ||
482 | } | ||
483 | } | ||
484 | return (0); | ||
485 | } | ||
486 | |||
487 | /*----------------------------------------------------------------------- | ||
488 | */ | ||
489 | static void write_via_fpu (volatile DWORD* addr, DWORD* data) | ||
490 | { | ||
491 | __asm__ __volatile__ ("lfd 1, 0(%0)"::"r" (data)); | ||
492 | __asm__ __volatile__ ("stfd 1, 0(%0)"::"r" (addr)); | ||
493 | __asm__ __volatile__ ("eieio"); | ||
494 | } | ||
495 |
board/ppmc7xx/init.S
File was created | 1 | /* | |
2 | * init.S | ||
3 | * ------ | ||
4 | * | ||
5 | * Wind River PPMC 7xx/74xx init code. | ||
6 | * | ||
7 | * By Richard Danter (richard.danter@windriver.com) | ||
8 | * Copyright (C) 2005 Wind River Systems | ||
9 | * | ||
10 | * NOTE: The following code was generated automatically by Workbench | ||
11 | * from the ppmc7400_107.reg register file. | ||
12 | */ | ||
13 | |||
14 | #include <ppc_asm.tmpl> | ||
15 | |||
16 | |||
17 | .globl board_asm_init | ||
18 | board_asm_init: | ||
19 | |||
20 | lis r4,0xFEC0 | ||
21 | ori r4,r4,0x0000 | ||
22 | lis r5,0xFEE0 | ||
23 | ori r5,r5,0x0000 | ||
24 | lis r3,0x8000 # ADDR_00 | ||
25 | ori r3,r3,0x0000 | ||
26 | stwbrx r3,0,r4 | ||
27 | li r3,0x1057 # VENDOR | ||
28 | li r8, 0x0 | ||
29 | sthbrx r3,r8,r5 | ||
30 | lis r3,0x8000 # ADDR_02 | ||
31 | ori r3,r3,0x0002 | ||
32 | stwbrx r3,0,r4 | ||
33 | li r3,0x0004 # ID | ||
34 | li r8, 0x2 | ||
35 | sthbrx r3,r8,r5 | ||
36 | lis r3,0x8000 # ADDR_04 | ||
37 | ori r3,r3,0x0004 | ||
38 | stwbrx r3,0,r4 | ||
39 | li r3,0x0006 # PCICMD | ||
40 | li r8, 0x0 | ||
41 | sthbrx r3,r8,r5 | ||
42 | lis r3,0x8000 # ADDR_06 | ||
43 | ori r3,r3,0x0006 | ||
44 | stwbrx r3,0,r4 | ||
45 | li r3,0x00A0 # PCISTAT | ||
46 | li r8, 0x2 | ||
47 | sthbrx r3,r8,r5 | ||
48 | lis r3,0x8000 # ADDR_08 | ||
49 | ori r3,r3,0x0008 | ||
50 | stwbrx r3,0,r4 | ||
51 | li r3,0x10 # REVID | ||
52 | stb r3,0x0(r5) | ||
53 | lis r3,0x8000 # ADDR_09 | ||
54 | ori r3,r3,0x0009 | ||
55 | stwbrx r3,0,r4 | ||
56 | li r3,0x00 # PROGIR | ||
57 | stb r3,0x1(r5) | ||
58 | lis r3,0x8000 # ADDR_0A | ||
59 | ori r3,r3,0x000A | ||
60 | stwbrx r3,0,r4 | ||
61 | li r3,0x00 # SUBCCODE | ||
62 | stb r3,0x2(r5) | ||
63 | lis r3,0x8000 # ADDR_0B | ||
64 | ori r3,r3,0x000B | ||
65 | stwbrx r3,0,r4 | ||
66 | li r3,0x06 # PBCCR | ||
67 | stb r3,0x3(r5) | ||
68 | lis r3,0x8000 # ADDR_0C | ||
69 | ori r3,r3,0x000C | ||
70 | stwbrx r3,0,r4 | ||
71 | li r3,0x08 # PCLSR | ||
72 | stb r3,0x0(r5) | ||
73 | lis r3,0x8000 # ADDR_0D | ||
74 | ori r3,r3,0x000D | ||
75 | stwbrx r3,0,r4 | ||
76 | li r3,0x00 # PLTR | ||
77 | stb r3,0x1(r5) | ||
78 | lis r3,0x8000 # ADDR_0E | ||
79 | ori r3,r3,0x000E | ||
80 | stwbrx r3,0,r4 | ||
81 | li r3,0x00 # HEADTYPE | ||
82 | stb r3,0x2(r5) | ||
83 | lis r3,0x8000 # ADDR_0F | ||
84 | ori r3,r3,0x000F | ||
85 | stwbrx r3,0,r4 | ||
86 | li r3,0x00 # BISTCTRL | ||
87 | stb r3,0x3(r5) | ||
88 | lis r3,0x8000 # ADDR_10 | ||
89 | ori r3,r3,0x0010 | ||
90 | stwbrx r3,0,r4 | ||
91 | lis r3,0x0000 # LMBAR | ||
92 | ori r3,r3,0x0008 | ||
93 | li r8, 0x0 | ||
94 | stwbrx r3,r8,r5 | ||
95 | lis r3,0x8000 # ADDR_14 | ||
96 | ori r3,r3,0x0014 | ||
97 | stwbrx r3,0,r4 | ||
98 | lis r3,0xF000 # PCSRBAR | ||
99 | ori r3,r3,0x0000 | ||
100 | li r8, 0x0 | ||
101 | stwbrx r3,r8,r5 | ||
102 | lis r3,0x8000 # ADDR_3C | ||
103 | ori r3,r3,0x003C | ||
104 | stwbrx r3,0,r4 | ||
105 | li r3,0x00 # ILR | ||
106 | stb r3,0x0(r5) | ||
107 | lis r3,0x8000 # ADDR_3D | ||
108 | ori r3,r3,0x003D | ||
109 | stwbrx r3,0,r4 | ||
110 | li r3,0x01 # INTPIN | ||
111 | stb r3,0x1(r5) | ||
112 | lis r3,0x8000 # ADDR_3E | ||
113 | ori r3,r3,0x003E | ||
114 | stwbrx r3,0,r4 | ||
115 | li r3,0x00 # MIN_GNT | ||
116 | stb r3,0x2(r5) | ||
117 | lis r3,0x8000 # ADDR_3F | ||
118 | ori r3,r3,0x003F | ||
119 | stwbrx r3,0,r4 | ||
120 | li r3,0x00 # MAX_LAT | ||
121 | stb r3,0x3(r5) | ||
122 | lis r3,0x8000 # ADDR_40 | ||
123 | ori r3,r3,0x0040 | ||
124 | stwbrx r3,0,r4 | ||
125 | li r3,0x00 # BUSNB | ||
126 | stb r3,0x0(r5) | ||
127 | lis r3,0x8000 # ADDR_41 | ||
128 | ori r3,r3,0x0041 | ||
129 | stwbrx r3,0,r4 | ||
130 | li r3,0x00 # SBUSNB | ||
131 | stb r3,0x1(r5) | ||
132 | lis r3,0x8000 # ADDR_46 | ||
133 | ori r3,r3,0x0046 | ||
134 | stwbrx r3,0,r4 | ||
135 | # li r3,0xE080 # PCIARB | ||
136 | li r3,-0x1F80 # PCIARB | ||
137 | li r8, 0x2 | ||
138 | sthbrx r3,r8,r5 | ||
139 | lis r3,0x8000 # ADDR_70 | ||
140 | ori r3,r3,0x0070 | ||
141 | stwbrx r3,0,r4 | ||
142 | li r3,0x0000 # PMCR1 | ||
143 | li r8, 0x0 | ||
144 | sthbrx r3,r8,r5 | ||
145 | lis r3,0x8000 # ADDR_72 | ||
146 | ori r3,r3,0x0072 | ||
147 | stwbrx r3,0,r4 | ||
148 | li r3,0xC0 # PMCR2 | ||
149 | stb r3,0x2(r5) | ||
150 | lis r3,0x8000 # ADDR_73 | ||
151 | ori r3,r3,0x0073 | ||
152 | stwbrx r3,0,r4 | ||
153 | li r3,0xEF # ODCR | ||
154 | stb r3,0x3(r5) | ||
155 | lis r3,0x8000 # ADDR_74 | ||
156 | ori r3,r3,0x0074 | ||
157 | stwbrx r3,0,r4 | ||
158 | li r3,0x7D00 # CLKDCR | ||
159 | li r8, 0x0 | ||
160 | sthbrx r3,r8,r5 | ||
161 | lis r3,0x8000 # ADDR_76 | ||
162 | ori r3,r3,0x0076 | ||
163 | stwbrx r3,0,r4 | ||
164 | li r3,0x00 # MDCR | ||
165 | stb r3,0x2(r5) | ||
166 | lis r6,0xFCE0 | ||
167 | ori r6,r6,0x0000 # r6 is the EUMBAR Base Address | ||
168 | lis r3,0x8000 # ADDR_78 | ||
169 | ori r3,r3,0x0078 | ||
170 | stwbrx r3,0,r4 | ||
171 | lis r3,0xFCE0 # EUMBBAR | ||
172 | ori r3,r3,0x0000 | ||
173 | li r8, 0x0 | ||
174 | stwbrx r3,r8,r5 | ||
175 | lis r3,0x8000 # ADDR_80 | ||
176 | ori r3,r3,0x0080 | ||
177 | stwbrx r3,0,r4 | ||
178 | lis r3,0xFFFF # MSADDR1 | ||
179 | ori r3,r3,0x4000 | ||
180 | li r8, 0x0 | ||
181 | stwbrx r3,r8,r5 | ||
182 | lis r3,0x8000 # ADDR_84 | ||
183 | ori r3,r3,0x0084 | ||
184 | stwbrx r3,0,r4 | ||
185 | lis r3,0xFFFF # MSADDR2 | ||
186 | ori r3,r3,0xFFFF | ||
187 | li r8, 0x0 | ||
188 | stwbrx r3,r8,r5 | ||
189 | lis r3,0x8000 # ADDR_88 | ||
190 | ori r3,r3,0x0088 | ||
191 | stwbrx r3,0,r4 | ||
192 | lis r3,0x0303 # EMSADDR1 | ||
193 | ori r3,r3,0x0000 | ||
194 | li r8, 0x0 | ||
195 | stwbrx r3,r8,r5 | ||
196 | lis r3,0x8000 # ADDR_8C | ||
197 | ori r3,r3,0x008C | ||
198 | stwbrx r3,0,r4 | ||
199 | lis r3,0x0303 # EMSADDR2 | ||
200 | ori r3,r3,0x0303 | ||
201 | li r8, 0x0 | ||
202 | stwbrx r3,r8,r5 | ||
203 | lis r3,0x8000 # ADDR_90 | ||
204 | ori r3,r3,0x0090 | ||
205 | stwbrx r3,0,r4 | ||
206 | lis r3,0xFFFF # EMEADDR1 | ||
207 | ori r3,r3,0x7F3F | ||
208 | li r8, 0x0 | ||
209 | stwbrx r3,r8,r5 | ||
210 | lis r3,0x8000 # ADDR_94 | ||
211 | ori r3,r3,0x0094 | ||
212 | stwbrx r3,0,r4 | ||
213 | lis r3,0xFFFF # EMEADDR2 | ||
214 | ori r3,r3,0xFFFF | ||
215 | li r8, 0x0 | ||
216 | stwbrx r3,r8,r5 | ||
217 | lis r3,0x8000 # ADDR_98 | ||
218 | ori r3,r3,0x0098 | ||
219 | stwbrx r3,0,r4 | ||
220 | lis r3,0x0303 # EXTEMEM1 | ||
221 | ori r3,r3,0x0000 | ||
222 | li r8, 0x0 | ||
223 | stwbrx r3,r8,r5 | ||
224 | lis r3,0x8000 # ADDR_9C | ||
225 | ori r3,r3,0x009C | ||
226 | stwbrx r3,0,r4 | ||
227 | lis r3,0x0303 # EXTEMEM2 | ||
228 | ori r3,r3,0x0303 | ||
229 | li r8, 0x0 | ||
230 | stwbrx r3,r8,r5 | ||
231 | lis r3,0x8000 # ADDR_A0 | ||
232 | ori r3,r3,0x00A0 | ||
233 | stwbrx r3,0,r4 | ||
234 | li r3,0x03 # MEMBNKEN | ||
235 | stb r3,0x0(r5) | ||
236 | lis r3,0x8000 # ADDR_A3 | ||
237 | ori r3,r3,0x00A3 | ||
238 | stwbrx r3,0,r4 | ||
239 | li r3,0x00 # MEMPMODE | ||
240 | stb r3,0x3(r5) | ||
241 | lis r3,0x8000 # ADDR_B8 | ||
242 | ori r3,r3,0x00B8 | ||
243 | stwbrx r3,0,r4 | ||
244 | li r3,0x00 # ECCCNT | ||
245 | stb r3,0x0(r5) | ||
246 | lis r3,0x8000 # ADDR_B9 | ||
247 | ori r3,r3,0x00B9 | ||
248 | stwbrx r3,0,r4 | ||
249 | li r3,0x00 # ECCTRG | ||
250 | stb r3,0x1(r5) | ||
251 | lis r3,0x8000 # ADDR_C0 | ||
252 | ori r3,r3,0x00C0 | ||
253 | stwbrx r3,0,r4 | ||
254 | li r3,0xFF # ERRENR1 | ||
255 | stb r3,0x0(r5) | ||
256 | lis r3,0x8000 # ADDR_C1 | ||
257 | ori r3,r3,0x00C1 | ||
258 | stwbrx r3,0,r4 | ||
259 | li r3,0x00 # ERRDR1 | ||
260 | stb r3,0x1(r5) | ||
261 | lis r3,0x8000 # ADDR_C3 | ||
262 | ori r3,r3,0x00C3 | ||
263 | stwbrx r3,0,r4 | ||
264 | li r3,0x50 # IPBESR | ||
265 | stb r3,0x3(r5) | ||
266 | lis r3,0x8000 # ADDR_C4 | ||
267 | ori r3,r3,0x00C4 | ||
268 | stwbrx r3,0,r4 | ||
269 | li r3,0xBF # ERRENR2 | ||
270 | stb r3,0x0(r5) | ||
271 | lis r3,0x8000 # ADDR_C5 | ||
272 | ori r3,r3,0x00C5 | ||
273 | stwbrx r3,0,r4 | ||
274 | li r3,0x00 # ERRDR2 | ||
275 | stb r3,0x1(r5) | ||
276 | lis r3,0x8000 # ADDR_C7 | ||
277 | ori r3,r3,0x00C7 | ||
278 | stwbrx r3,0,r4 | ||
279 | li r3,0x00 # PCIBESR | ||
280 | stb r3,0x3(r5) | ||
281 | lis r3,0x8000 # ADDR_C8 | ||
282 | ori r3,r3,0x00C8 | ||
283 | stwbrx r3,0,r4 | ||
284 | lis r3,0x0000 # BERRADDR | ||
285 | ori r3,r3,0xE0FE | ||
286 | li r8, 0x0 | ||
287 | stwbrx r3,r8,r5 | ||
288 | lis r3,0x8000 # ADDR_E0 | ||
289 | ori r3,r3,0x00E0 | ||
290 | stwbrx r3,0,r4 | ||
291 | li r3,0xC0 # AMBOR | ||
292 | stb r3,0x0(r5) | ||
293 | lis r3,0x8000 # ADDR_F4 | ||
294 | ori r3,r3,0x00F4 | ||
295 | stwbrx r3,0,r4 | ||
296 | lis r3,0x0000 # MCCR2 | ||
297 | ori r3,r3,0x020C | ||
298 | li r8, 0x0 | ||
299 | stwbrx r3,r8,r5 | ||
300 | lis r3,0x8000 # ADDR_F8 | ||
301 | ori r3,r3,0x00F8 | ||
302 | stwbrx r3,0,r4 | ||
303 | lis r3,0x0230 # MCCR3 | ||
304 | ori r3,r3,0x0000 | ||
305 | li r8, 0x0 | ||
306 | stwbrx r3,r8,r5 | ||
307 | lis r3,0x8000 # ADDR_FC | ||
308 | ori r3,r3,0x00FC | ||
309 | stwbrx r3,0,r4 | ||
310 | lis r3,0x2532 # MCCR4 | ||
311 | ori r3,r3,0x2220 | ||
312 | li r8, 0x0 | ||
313 | stwbrx r3,r8,r5 | ||
314 | lis r3,0x8000 # ADDR_F0 | ||
315 | ori r3,r3,0x00F0 | ||
316 | stwbrx r3,0,r4 | ||
317 | lis r3,0xFFC8 # MCCR1 | ||
318 | ori r3,r3,0x0000 | ||
319 | li r8, 0x0 | ||
320 | stwbrx r3,r8,r5 | ||
321 | lis r3,0x8000 # ADDR_A8 | ||
322 | ori r3,r3,0x00A8 | ||
323 | stwbrx r3,0,r4 | ||
324 | lis r3,0xFF14 # PICR1 | ||
325 | ori r3,r3,0x1CC8 | ||
326 | li r8, 0x0 | ||
327 | stwbrx r3,r8,r5 | ||
328 | lis r3,0x8000 # ADDR_AC | ||
329 | ori r3,r3,0x00AC | ||
330 | stwbrx r3,0,r4 | ||
331 | lis r3,0x0000 # PICR2 | ||
332 | ori r3,r3,0x0000 | ||
333 | li r8, 0x0 | ||
334 | stwbrx r3,r8,r5 | ||
335 | |||
336 | blr | ||
337 |
board/ppmc7xx/pci.c
File was created | 1 | /* | |
2 | * (C) Copyright 2002 ELTEC Elektronik AG | ||
3 | * Frank Gottschling <fgottschling@eltec.de> | ||
4 | * | ||
5 | * See file CREDITS for list of people who contributed to this | ||
6 | * project. | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or | ||
9 | * modify it under the terms of the GNU General Public License as | ||
10 | * published by the Free Software Foundation; either version 2 of | ||
11 | * the License, or (at your option) any later version. | ||
12 | * | ||
13 | * This program is distributed in the hope that it will be useful, | ||
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
16 | * GNU General Public License for more details. | ||
17 | * | ||
18 | * You should have received a copy of the GNU General Public License | ||
19 | * along with this program; if not, write to the Free Software | ||
20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, | ||
21 | * MA 02111-1307 USA | ||
22 | */ | ||
23 | |||
24 | /* | ||
25 | * PCI initialisation for the MPC10x. | ||
26 | */ | ||
27 | |||
28 | #include <common.h> | ||
29 | #include <pci.h> | ||
30 | #include <mpc106.h> | ||
31 | |||
32 | #ifdef CONFIG_PCI | ||
33 | |||
34 | struct pci_controller local_hose; | ||
35 | |||
36 | void pci_init_board(void) | ||
37 | { | ||
38 | struct pci_controller* hose = (struct pci_controller *)&local_hose; | ||
39 | u16 reg16; | ||
40 | |||
41 | hose->first_busno = 0; | ||
42 | hose->last_busno = 0xff; | ||
43 | |||
44 | pci_set_region(hose->regions + 0, | ||
45 | CFG_PCI_MEMORY_BUS, | ||
46 | CFG_PCI_MEMORY_PHYS, | ||
47 | CFG_PCI_MEMORY_SIZE, | ||
48 | PCI_REGION_MEM | PCI_REGION_MEMORY); | ||
49 | |||
50 | /* PCI memory space */ | ||
51 | pci_set_region(hose->regions + 1, | ||
52 | CFG_PCI_MEM_BUS, | ||
53 | CFG_PCI_MEM_PHYS, | ||
54 | CFG_PCI_MEM_SIZE, | ||
55 | PCI_REGION_MEM); | ||
56 | |||
57 | /* ISA/PCI memory space */ | ||
58 | pci_set_region(hose->regions + 2, | ||
59 | CFG_ISA_MEM_BUS, | ||
60 | CFG_ISA_MEM_PHYS, | ||
61 | CFG_ISA_MEM_SIZE, | ||
62 | PCI_REGION_MEM); | ||
63 | |||
64 | /* PCI I/O space */ | ||
65 | pci_set_region(hose->regions + 3, | ||
66 | CFG_PCI_IO_BUS, | ||
67 | CFG_PCI_IO_PHYS, | ||
68 | CFG_PCI_IO_SIZE, | ||
69 | PCI_REGION_IO); | ||
70 | |||
71 | /* ISA/PCI I/O space */ | ||
72 | pci_set_region(hose->regions + 4, | ||
73 | CFG_ISA_IO_BUS, | ||
74 | CFG_ISA_IO_PHYS, | ||
75 | CFG_ISA_IO_SIZE, | ||
76 | PCI_REGION_IO); | ||
77 | |||
78 | hose->region_count = 5; | ||
79 | |||
80 | pci_setup_indirect(hose, | ||
81 | MPC106_REG_ADDR, | ||
82 | MPC106_REG_DATA); | ||
83 | |||
84 | pci_register_hose(hose); | ||
85 | |||
86 | hose->last_busno = pci_hose_scan(hose); | ||
87 | |||
88 | /* Initialises the MPC10x PCI Configuration regs. */ | ||
89 | pci_read_config_word (PCI_BDF(0,0,0), PCI_COMMAND, ®16); | ||
90 | reg16 |= PCI_COMMAND_SERR | PCI_COMMAND_MASTER | PCI_COMMAND_MEMORY; | ||
91 | pci_write_config_word(PCI_BDF(0,0,0), PCI_COMMAND, reg16); | ||
92 | |||
93 | /* Clear non-reserved bits in status register */ | ||
94 | pci_write_config_word(PCI_BDF(0,0,0), PCI_STATUS, 0xffff); | ||
95 | } | ||
96 | |||
97 | #endif /* CONFIG_PCI */ | ||
98 |
board/ppmc7xx/ppmc7xx.c
File was created | 1 | /* | |
2 | * ppmc7xx.c | ||
3 | * --------- | ||
4 | * | ||
5 | * Main board-specific routines for Wind River PPMC 7xx/74xx board. | ||
6 | * | ||
7 | * By Richard Danter (richard.danter@windriver.com) | ||
8 | * Copyright (C) 2005 Wind River Systems | ||
9 | */ | ||
10 | |||
11 | #include <common.h> | ||
12 | #include <command.h> | ||
13 | |||
14 | |||
15 | /* Define some MPC107 (memory controller) registers */ | ||
16 | #define MPC107_EUMB_GCR 0xfce41020 | ||
17 | #define MPC107_EUMB_IACKR 0xfce600a0 | ||
18 | |||
19 | |||
20 | /* Function prototypes */ | ||
21 | extern void unlock_ram_in_cache( void ); | ||
22 | extern void _start_warm(void); | ||
23 | |||
24 | |||
25 | /* | ||
26 | * initdram() | ||
27 | * | ||
28 | * This function normally initialises the (S)DRAM of the system. For this board | ||
29 | * the SDRAM was already initialised by board_asm_init (see init.S) so we just | ||
30 | * return the size of RAM. | ||
31 | */ | ||
32 | long initdram( int board_type ) | ||
33 | { | ||
34 | return CFG_SDRAM_SIZE; | ||
35 | } | ||
36 | |||
37 | |||
38 | /* | ||
39 | * after_reloc() | ||
40 | * | ||
41 | * This is called after U-Boot has been copied from Flash/ROM to RAM. It gives | ||
42 | * us an opportunity to do some additional setup before the rest of the system | ||
43 | * is initialised. We don't need to do anything, so we just call board_init_r() | ||
44 | * which should never return. | ||
45 | */ | ||
46 | void after_reloc( ulong dest_addr, gd_t* gd ) | ||
47 | { | ||
48 | /* Jump to the main U-Boot board init code */ | ||
49 | board_init_r( gd, dest_addr ); | ||
50 | } | ||
51 | |||
52 | |||
53 | /* | ||
54 | * checkboard() | ||
55 | * | ||
56 | * We could do some board level checks here, such as working out what version | ||
57 | * it is, but for this board we simply display it's name (on the console). | ||
58 | */ | ||
59 | int checkboard( void ) | ||
60 | { | ||
61 | puts( "Board: Wind River PPMC 7xx/74xx\n" ); | ||
62 | return 0; | ||
63 | } | ||
64 | |||
65 | |||
66 | /* | ||
67 | * misc_init_r | ||
68 | * | ||
69 | * Used for other setup which needs to be done late in the bring-up phase. | ||
70 | */ | ||
71 | int misc_init_r( void ) | ||
72 | { | ||
73 | /* Reset the EPIC and clear pending interrupts */ | ||
74 | out32r(MPC107_EUMB_GCR, 0xa0000000); | ||
75 | while( in32r( MPC107_EUMB_GCR ) & 0x80000000 ); | ||
76 | out32r( MPC107_EUMB_GCR, 0x20000000 ); | ||
77 | while( in32r( MPC107_EUMB_IACKR ) != 0xff ); | ||
78 | |||
79 | /* Enable the I-Cache */ | ||
80 | icache_enable(); | ||
81 | |||
82 | return 0; | ||
83 | } | ||
84 | |||
85 | |||
86 | /* | ||
87 | * do_reset() | ||
88 | * | ||
89 | * Shell command to reset the board. | ||
90 | */ | ||
91 | void do_reset( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[] ) | ||
92 | { | ||
93 | printf( "Resetting...\n" ); | ||
94 | |||
95 | /* Disabe and invalidate cache */ | ||
96 | icache_disable(); | ||
97 | dcache_disable(); | ||
98 | |||
99 | /* Jump to warm start (in RAM) */ | ||
100 | _start_warm(); | ||
101 | |||
102 | /* Should never get here */ | ||
103 | while(1); | ||
104 | } | ||
105 |
board/ppmc7xx/u-boot.lds
File was created | 1 | /* | |
2 | * (C) Copyright 2001 | ||
3 | * Josh Huber <huber@mclx.com>, Mission Critical Linux, Inc. | ||
4 | * | ||
5 | * See file CREDITS for list of people who contributed to this | ||
6 | * project. | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or | ||
9 | * modify it under the terms of the GNU General Public License as | ||
10 | * published by the Free Software Foundation; either version 2 of | ||
11 | * the License, or (at your option) any later version. | ||
12 | * | ||
13 | * This program is distributed in the hope that it will be useful, | ||
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
16 | * GNU General Public License for more details. | ||
17 | * | ||
18 | * You should have received a copy of the GNU General Public License | ||
19 | * along with this program; if not, write to the Free Software | ||
20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, | ||
21 | * MA 02111-1307 USA | ||
22 | */ | ||
23 | |||
24 | /* | ||
25 | * u-boot.lds - linker script for U-Boot on the Galileo Eval Board. | ||
26 | */ | ||
27 | |||
28 | OUTPUT_ARCH(powerpc) | ||
29 | SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib); SEARCH_DIR(/usr/local/powerpc-any-elf/lib); | ||
30 | /* Do we need any of these for elf? | ||
31 | __DYNAMIC = 0; */ | ||
32 | SECTIONS | ||
33 | { | ||
34 | /* Read-only sections, merged into text segment: */ | ||
35 | . = + SIZEOF_HEADERS; | ||
36 | .interp : { *(.interp) } | ||
37 | .hash : { *(.hash) } | ||
38 | .dynsym : { *(.dynsym) } | ||
39 | .dynstr : { *(.dynstr) } | ||
40 | .rel.text : { *(.rel.text) } | ||
41 | .rela.text : { *(.rela.text) } | ||
42 | .rel.data : { *(.rel.data) } | ||
43 | .rela.data : { *(.rela.data) } | ||
44 | .rel.rodata : { *(.rel.rodata) } | ||
45 | .rela.rodata : { *(.rela.rodata) } | ||
46 | .rel.got : { *(.rel.got) } | ||
47 | .rela.got : { *(.rela.got) } | ||
48 | .rel.ctors : { *(.rel.ctors) } | ||
49 | .rela.ctors : { *(.rela.ctors) } | ||
50 | .rel.dtors : { *(.rel.dtors) } | ||
51 | .rela.dtors : { *(.rela.dtors) } | ||
52 | .rel.bss : { *(.rel.bss) } | ||
53 | .rela.bss : { *(.rela.bss) } | ||
54 | .rel.plt : { *(.rel.plt) } | ||
55 | .rela.plt : { *(.rela.plt) } | ||
56 | .init : { *(.init) } | ||
57 | .plt : { *(.plt) } | ||
58 | .text : | ||
59 | { | ||
60 | cpu/74xx_7xx/start.o (.text) | ||
61 | |||
62 | /* store the environment in a seperate sector in the boot flash */ | ||
63 | /* . = env_offset; */ | ||
64 | /* common/environment.o(.text) */ | ||
65 | |||
66 | *(.text) | ||
67 | *(.fixup) | ||
68 | *(.got1) | ||
69 | } | ||
70 | _etext = .; | ||
71 | PROVIDE (etext = .); | ||
72 | .rodata : | ||
73 | { | ||
74 | *(.rodata) | ||
75 | *(.rodata1) | ||
76 | *(.rodata.str1.4) | ||
77 | } | ||
78 | .fini : { *(.fini) } =0 | ||
79 | .ctors : { *(.ctors) } | ||
80 | .dtors : { *(.dtors) } | ||
81 | |||
82 | /* Read-write section, merged into data segment: */ | ||
83 | . = (. + 0x00FF) & 0xFFFFFF00; | ||
84 | _erotext = .; | ||
85 | PROVIDE (erotext = .); | ||
86 | .reloc : | ||
87 | { | ||
88 | *(.got) | ||
89 | _GOT2_TABLE_ = .; | ||
90 | *(.got2) | ||
91 | _FIXUP_TABLE_ = .; | ||
92 | *(.fixup) | ||
93 | } | ||
94 | __got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >>2; | ||
95 | __fixup_entries = (. - _FIXUP_TABLE_)>>2; | ||
96 | |||
97 | .data : | ||
98 | { | ||
99 | *(.data) | ||
100 | *(.data1) | ||
101 | *(.sdata) | ||
102 | *(.sdata2) | ||
103 | *(.dynamic) | ||
104 | CONSTRUCTORS | ||
105 | } | ||
106 | _edata = .; | ||
107 | PROVIDE (edata = .); | ||
108 | |||
109 | __u_boot_cmd_start = .; | ||
110 | .u_boot_cmd : { *(.u_boot_cmd) } | ||
111 | __u_boot_cmd_end = .; | ||
112 | |||
113 | |||
114 | __start___ex_table = .; | ||
115 | __ex_table : { *(__ex_table) } | ||
116 | __stop___ex_table = .; | ||
117 | |||
118 | . = ALIGN(256); | ||
119 | __init_begin = .; | ||
120 | .text.init : { *(.text.init) } | ||
121 | .data.init : { *(.data.init) } | ||
122 | . = ALIGN(256); | ||
123 | __init_end = .; | ||
124 | |||
125 | __bss_start = .; | ||
126 | .bss : | ||
127 | { | ||
128 | *(.sbss) *(.scommon) | ||
129 | *(.dynbss) | ||
130 | *(.bss) | ||
131 | *(COMMON) | ||
132 | } | ||
133 | _end = . ; | ||
134 | PROVIDE (end = .); | ||
135 | } | ||
136 |
cpu/74xx_7xx/cpu.c
1 | /* | 1 | /* |
2 | * (C) Copyright 2001 | 2 | * (C) Copyright 2001 |
3 | * Josh Huber <huber@mclx.com>, Mission Critical Linux, Inc. | 3 | * Josh Huber <huber@mclx.com>, Mission Critical Linux, Inc. |
4 | * | 4 | * |
5 | * See file CREDITS for list of people who contributed to this | 5 | * See file CREDITS for list of people who contributed to this |
6 | * project. | 6 | * project. |
7 | * | 7 | * |
8 | * This program is free software; you can redistribute it and/or | 8 | * This program is free software; you can redistribute it and/or |
9 | * modify it under the terms of the GNU General Public License as | 9 | * modify it under the terms of the GNU General Public License as |
10 | * published by the Free Software Foundation; either version 2 of | 10 | * published by the Free Software Foundation; either version 2 of |
11 | * the License, or (at your option) any later version. | 11 | * the License, or (at your option) any later version. |
12 | * | 12 | * |
13 | * This program is distributed in the hope that it will be useful, | 13 | * This program is distributed in the hope that it will be useful, |
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16 | * GNU General Public License for more details. | 16 | * GNU General Public License for more details. |
17 | * | 17 | * |
18 | * You should have received a copy of the GNU General Public License | 18 | * You should have received a copy of the GNU General Public License |
19 | * along with this program; if not, write to the Free Software | 19 | * along with this program; if not, write to the Free Software |
20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, | 20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, |
21 | * MA 02111-1307 USA | 21 | * MA 02111-1307 USA |
22 | */ | 22 | */ |
23 | 23 | ||
24 | /* | 24 | /* |
25 | * cpu.c | 25 | * cpu.c |
26 | * | 26 | * |
27 | * CPU specific code | 27 | * CPU specific code |
28 | * | 28 | * |
29 | * written or collected and sometimes rewritten by | 29 | * written or collected and sometimes rewritten by |
30 | * Magnus Damm <damm@bitsmart.com> | 30 | * Magnus Damm <damm@bitsmart.com> |
31 | * | 31 | * |
32 | * minor modifications by | 32 | * minor modifications by |
33 | * Wolfgang Denk <wd@denx.de> | 33 | * Wolfgang Denk <wd@denx.de> |
34 | * | 34 | * |
35 | * more modifications by | 35 | * more modifications by |
36 | * Josh Huber <huber@mclx.com> | 36 | * Josh Huber <huber@mclx.com> |
37 | * added support for the 74xx series of cpus | 37 | * added support for the 74xx series of cpus |
38 | * added support for the 7xx series of cpus | 38 | * added support for the 7xx series of cpus |
39 | * made the code a little less hard-coded, and more auto-detectish | 39 | * made the code a little less hard-coded, and more auto-detectish |
40 | */ | 40 | */ |
41 | 41 | ||
42 | #include <common.h> | 42 | #include <common.h> |
43 | #include <command.h> | 43 | #include <command.h> |
44 | #include <74xx_7xx.h> | 44 | #include <74xx_7xx.h> |
45 | #include <asm/cache.h> | 45 | #include <asm/cache.h> |
46 | 46 | ||
47 | #ifdef CONFIG_AMIGAONEG3SE | 47 | #ifdef CONFIG_AMIGAONEG3SE |
48 | #include "../board/MAI/AmigaOneG3SE/via686.h" | 48 | #include "../board/MAI/AmigaOneG3SE/via686.h" |
49 | #include "../board/MAI/AmigaOneG3SE/memio.h" | 49 | #include "../board/MAI/AmigaOneG3SE/memio.h" |
50 | #endif | 50 | #endif |
51 | 51 | ||
52 | DECLARE_GLOBAL_DATA_PTR; | 52 | DECLARE_GLOBAL_DATA_PTR; |
53 | 53 | ||
54 | cpu_t | 54 | cpu_t |
55 | get_cpu_type(void) | 55 | get_cpu_type(void) |
56 | { | 56 | { |
57 | uint pvr = get_pvr(); | 57 | uint pvr = get_pvr(); |
58 | cpu_t type; | 58 | cpu_t type; |
59 | 59 | ||
60 | type = CPU_UNKNOWN; | 60 | type = CPU_UNKNOWN; |
61 | 61 | ||
62 | switch (PVR_VER(pvr)) { | 62 | switch (PVR_VER(pvr)) { |
63 | case 0x000c: | 63 | case 0x000c: |
64 | type = CPU_7400; | 64 | type = CPU_7400; |
65 | break; | 65 | break; |
66 | case 0x0008: | 66 | case 0x0008: |
67 | type = CPU_750; | 67 | type = CPU_750; |
68 | 68 | ||
69 | if (((pvr >> 8) & 0xff) == 0x01) { | 69 | if (((pvr >> 8) & 0xff) == 0x01) { |
70 | type = CPU_750CX; /* old CX (80100 and 8010x?)*/ | 70 | type = CPU_750CX; /* old CX (80100 and 8010x?)*/ |
71 | } else if (((pvr >> 8) & 0xff) == 0x22) { | 71 | } else if (((pvr >> 8) & 0xff) == 0x22) { |
72 | type = CPU_750CX; /* CX (82201,82202) and CXe (82214) */ | 72 | type = CPU_750CX; /* CX (82201,82202) and CXe (82214) */ |
73 | } else if (((pvr >> 8) & 0xff) == 0x33) { | 73 | } else if (((pvr >> 8) & 0xff) == 0x33) { |
74 | type = CPU_750CX; /* CXe (83311) */ | 74 | type = CPU_750CX; /* CXe (83311) */ |
75 | } else if (((pvr >> 12) & 0xF) == 0x3) { | 75 | } else if (((pvr >> 12) & 0xF) == 0x3) { |
76 | type = CPU_755; | 76 | type = CPU_755; |
77 | } | 77 | } |
78 | break; | 78 | break; |
79 | 79 | ||
80 | case 0x7000: | 80 | case 0x7000: |
81 | type = CPU_750FX; | 81 | type = CPU_750FX; |
82 | break; | 82 | break; |
83 | 83 | ||
84 | case 0x7002: | 84 | case 0x7002: |
85 | type = CPU_750GX; | 85 | type = CPU_750GX; |
86 | break; | 86 | break; |
87 | 87 | ||
88 | case 0x800C: | 88 | case 0x800C: |
89 | type = CPU_7410; | 89 | type = CPU_7410; |
90 | break; | 90 | break; |
91 | 91 | ||
92 | case 0x8000: | 92 | case 0x8000: |
93 | type = CPU_7450; | 93 | type = CPU_7450; |
94 | break; | 94 | break; |
95 | 95 | ||
96 | case 0x8001: | 96 | case 0x8001: |
97 | type = CPU_7455; | 97 | type = CPU_7455; |
98 | break; | 98 | break; |
99 | 99 | ||
100 | case 0x8002: | 100 | case 0x8002: |
101 | type = CPU_7457; | 101 | type = CPU_7457; |
102 | break; | 102 | break; |
103 | 103 | ||
104 | default: | 104 | default: |
105 | break; | 105 | break; |
106 | } | 106 | } |
107 | 107 | ||
108 | return type; | 108 | return type; |
109 | } | 109 | } |
110 | 110 | ||
111 | /* ------------------------------------------------------------------------- */ | 111 | /* ------------------------------------------------------------------------- */ |
112 | 112 | ||
113 | #if !defined(CONFIG_BAB7xx) | 113 | #if !defined(CONFIG_BAB7xx) |
114 | int checkcpu (void) | 114 | int checkcpu (void) |
115 | { | 115 | { |
116 | uint type = get_cpu_type(); | 116 | uint type = get_cpu_type(); |
117 | uint pvr = get_pvr(); | 117 | uint pvr = get_pvr(); |
118 | ulong clock = gd->cpu_clk; | 118 | ulong clock = gd->cpu_clk; |
119 | char buf[32]; | 119 | char buf[32]; |
120 | char *str; | 120 | char *str; |
121 | 121 | ||
122 | puts ("CPU: "); | 122 | puts ("CPU: "); |
123 | 123 | ||
124 | switch (type) { | 124 | switch (type) { |
125 | case CPU_750CX: | 125 | case CPU_750CX: |
126 | printf ("750CX%s v%d.%d", (pvr&0xf0)?"e":"", | 126 | printf ("750CX%s v%d.%d", (pvr&0xf0)?"e":"", |
127 | (pvr>>8) & 0xf, | 127 | (pvr>>8) & 0xf, |
128 | pvr & 0xf); | 128 | pvr & 0xf); |
129 | goto PR_CLK; | 129 | goto PR_CLK; |
130 | 130 | ||
131 | case CPU_750: | 131 | case CPU_750: |
132 | str = "750"; | 132 | str = "750"; |
133 | break; | 133 | break; |
134 | 134 | ||
135 | case CPU_750FX: | 135 | case CPU_750FX: |
136 | str = "750FX"; | 136 | str = "750FX"; |
137 | break; | 137 | break; |
138 | 138 | ||
139 | case CPU_750GX: | 139 | case CPU_750GX: |
140 | str = "750GX"; | 140 | str = "750GX"; |
141 | break; | 141 | break; |
142 | 142 | ||
143 | case CPU_755: | 143 | case CPU_755: |
144 | str = "755"; | 144 | str = "755"; |
145 | break; | 145 | break; |
146 | 146 | ||
147 | case CPU_7400: | 147 | case CPU_7400: |
148 | str = "MPC7400"; | 148 | str = "MPC7400"; |
149 | break; | 149 | break; |
150 | 150 | ||
151 | case CPU_7410: | 151 | case CPU_7410: |
152 | str = "MPC7410"; | 152 | str = "MPC7410"; |
153 | break; | 153 | break; |
154 | 154 | ||
155 | case CPU_7450: | 155 | case CPU_7450: |
156 | str = "MPC7450"; | 156 | str = "MPC7450"; |
157 | break; | 157 | break; |
158 | 158 | ||
159 | case CPU_7455: | 159 | case CPU_7455: |
160 | str = "MPC7455"; | 160 | str = "MPC7455"; |
161 | break; | 161 | break; |
162 | 162 | ||
163 | case CPU_7457: | 163 | case CPU_7457: |
164 | str = "MPC7457"; | 164 | str = "MPC7457"; |
165 | break; | 165 | break; |
166 | 166 | ||
167 | default: | 167 | default: |
168 | printf("Unknown CPU -- PVR: 0x%08x\n", pvr); | 168 | printf("Unknown CPU -- PVR: 0x%08x\n", pvr); |
169 | return -1; | 169 | return -1; |
170 | } | 170 | } |
171 | 171 | ||
172 | printf ("%s v%d.%d", str, (pvr >> 8) & 0xFF, pvr & 0xFF); | 172 | printf ("%s v%d.%d", str, (pvr >> 8) & 0xFF, pvr & 0xFF); |
173 | PR_CLK: | 173 | PR_CLK: |
174 | printf (" @ %s MHz\n", strmhz(buf, clock)); | 174 | printf (" @ %s MHz\n", strmhz(buf, clock)); |
175 | 175 | ||
176 | return (0); | 176 | return (0); |
177 | } | 177 | } |
178 | #endif | 178 | #endif |
179 | /* these two functions are unimplemented currently [josh] */ | 179 | /* these two functions are unimplemented currently [josh] */ |
180 | 180 | ||
181 | /* -------------------------------------------------------------------- */ | 181 | /* -------------------------------------------------------------------- */ |
182 | /* L1 i-cache */ | 182 | /* L1 i-cache */ |
183 | 183 | ||
184 | int | 184 | int |
185 | checkicache(void) | 185 | checkicache(void) |
186 | { | 186 | { |
187 | return 0; /* XXX */ | 187 | return 0; /* XXX */ |
188 | } | 188 | } |
189 | 189 | ||
190 | /* -------------------------------------------------------------------- */ | 190 | /* -------------------------------------------------------------------- */ |
191 | /* L1 d-cache */ | 191 | /* L1 d-cache */ |
192 | 192 | ||
193 | int | 193 | int |
194 | checkdcache(void) | 194 | checkdcache(void) |
195 | { | 195 | { |
196 | return 0; /* XXX */ | 196 | return 0; /* XXX */ |
197 | } | 197 | } |
198 | 198 | ||
199 | /* -------------------------------------------------------------------- */ | 199 | /* -------------------------------------------------------------------- */ |
200 | 200 | ||
201 | static inline void | 201 | static inline void |
202 | soft_restart(unsigned long addr) | 202 | soft_restart(unsigned long addr) |
203 | { | 203 | { |
204 | /* SRR0 has system reset vector, SRR1 has default MSR value */ | 204 | /* SRR0 has system reset vector, SRR1 has default MSR value */ |
205 | /* rfi restores MSR from SRR1 and sets the PC to the SRR0 value */ | 205 | /* rfi restores MSR from SRR1 and sets the PC to the SRR0 value */ |
206 | 206 | ||
207 | __asm__ __volatile__ ("mtspr 26, %0" :: "r" (addr)); | 207 | __asm__ __volatile__ ("mtspr 26, %0" :: "r" (addr)); |
208 | __asm__ __volatile__ ("li 4, (1 << 6)" ::: "r4"); | 208 | __asm__ __volatile__ ("li 4, (1 << 6)" ::: "r4"); |
209 | __asm__ __volatile__ ("mtspr 27, 4"); | 209 | __asm__ __volatile__ ("mtspr 27, 4"); |
210 | __asm__ __volatile__ ("rfi"); | 210 | __asm__ __volatile__ ("rfi"); |
211 | 211 | ||
212 | while(1); /* not reached */ | 212 | while(1); /* not reached */ |
213 | } | 213 | } |
214 | 214 | ||
215 | 215 | ||
216 | #if !defined(CONFIG_PCIPPC2) && \ | 216 | #if !defined(CONFIG_PCIPPC2) && \ |
217 | !defined(CONFIG_BAB7xx) && \ | 217 | !defined(CONFIG_BAB7xx) && \ |
218 | !defined(CONFIG_ELPPC) | 218 | !defined(CONFIG_ELPPC) && \ |
219 | !defined(CONFIG_PPMC7XX) | ||
219 | /* no generic way to do board reset. simply call soft_reset. */ | 220 | /* no generic way to do board reset. simply call soft_reset. */ |
220 | void | 221 | void |
221 | do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) | 222 | do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) |
222 | { | 223 | { |
223 | ulong addr; | 224 | ulong addr; |
224 | /* flush and disable I/D cache */ | 225 | /* flush and disable I/D cache */ |
225 | __asm__ __volatile__ ("mfspr 3, 1008" ::: "r3"); | 226 | __asm__ __volatile__ ("mfspr 3, 1008" ::: "r3"); |
226 | __asm__ __volatile__ ("ori 5, 5, 0xcc00" ::: "r5"); | 227 | __asm__ __volatile__ ("ori 5, 5, 0xcc00" ::: "r5"); |
227 | __asm__ __volatile__ ("ori 4, 3, 0xc00" ::: "r4"); | 228 | __asm__ __volatile__ ("ori 4, 3, 0xc00" ::: "r4"); |
228 | __asm__ __volatile__ ("andc 5, 3, 5" ::: "r5"); | 229 | __asm__ __volatile__ ("andc 5, 3, 5" ::: "r5"); |
229 | __asm__ __volatile__ ("sync"); | 230 | __asm__ __volatile__ ("sync"); |
230 | __asm__ __volatile__ ("mtspr 1008, 4"); | 231 | __asm__ __volatile__ ("mtspr 1008, 4"); |
231 | __asm__ __volatile__ ("isync"); | 232 | __asm__ __volatile__ ("isync"); |
232 | __asm__ __volatile__ ("sync"); | 233 | __asm__ __volatile__ ("sync"); |
233 | __asm__ __volatile__ ("mtspr 1008, 5"); | 234 | __asm__ __volatile__ ("mtspr 1008, 5"); |
234 | __asm__ __volatile__ ("isync"); | 235 | __asm__ __volatile__ ("isync"); |
235 | __asm__ __volatile__ ("sync"); | 236 | __asm__ __volatile__ ("sync"); |
236 | 237 | ||
237 | #ifdef CFG_RESET_ADDRESS | 238 | #ifdef CFG_RESET_ADDRESS |
238 | addr = CFG_RESET_ADDRESS; | 239 | addr = CFG_RESET_ADDRESS; |
239 | #else | 240 | #else |
240 | /* | 241 | /* |
241 | * note: when CFG_MONITOR_BASE points to a RAM address, | 242 | * note: when CFG_MONITOR_BASE points to a RAM address, |
242 | * CFG_MONITOR_BASE - sizeof (ulong) is usually a valid | 243 | * CFG_MONITOR_BASE - sizeof (ulong) is usually a valid |
243 | * address. Better pick an address known to be invalid on your | 244 | * address. Better pick an address known to be invalid on your |
244 | * system and assign it to CFG_RESET_ADDRESS. | 245 | * system and assign it to CFG_RESET_ADDRESS. |
245 | */ | 246 | */ |
246 | addr = CFG_MONITOR_BASE - sizeof (ulong); | 247 | addr = CFG_MONITOR_BASE - sizeof (ulong); |
247 | #endif | 248 | #endif |
248 | soft_restart(addr); | 249 | soft_restart(addr); |
249 | while(1); /* not reached */ | 250 | while(1); /* not reached */ |
250 | } | 251 | } |
251 | #endif | 252 | #endif |
252 | 253 | ||
253 | /* ------------------------------------------------------------------------- */ | 254 | /* ------------------------------------------------------------------------- */ |
254 | 255 | ||
255 | /* | 256 | /* |
256 | * For the 7400 the TB clock runs at 1/4 the cpu bus speed. | 257 | * For the 7400 the TB clock runs at 1/4 the cpu bus speed. |
257 | */ | 258 | */ |
258 | #ifdef CONFIG_AMIGAONEG3SE | 259 | #ifdef CONFIG_AMIGAONEG3SE |
259 | unsigned long get_tbclk(void) | 260 | unsigned long get_tbclk(void) |
260 | { | 261 | { |
261 | return (gd->bus_clk / 4); | 262 | return (gd->bus_clk / 4); |
262 | } | 263 | } |
263 | #else /* ! CONFIG_AMIGAONEG3SE */ | 264 | #else /* ! CONFIG_AMIGAONEG3SE */ |
264 | 265 | ||
265 | unsigned long get_tbclk (void) | 266 | unsigned long get_tbclk (void) |
266 | { | 267 | { |
267 | return CFG_BUS_HZ / 4; | 268 | return CFG_BUS_HZ / 4; |
268 | } | 269 | } |
269 | #endif /* CONFIG_AMIGAONEG3SE */ | 270 | #endif /* CONFIG_AMIGAONEG3SE */ |
270 | /* ------------------------------------------------------------------------- */ | 271 | /* ------------------------------------------------------------------------- */ |
271 | 272 | ||
272 | #if defined(CONFIG_WATCHDOG) | 273 | #if defined(CONFIG_WATCHDOG) |
273 | #if !defined(CONFIG_PCIPPC2) && !defined(CONFIG_BAB7xx) | 274 | #if !defined(CONFIG_PCIPPC2) && !defined(CONFIG_BAB7xx) |
274 | void | 275 | void |
275 | watchdog_reset(void) | 276 | watchdog_reset(void) |
276 | { | 277 | { |
277 | 278 | ||
278 | } | 279 | } |
279 | #endif /* !CONFIG_PCIPPC2 && !CONFIG_BAB7xx */ | 280 | #endif /* !CONFIG_PCIPPC2 && !CONFIG_BAB7xx */ |
280 | #endif /* CONFIG_WATCHDOG */ | 281 | #endif /* CONFIG_WATCHDOG */ |
281 | 282 | ||
282 | /* ------------------------------------------------------------------------- */ | 283 | /* ------------------------------------------------------------------------- */ |
283 | 284 |
cpu/74xx_7xx/start.S
1 | /* | 1 | /* |
2 | * Copyright (C) 1998 Dan Malek <dmalek@jlc.net> | 2 | * Copyright (C) 1998 Dan Malek <dmalek@jlc.net> |
3 | * Copyright (C) 1999 Magnus Damm <kieraypc01.p.y.kie.era.ericsson.se> | 3 | * Copyright (C) 1999 Magnus Damm <kieraypc01.p.y.kie.era.ericsson.se> |
4 | * Copyright (C) 2000,2001,2002 Wolfgang Denk <wd@denx.de> | 4 | * Copyright (C) 2000,2001,2002 Wolfgang Denk <wd@denx.de> |
5 | * Copyright (C) 2001 Josh Huber <huber@mclx.com> | 5 | * Copyright (C) 2001 Josh Huber <huber@mclx.com> |
6 | * | 6 | * |
7 | * See file CREDITS for list of people who contributed to this | 7 | * See file CREDITS for list of people who contributed to this |
8 | * project. | 8 | * project. |
9 | * | 9 | * |
10 | * This program is free software; you can redistribute it and/or | 10 | * This program is free software; you can redistribute it and/or |
11 | * modify it under the terms of the GNU General Public License as | 11 | * modify it under the terms of the GNU General Public License as |
12 | * published by the Free Software Foundation; either version 2 of | 12 | * published by the Free Software Foundation; either version 2 of |
13 | * the License, or (at your option) any later version. | 13 | * the License, or (at your option) any later version. |
14 | * | 14 | * |
15 | * This program is distributed in the hope that it will be useful, | 15 | * This program is distributed in the hope that it will be useful, |
16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
18 | * GNU General Public License for more details. | 18 | * GNU General Public License for more details. |
19 | * | 19 | * |
20 | * You should have received a copy of the GNU General Public License | 20 | * You should have received a copy of the GNU General Public License |
21 | * along with this program; if not, write to the Free Software | 21 | * along with this program; if not, write to the Free Software |
22 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, | 22 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, |
23 | * MA 02111-1307 USA | 23 | * MA 02111-1307 USA |
24 | */ | 24 | */ |
25 | 25 | ||
26 | /* U-Boot - Startup Code for PowerPC based Embedded Boards | 26 | /* U-Boot - Startup Code for PowerPC based Embedded Boards |
27 | * | 27 | * |
28 | * | 28 | * |
29 | * The processor starts at 0xfff00100 and the code is executed | 29 | * The processor starts at 0xfff00100 and the code is executed |
30 | * from flash. The code is organized to be at an other address | 30 | * from flash. The code is organized to be at an other address |
31 | * in memory, but as long we don't jump around before relocating. | 31 | * in memory, but as long we don't jump around before relocating. |
32 | * board_init lies at a quite high address and when the cpu has | 32 | * board_init lies at a quite high address and when the cpu has |
33 | * jumped there, everything is ok. | 33 | * jumped there, everything is ok. |
34 | */ | 34 | */ |
35 | #include <config.h> | 35 | #include <config.h> |
36 | #include <74xx_7xx.h> | 36 | #include <74xx_7xx.h> |
37 | #include <version.h> | 37 | #include <version.h> |
38 | 38 | ||
39 | #include <ppc_asm.tmpl> | 39 | #include <ppc_asm.tmpl> |
40 | #include <ppc_defs.h> | 40 | #include <ppc_defs.h> |
41 | 41 | ||
42 | #include <asm/cache.h> | 42 | #include <asm/cache.h> |
43 | #include <asm/mmu.h> | 43 | #include <asm/mmu.h> |
44 | 44 | ||
45 | #if !defined(CONFIG_DB64360) && \ | 45 | #if !defined(CONFIG_DB64360) && \ |
46 | !defined(CONFIG_DB64460) && \ | 46 | !defined(CONFIG_DB64460) && \ |
47 | !defined(CONFIG_CPCI750) | 47 | !defined(CONFIG_CPCI750) |
48 | #include <galileo/gt64260R.h> | 48 | #include <galileo/gt64260R.h> |
49 | #endif | 49 | #endif |
50 | 50 | ||
51 | #ifndef CONFIG_IDENT_STRING | 51 | #ifndef CONFIG_IDENT_STRING |
52 | #define CONFIG_IDENT_STRING "" | 52 | #define CONFIG_IDENT_STRING "" |
53 | #endif | 53 | #endif |
54 | 54 | ||
55 | /* We don't want the MMU yet. | 55 | /* We don't want the MMU yet. |
56 | */ | 56 | */ |
57 | #undef MSR_KERNEL | 57 | #undef MSR_KERNEL |
58 | /* Machine Check and Recoverable Interr. */ | 58 | /* Machine Check and Recoverable Interr. */ |
59 | #define MSR_KERNEL ( MSR_ME | MSR_RI ) | 59 | #define MSR_KERNEL ( MSR_ME | MSR_RI ) |
60 | 60 | ||
61 | /* | 61 | /* |
62 | * Set up GOT: Global Offset Table | 62 | * Set up GOT: Global Offset Table |
63 | * | 63 | * |
64 | * Use r14 to access the GOT | 64 | * Use r14 to access the GOT |
65 | */ | 65 | */ |
66 | START_GOT | 66 | START_GOT |
67 | GOT_ENTRY(_GOT2_TABLE_) | 67 | GOT_ENTRY(_GOT2_TABLE_) |
68 | GOT_ENTRY(_FIXUP_TABLE_) | 68 | GOT_ENTRY(_FIXUP_TABLE_) |
69 | 69 | ||
70 | GOT_ENTRY(_start) | 70 | GOT_ENTRY(_start) |
71 | GOT_ENTRY(_start_of_vectors) | 71 | GOT_ENTRY(_start_of_vectors) |
72 | GOT_ENTRY(_end_of_vectors) | 72 | GOT_ENTRY(_end_of_vectors) |
73 | GOT_ENTRY(transfer_to_handler) | 73 | GOT_ENTRY(transfer_to_handler) |
74 | 74 | ||
75 | GOT_ENTRY(__init_end) | 75 | GOT_ENTRY(__init_end) |
76 | GOT_ENTRY(_end) | 76 | GOT_ENTRY(_end) |
77 | GOT_ENTRY(__bss_start) | 77 | GOT_ENTRY(__bss_start) |
78 | END_GOT | 78 | END_GOT |
79 | 79 | ||
80 | /* | 80 | /* |
81 | * r3 - 1st arg to board_init(): IMMP pointer | 81 | * r3 - 1st arg to board_init(): IMMP pointer |
82 | * r4 - 2nd arg to board_init(): boot flag | 82 | * r4 - 2nd arg to board_init(): boot flag |
83 | */ | 83 | */ |
84 | .text | 84 | .text |
85 | .long 0x27051956 /* U-Boot Magic Number */ | 85 | .long 0x27051956 /* U-Boot Magic Number */ |
86 | .globl version_string | 86 | .globl version_string |
87 | version_string: | 87 | version_string: |
88 | .ascii U_BOOT_VERSION | 88 | .ascii U_BOOT_VERSION |
89 | .ascii " (", __DATE__, " - ", __TIME__, ")" | 89 | .ascii " (", __DATE__, " - ", __TIME__, ")" |
90 | .ascii CONFIG_IDENT_STRING, "\0" | 90 | .ascii CONFIG_IDENT_STRING, "\0" |
91 | 91 | ||
92 | . = EXC_OFF_SYS_RESET | 92 | . = EXC_OFF_SYS_RESET |
93 | .globl _start | 93 | .globl _start |
94 | _start: | 94 | _start: |
95 | li r21, BOOTFLAG_COLD /* Normal Power-On: Boot from FLASH */ | 95 | li r21, BOOTFLAG_COLD /* Normal Power-On: Boot from FLASH */ |
96 | b boot_cold | 96 | b boot_cold |
97 | sync | 97 | sync |
98 | 98 | ||
99 | . = EXC_OFF_SYS_RESET + 0x10 | 99 | . = EXC_OFF_SYS_RESET + 0x10 |
100 | 100 | ||
101 | .globl _start_warm | 101 | .globl _start_warm |
102 | _start_warm: | 102 | _start_warm: |
103 | li r21, BOOTFLAG_WARM /* Software reboot */ | 103 | li r21, BOOTFLAG_WARM /* Software reboot */ |
104 | b boot_warm | 104 | b boot_warm |
105 | sync | 105 | sync |
106 | 106 | ||
107 | /* the boot code is located below the exception table */ | 107 | /* the boot code is located below the exception table */ |
108 | 108 | ||
109 | .globl _start_of_vectors | 109 | .globl _start_of_vectors |
110 | _start_of_vectors: | 110 | _start_of_vectors: |
111 | 111 | ||
112 | /* Machine check */ | 112 | /* Machine check */ |
113 | STD_EXCEPTION(0x200, MachineCheck, MachineCheckException) | 113 | STD_EXCEPTION(0x200, MachineCheck, MachineCheckException) |
114 | 114 | ||
115 | /* Data Storage exception. "Never" generated on the 860. */ | 115 | /* Data Storage exception. "Never" generated on the 860. */ |
116 | STD_EXCEPTION(0x300, DataStorage, UnknownException) | 116 | STD_EXCEPTION(0x300, DataStorage, UnknownException) |
117 | 117 | ||
118 | /* Instruction Storage exception. "Never" generated on the 860. */ | 118 | /* Instruction Storage exception. "Never" generated on the 860. */ |
119 | STD_EXCEPTION(0x400, InstStorage, UnknownException) | 119 | STD_EXCEPTION(0x400, InstStorage, UnknownException) |
120 | 120 | ||
121 | /* External Interrupt exception. */ | 121 | /* External Interrupt exception. */ |
122 | STD_EXCEPTION(0x500, ExtInterrupt, external_interrupt) | 122 | STD_EXCEPTION(0x500, ExtInterrupt, external_interrupt) |
123 | 123 | ||
124 | /* Alignment exception. */ | 124 | /* Alignment exception. */ |
125 | . = 0x600 | 125 | . = 0x600 |
126 | Alignment: | 126 | Alignment: |
127 | EXCEPTION_PROLOG | 127 | EXCEPTION_PROLOG |
128 | mfspr r4,DAR | 128 | mfspr r4,DAR |
129 | stw r4,_DAR(r21) | 129 | stw r4,_DAR(r21) |
130 | mfspr r5,DSISR | 130 | mfspr r5,DSISR |
131 | stw r5,_DSISR(r21) | 131 | stw r5,_DSISR(r21) |
132 | addi r3,r1,STACK_FRAME_OVERHEAD | 132 | addi r3,r1,STACK_FRAME_OVERHEAD |
133 | li r20,MSR_KERNEL | 133 | li r20,MSR_KERNEL |
134 | rlwimi r20,r23,0,16,16 /* copy EE bit from saved MSR */ | 134 | rlwimi r20,r23,0,16,16 /* copy EE bit from saved MSR */ |
135 | lwz r6,GOT(transfer_to_handler) | 135 | lwz r6,GOT(transfer_to_handler) |
136 | mtlr r6 | 136 | mtlr r6 |
137 | blrl | 137 | blrl |
138 | .L_Alignment: | 138 | .L_Alignment: |
139 | .long AlignmentException - _start + EXC_OFF_SYS_RESET | 139 | .long AlignmentException - _start + EXC_OFF_SYS_RESET |
140 | .long int_return - _start + EXC_OFF_SYS_RESET | 140 | .long int_return - _start + EXC_OFF_SYS_RESET |
141 | 141 | ||
142 | /* Program check exception */ | 142 | /* Program check exception */ |
143 | . = 0x700 | 143 | . = 0x700 |
144 | ProgramCheck: | 144 | ProgramCheck: |
145 | EXCEPTION_PROLOG | 145 | EXCEPTION_PROLOG |
146 | addi r3,r1,STACK_FRAME_OVERHEAD | 146 | addi r3,r1,STACK_FRAME_OVERHEAD |
147 | li r20,MSR_KERNEL | 147 | li r20,MSR_KERNEL |
148 | rlwimi r20,r23,0,16,16 /* copy EE bit from saved MSR */ | 148 | rlwimi r20,r23,0,16,16 /* copy EE bit from saved MSR */ |
149 | lwz r6,GOT(transfer_to_handler) | 149 | lwz r6,GOT(transfer_to_handler) |
150 | mtlr r6 | 150 | mtlr r6 |
151 | blrl | 151 | blrl |
152 | .L_ProgramCheck: | 152 | .L_ProgramCheck: |
153 | .long ProgramCheckException - _start + EXC_OFF_SYS_RESET | 153 | .long ProgramCheckException - _start + EXC_OFF_SYS_RESET |
154 | .long int_return - _start + EXC_OFF_SYS_RESET | 154 | .long int_return - _start + EXC_OFF_SYS_RESET |
155 | 155 | ||
156 | /* No FPU on MPC8xx. This exception is not supposed to happen. | 156 | /* No FPU on MPC8xx. This exception is not supposed to happen. |
157 | */ | 157 | */ |
158 | STD_EXCEPTION(0x800, FPUnavailable, UnknownException) | 158 | STD_EXCEPTION(0x800, FPUnavailable, UnknownException) |
159 | 159 | ||
160 | /* I guess we could implement decrementer, and may have | 160 | /* I guess we could implement decrementer, and may have |
161 | * to someday for timekeeping. | 161 | * to someday for timekeeping. |
162 | */ | 162 | */ |
163 | STD_EXCEPTION(0x900, Decrementer, timer_interrupt) | 163 | STD_EXCEPTION(0x900, Decrementer, timer_interrupt) |
164 | STD_EXCEPTION(0xa00, Trap_0a, UnknownException) | 164 | STD_EXCEPTION(0xa00, Trap_0a, UnknownException) |
165 | STD_EXCEPTION(0xb00, Trap_0b, UnknownException) | 165 | STD_EXCEPTION(0xb00, Trap_0b, UnknownException) |
166 | STD_EXCEPTION(0xc00, SystemCall, UnknownException) | 166 | STD_EXCEPTION(0xc00, SystemCall, UnknownException) |
167 | STD_EXCEPTION(0xd00, SingleStep, UnknownException) | 167 | STD_EXCEPTION(0xd00, SingleStep, UnknownException) |
168 | 168 | ||
169 | STD_EXCEPTION(0xe00, Trap_0e, UnknownException) | 169 | STD_EXCEPTION(0xe00, Trap_0e, UnknownException) |
170 | STD_EXCEPTION(0xf00, Trap_0f, UnknownException) | 170 | STD_EXCEPTION(0xf00, Trap_0f, UnknownException) |
171 | 171 | ||
172 | /* | 172 | /* |
173 | * On the MPC8xx, this is a software emulation interrupt. It | 173 | * On the MPC8xx, this is a software emulation interrupt. It |
174 | * occurs for all unimplemented and illegal instructions. | 174 | * occurs for all unimplemented and illegal instructions. |
175 | */ | 175 | */ |
176 | STD_EXCEPTION(0x1000, SoftEmu, SoftEmuException) | 176 | STD_EXCEPTION(0x1000, SoftEmu, SoftEmuException) |
177 | 177 | ||
178 | STD_EXCEPTION(0x1100, InstructionTLBMiss, UnknownException) | 178 | STD_EXCEPTION(0x1100, InstructionTLBMiss, UnknownException) |
179 | STD_EXCEPTION(0x1200, DataTLBMiss, UnknownException) | 179 | STD_EXCEPTION(0x1200, DataTLBMiss, UnknownException) |
180 | STD_EXCEPTION(0x1300, InstructionTLBError, UnknownException) | 180 | STD_EXCEPTION(0x1300, InstructionTLBError, UnknownException) |
181 | STD_EXCEPTION(0x1400, DataTLBError, UnknownException) | 181 | STD_EXCEPTION(0x1400, DataTLBError, UnknownException) |
182 | 182 | ||
183 | STD_EXCEPTION(0x1500, Reserved5, UnknownException) | 183 | STD_EXCEPTION(0x1500, Reserved5, UnknownException) |
184 | STD_EXCEPTION(0x1600, Reserved6, UnknownException) | 184 | STD_EXCEPTION(0x1600, Reserved6, UnknownException) |
185 | STD_EXCEPTION(0x1700, Reserved7, UnknownException) | 185 | STD_EXCEPTION(0x1700, Reserved7, UnknownException) |
186 | STD_EXCEPTION(0x1800, Reserved8, UnknownException) | 186 | STD_EXCEPTION(0x1800, Reserved8, UnknownException) |
187 | STD_EXCEPTION(0x1900, Reserved9, UnknownException) | 187 | STD_EXCEPTION(0x1900, Reserved9, UnknownException) |
188 | STD_EXCEPTION(0x1a00, ReservedA, UnknownException) | 188 | STD_EXCEPTION(0x1a00, ReservedA, UnknownException) |
189 | STD_EXCEPTION(0x1b00, ReservedB, UnknownException) | 189 | STD_EXCEPTION(0x1b00, ReservedB, UnknownException) |
190 | 190 | ||
191 | STD_EXCEPTION(0x1c00, DataBreakpoint, UnknownException) | 191 | STD_EXCEPTION(0x1c00, DataBreakpoint, UnknownException) |
192 | STD_EXCEPTION(0x1d00, InstructionBreakpoint, UnknownException) | 192 | STD_EXCEPTION(0x1d00, InstructionBreakpoint, UnknownException) |
193 | STD_EXCEPTION(0x1e00, PeripheralBreakpoint, UnknownException) | 193 | STD_EXCEPTION(0x1e00, PeripheralBreakpoint, UnknownException) |
194 | STD_EXCEPTION(0x1f00, DevPortBreakpoint, UnknownException) | 194 | STD_EXCEPTION(0x1f00, DevPortBreakpoint, UnknownException) |
195 | 195 | ||
196 | .globl _end_of_vectors | 196 | .globl _end_of_vectors |
197 | _end_of_vectors: | 197 | _end_of_vectors: |
198 | 198 | ||
199 | . = 0x2000 | 199 | . = 0x2000 |
200 | 200 | ||
201 | boot_cold: | 201 | boot_cold: |
202 | boot_warm: | 202 | boot_warm: |
203 | /* disable everything */ | 203 | /* disable everything */ |
204 | li r0, 0 | 204 | li r0, 0 |
205 | mtspr HID0, r0 | 205 | mtspr HID0, r0 |
206 | sync | 206 | sync |
207 | mtmsr 0 | 207 | mtmsr 0 |
208 | bl invalidate_bats | 208 | bl invalidate_bats |
209 | sync | 209 | sync |
210 | 210 | ||
211 | #ifdef CFG_L2 | 211 | #ifdef CFG_L2 |
212 | /* init the L2 cache */ | 212 | /* init the L2 cache */ |
213 | addis r3, r0, L2_INIT@h | 213 | addis r3, r0, L2_INIT@h |
214 | ori r3, r3, L2_INIT@l | 214 | ori r3, r3, L2_INIT@l |
215 | sync | 215 | sync |
216 | mtspr l2cr, r3 | 216 | mtspr l2cr, r3 |
217 | #endif | 217 | #endif |
218 | #if defined(CONFIG_ALTIVEC) && defined(CONFIG_74xx) | 218 | #if defined(CONFIG_ALTIVEC) && defined(CONFIG_74xx) |
219 | .long 0x7e00066c | 219 | .long 0x7e00066c |
220 | /* | 220 | /* |
221 | * dssall instruction, gas doesn't have it yet | 221 | * dssall instruction, gas doesn't have it yet |
222 | * ...for altivec, data stream stop all this probably | 222 | * ...for altivec, data stream stop all this probably |
223 | * isn't needed unless we warm (software) reboot U-Boot | 223 | * isn't needed unless we warm (software) reboot U-Boot |
224 | */ | 224 | */ |
225 | #endif | 225 | #endif |
226 | 226 | ||
227 | #ifdef CFG_L2 | 227 | #ifdef CFG_L2 |
228 | /* invalidate the L2 cache */ | 228 | /* invalidate the L2 cache */ |
229 | bl l2cache_invalidate | 229 | bl l2cache_invalidate |
230 | sync | 230 | sync |
231 | #endif | 231 | #endif |
232 | #ifdef CFG_BOARD_ASM_INIT | 232 | #ifdef CFG_BOARD_ASM_INIT |
233 | /* do early init */ | 233 | /* do early init */ |
234 | bl board_asm_init | 234 | bl board_asm_init |
235 | #endif | 235 | #endif |
236 | 236 | ||
237 | /* | 237 | /* |
238 | * Calculate absolute address in FLASH and jump there | 238 | * Calculate absolute address in FLASH and jump there |
239 | *------------------------------------------------------*/ | 239 | *------------------------------------------------------*/ |
240 | lis r3, CFG_MONITOR_BASE@h | 240 | lis r3, CFG_MONITOR_BASE@h |
241 | ori r3, r3, CFG_MONITOR_BASE@l | 241 | ori r3, r3, CFG_MONITOR_BASE@l |
242 | addi r3, r3, in_flash - _start + EXC_OFF_SYS_RESET | 242 | addi r3, r3, in_flash - _start + EXC_OFF_SYS_RESET |
243 | mtlr r3 | 243 | mtlr r3 |
244 | blr | 244 | blr |
245 | 245 | ||
246 | in_flash: | 246 | in_flash: |
247 | /* let the C-code set up the rest */ | 247 | /* let the C-code set up the rest */ |
248 | /* */ | 248 | /* */ |
249 | /* Be careful to keep code relocatable ! */ | 249 | /* Be careful to keep code relocatable ! */ |
250 | /*------------------------------------------------------*/ | 250 | /*------------------------------------------------------*/ |
251 | 251 | ||
252 | /* perform low-level init */ | 252 | /* perform low-level init */ |
253 | /* sdram init, galileo init, etc */ | 253 | /* sdram init, galileo init, etc */ |
254 | /* r3: NHR bit from HID0 */ | 254 | /* r3: NHR bit from HID0 */ |
255 | 255 | ||
256 | /* setup the bats */ | 256 | /* setup the bats */ |
257 | bl setup_bats | 257 | bl setup_bats |
258 | sync | 258 | sync |
259 | 259 | ||
260 | /* | 260 | /* |
261 | * Cache must be enabled here for stack-in-cache trick. | 261 | * Cache must be enabled here for stack-in-cache trick. |
262 | * This means we need to enable the BATS. | 262 | * This means we need to enable the BATS. |
263 | * This means: | 263 | * This means: |
264 | * 1) for the EVB, original gt regs need to be mapped | 264 | * 1) for the EVB, original gt regs need to be mapped |
265 | * 2) need to have an IBAT for the 0xf region, | 265 | * 2) need to have an IBAT for the 0xf region, |
266 | * we are running there! | 266 | * we are running there! |
267 | * Cache should be turned on after BATs, since by default | 267 | * Cache should be turned on after BATs, since by default |
268 | * everything is write-through. | 268 | * everything is write-through. |
269 | * The init-mem BAT can be reused after reloc. The old | 269 | * The init-mem BAT can be reused after reloc. The old |
270 | * gt-regs BAT can be reused after board_init_f calls | 270 | * gt-regs BAT can be reused after board_init_f calls |
271 | * board_early_init_f (EVB only). | 271 | * board_early_init_f (EVB only). |
272 | */ | 272 | */ |
273 | #if !defined(CONFIG_BAB7xx) && !defined(CONFIG_ELPPC) | 273 | #if !defined(CONFIG_BAB7xx) && !defined(CONFIG_ELPPC) |
274 | /* enable address translation */ | 274 | /* enable address translation */ |
275 | bl enable_addr_trans | 275 | bl enable_addr_trans |
276 | sync | 276 | sync |
277 | 277 | ||
278 | /* enable and invalidate the data cache */ | 278 | /* enable and invalidate the data cache */ |
279 | bl l1dcache_enable | 279 | bl l1dcache_enable |
280 | sync | 280 | sync |
281 | #endif | 281 | #endif |
282 | #ifdef CFG_INIT_RAM_LOCK | 282 | #ifdef CFG_INIT_RAM_LOCK |
283 | bl lock_ram_in_cache | 283 | bl lock_ram_in_cache |
284 | sync | 284 | sync |
285 | #endif | 285 | #endif |
286 | 286 | ||
287 | /* set up the stack pointer in our newly created | 287 | /* set up the stack pointer in our newly created |
288 | * cache-ram (r1) */ | 288 | * cache-ram (r1) */ |
289 | lis r1, (CFG_INIT_RAM_ADDR + CFG_GBL_DATA_OFFSET)@h | 289 | lis r1, (CFG_INIT_RAM_ADDR + CFG_GBL_DATA_OFFSET)@h |
290 | ori r1, r1, (CFG_INIT_RAM_ADDR + CFG_GBL_DATA_OFFSET)@l | 290 | ori r1, r1, (CFG_INIT_RAM_ADDR + CFG_GBL_DATA_OFFSET)@l |
291 | 291 | ||
292 | li r0, 0 /* Make room for stack frame header and */ | 292 | li r0, 0 /* Make room for stack frame header and */ |
293 | stwu r0, -4(r1) /* clear final stack frame so that */ | 293 | stwu r0, -4(r1) /* clear final stack frame so that */ |
294 | stwu r0, -4(r1) /* stack backtraces terminate cleanly */ | 294 | stwu r0, -4(r1) /* stack backtraces terminate cleanly */ |
295 | 295 | ||
296 | GET_GOT /* initialize GOT access */ | 296 | GET_GOT /* initialize GOT access */ |
297 | 297 | ||
298 | /* run low-level CPU init code (from Flash) */ | 298 | /* run low-level CPU init code (from Flash) */ |
299 | bl cpu_init_f | 299 | bl cpu_init_f |
300 | sync | 300 | sync |
301 | 301 | ||
302 | mr r3, r21 | 302 | mr r3, r21 |
303 | 303 | ||
304 | /* r3: BOOTFLAG */ | 304 | /* r3: BOOTFLAG */ |
305 | /* run 1st part of board init code (from Flash) */ | 305 | /* run 1st part of board init code (from Flash) */ |
306 | bl board_init_f | 306 | bl board_init_f |
307 | sync | 307 | sync |
308 | 308 | ||
309 | /* NOTREACHED */ | 309 | /* NOTREACHED */ |
310 | 310 | ||
311 | .globl invalidate_bats | 311 | .globl invalidate_bats |
312 | invalidate_bats: | 312 | invalidate_bats: |
313 | /* invalidate BATs */ | 313 | /* invalidate BATs */ |
314 | mtspr IBAT0U, r0 | 314 | mtspr IBAT0U, r0 |
315 | mtspr IBAT1U, r0 | 315 | mtspr IBAT1U, r0 |
316 | mtspr IBAT2U, r0 | 316 | mtspr IBAT2U, r0 |
317 | mtspr IBAT3U, r0 | 317 | mtspr IBAT3U, r0 |
318 | #ifdef CONFIG_750FX | 318 | #ifdef CONFIG_750FX |
319 | mtspr IBAT4U, r0 | 319 | mtspr IBAT4U, r0 |
320 | mtspr IBAT5U, r0 | 320 | mtspr IBAT5U, r0 |
321 | mtspr IBAT6U, r0 | 321 | mtspr IBAT6U, r0 |
322 | mtspr IBAT7U, r0 | 322 | mtspr IBAT7U, r0 |
323 | #endif | 323 | #endif |
324 | isync | 324 | isync |
325 | mtspr DBAT0U, r0 | 325 | mtspr DBAT0U, r0 |
326 | mtspr DBAT1U, r0 | 326 | mtspr DBAT1U, r0 |
327 | mtspr DBAT2U, r0 | 327 | mtspr DBAT2U, r0 |
328 | mtspr DBAT3U, r0 | 328 | mtspr DBAT3U, r0 |
329 | #ifdef CONFIG_750FX | 329 | #ifdef CONFIG_750FX |
330 | mtspr DBAT4U, r0 | 330 | mtspr DBAT4U, r0 |
331 | mtspr DBAT5U, r0 | 331 | mtspr DBAT5U, r0 |
332 | mtspr DBAT6U, r0 | 332 | mtspr DBAT6U, r0 |
333 | mtspr DBAT7U, r0 | 333 | mtspr DBAT7U, r0 |
334 | #endif | 334 | #endif |
335 | isync | 335 | isync |
336 | sync | 336 | sync |
337 | blr | 337 | blr |
338 | 338 | ||
339 | /* setup_bats - set them up to some initial state */ | 339 | /* setup_bats - set them up to some initial state */ |
340 | .globl setup_bats | 340 | .globl setup_bats |
341 | setup_bats: | 341 | setup_bats: |
342 | addis r0, r0, 0x0000 | 342 | addis r0, r0, 0x0000 |
343 | 343 | ||
344 | /* IBAT 0 */ | 344 | /* IBAT 0 */ |
345 | addis r4, r0, CFG_IBAT0L@h | 345 | addis r4, r0, CFG_IBAT0L@h |
346 | ori r4, r4, CFG_IBAT0L@l | 346 | ori r4, r4, CFG_IBAT0L@l |
347 | addis r3, r0, CFG_IBAT0U@h | 347 | addis r3, r0, CFG_IBAT0U@h |
348 | ori r3, r3, CFG_IBAT0U@l | 348 | ori r3, r3, CFG_IBAT0U@l |
349 | mtspr IBAT0L, r4 | 349 | mtspr IBAT0L, r4 |
350 | mtspr IBAT0U, r3 | 350 | mtspr IBAT0U, r3 |
351 | isync | 351 | isync |
352 | 352 | ||
353 | /* DBAT 0 */ | 353 | /* DBAT 0 */ |
354 | addis r4, r0, CFG_DBAT0L@h | 354 | addis r4, r0, CFG_DBAT0L@h |
355 | ori r4, r4, CFG_DBAT0L@l | 355 | ori r4, r4, CFG_DBAT0L@l |
356 | addis r3, r0, CFG_DBAT0U@h | 356 | addis r3, r0, CFG_DBAT0U@h |
357 | ori r3, r3, CFG_DBAT0U@l | 357 | ori r3, r3, CFG_DBAT0U@l |
358 | mtspr DBAT0L, r4 | 358 | mtspr DBAT0L, r4 |
359 | mtspr DBAT0U, r3 | 359 | mtspr DBAT0U, r3 |
360 | isync | 360 | isync |
361 | 361 | ||
362 | /* IBAT 1 */ | 362 | /* IBAT 1 */ |
363 | addis r4, r0, CFG_IBAT1L@h | 363 | addis r4, r0, CFG_IBAT1L@h |
364 | ori r4, r4, CFG_IBAT1L@l | 364 | ori r4, r4, CFG_IBAT1L@l |
365 | addis r3, r0, CFG_IBAT1U@h | 365 | addis r3, r0, CFG_IBAT1U@h |
366 | ori r3, r3, CFG_IBAT1U@l | 366 | ori r3, r3, CFG_IBAT1U@l |
367 | mtspr IBAT1L, r4 | 367 | mtspr IBAT1L, r4 |
368 | mtspr IBAT1U, r3 | 368 | mtspr IBAT1U, r3 |
369 | isync | 369 | isync |
370 | 370 | ||
371 | /* DBAT 1 */ | 371 | /* DBAT 1 */ |
372 | addis r4, r0, CFG_DBAT1L@h | 372 | addis r4, r0, CFG_DBAT1L@h |
373 | ori r4, r4, CFG_DBAT1L@l | 373 | ori r4, r4, CFG_DBAT1L@l |
374 | addis r3, r0, CFG_DBAT1U@h | 374 | addis r3, r0, CFG_DBAT1U@h |
375 | ori r3, r3, CFG_DBAT1U@l | 375 | ori r3, r3, CFG_DBAT1U@l |
376 | mtspr DBAT1L, r4 | 376 | mtspr DBAT1L, r4 |
377 | mtspr DBAT1U, r3 | 377 | mtspr DBAT1U, r3 |
378 | isync | 378 | isync |
379 | 379 | ||
380 | /* IBAT 2 */ | 380 | /* IBAT 2 */ |
381 | addis r4, r0, CFG_IBAT2L@h | 381 | addis r4, r0, CFG_IBAT2L@h |
382 | ori r4, r4, CFG_IBAT2L@l | 382 | ori r4, r4, CFG_IBAT2L@l |
383 | addis r3, r0, CFG_IBAT2U@h | 383 | addis r3, r0, CFG_IBAT2U@h |
384 | ori r3, r3, CFG_IBAT2U@l | 384 | ori r3, r3, CFG_IBAT2U@l |
385 | mtspr IBAT2L, r4 | 385 | mtspr IBAT2L, r4 |
386 | mtspr IBAT2U, r3 | 386 | mtspr IBAT2U, r3 |
387 | isync | 387 | isync |
388 | 388 | ||
389 | /* DBAT 2 */ | 389 | /* DBAT 2 */ |
390 | addis r4, r0, CFG_DBAT2L@h | 390 | addis r4, r0, CFG_DBAT2L@h |
391 | ori r4, r4, CFG_DBAT2L@l | 391 | ori r4, r4, CFG_DBAT2L@l |
392 | addis r3, r0, CFG_DBAT2U@h | 392 | addis r3, r0, CFG_DBAT2U@h |
393 | ori r3, r3, CFG_DBAT2U@l | 393 | ori r3, r3, CFG_DBAT2U@l |
394 | mtspr DBAT2L, r4 | 394 | mtspr DBAT2L, r4 |
395 | mtspr DBAT2U, r3 | 395 | mtspr DBAT2U, r3 |
396 | isync | 396 | isync |
397 | 397 | ||
398 | /* IBAT 3 */ | 398 | /* IBAT 3 */ |
399 | addis r4, r0, CFG_IBAT3L@h | 399 | addis r4, r0, CFG_IBAT3L@h |
400 | ori r4, r4, CFG_IBAT3L@l | 400 | ori r4, r4, CFG_IBAT3L@l |
401 | addis r3, r0, CFG_IBAT3U@h | 401 | addis r3, r0, CFG_IBAT3U@h |
402 | ori r3, r3, CFG_IBAT3U@l | 402 | ori r3, r3, CFG_IBAT3U@l |
403 | mtspr IBAT3L, r4 | 403 | mtspr IBAT3L, r4 |
404 | mtspr IBAT3U, r3 | 404 | mtspr IBAT3U, r3 |
405 | isync | 405 | isync |
406 | 406 | ||
407 | /* DBAT 3 */ | 407 | /* DBAT 3 */ |
408 | addis r4, r0, CFG_DBAT3L@h | 408 | addis r4, r0, CFG_DBAT3L@h |
409 | ori r4, r4, CFG_DBAT3L@l | 409 | ori r4, r4, CFG_DBAT3L@l |
410 | addis r3, r0, CFG_DBAT3U@h | 410 | addis r3, r0, CFG_DBAT3U@h |
411 | ori r3, r3, CFG_DBAT3U@l | 411 | ori r3, r3, CFG_DBAT3U@l |
412 | mtspr DBAT3L, r4 | 412 | mtspr DBAT3L, r4 |
413 | mtspr DBAT3U, r3 | 413 | mtspr DBAT3U, r3 |
414 | isync | 414 | isync |
415 | 415 | ||
416 | #ifdef CONFIG_750FX | 416 | #ifdef CONFIG_750FX |
417 | /* IBAT 4 */ | 417 | /* IBAT 4 */ |
418 | addis r4, r0, CFG_IBAT4L@h | 418 | addis r4, r0, CFG_IBAT4L@h |
419 | ori r4, r4, CFG_IBAT4L@l | 419 | ori r4, r4, CFG_IBAT4L@l |
420 | addis r3, r0, CFG_IBAT4U@h | 420 | addis r3, r0, CFG_IBAT4U@h |
421 | ori r3, r3, CFG_IBAT4U@l | 421 | ori r3, r3, CFG_IBAT4U@l |
422 | mtspr IBAT4L, r4 | 422 | mtspr IBAT4L, r4 |
423 | mtspr IBAT4U, r3 | 423 | mtspr IBAT4U, r3 |
424 | isync | 424 | isync |
425 | 425 | ||
426 | /* DBAT 4 */ | 426 | /* DBAT 4 */ |
427 | addis r4, r0, CFG_DBAT4L@h | 427 | addis r4, r0, CFG_DBAT4L@h |
428 | ori r4, r4, CFG_DBAT4L@l | 428 | ori r4, r4, CFG_DBAT4L@l |
429 | addis r3, r0, CFG_DBAT4U@h | 429 | addis r3, r0, CFG_DBAT4U@h |
430 | ori r3, r3, CFG_DBAT4U@l | 430 | ori r3, r3, CFG_DBAT4U@l |
431 | mtspr DBAT4L, r4 | 431 | mtspr DBAT4L, r4 |
432 | mtspr DBAT4U, r3 | 432 | mtspr DBAT4U, r3 |
433 | isync | 433 | isync |
434 | 434 | ||
435 | /* IBAT 5 */ | 435 | /* IBAT 5 */ |
436 | addis r4, r0, CFG_IBAT5L@h | 436 | addis r4, r0, CFG_IBAT5L@h |
437 | ori r4, r4, CFG_IBAT5L@l | 437 | ori r4, r4, CFG_IBAT5L@l |
438 | addis r3, r0, CFG_IBAT5U@h | 438 | addis r3, r0, CFG_IBAT5U@h |
439 | ori r3, r3, CFG_IBAT5U@l | 439 | ori r3, r3, CFG_IBAT5U@l |
440 | mtspr IBAT5L, r4 | 440 | mtspr IBAT5L, r4 |
441 | mtspr IBAT5U, r3 | 441 | mtspr IBAT5U, r3 |
442 | isync | 442 | isync |
443 | 443 | ||
444 | /* DBAT 5 */ | 444 | /* DBAT 5 */ |
445 | addis r4, r0, CFG_DBAT5L@h | 445 | addis r4, r0, CFG_DBAT5L@h |
446 | ori r4, r4, CFG_DBAT5L@l | 446 | ori r4, r4, CFG_DBAT5L@l |
447 | addis r3, r0, CFG_DBAT5U@h | 447 | addis r3, r0, CFG_DBAT5U@h |
448 | ori r3, r3, CFG_DBAT5U@l | 448 | ori r3, r3, CFG_DBAT5U@l |
449 | mtspr DBAT5L, r4 | 449 | mtspr DBAT5L, r4 |
450 | mtspr DBAT5U, r3 | 450 | mtspr DBAT5U, r3 |
451 | isync | 451 | isync |
452 | 452 | ||
453 | /* IBAT 6 */ | 453 | /* IBAT 6 */ |
454 | addis r4, r0, CFG_IBAT6L@h | 454 | addis r4, r0, CFG_IBAT6L@h |
455 | ori r4, r4, CFG_IBAT6L@l | 455 | ori r4, r4, CFG_IBAT6L@l |
456 | addis r3, r0, CFG_IBAT6U@h | 456 | addis r3, r0, CFG_IBAT6U@h |
457 | ori r3, r3, CFG_IBAT6U@l | 457 | ori r3, r3, CFG_IBAT6U@l |
458 | mtspr IBAT6L, r4 | 458 | mtspr IBAT6L, r4 |
459 | mtspr IBAT6U, r3 | 459 | mtspr IBAT6U, r3 |
460 | isync | 460 | isync |
461 | 461 | ||
462 | /* DBAT 6 */ | 462 | /* DBAT 6 */ |
463 | addis r4, r0, CFG_DBAT6L@h | 463 | addis r4, r0, CFG_DBAT6L@h |
464 | ori r4, r4, CFG_DBAT6L@l | 464 | ori r4, r4, CFG_DBAT6L@l |
465 | addis r3, r0, CFG_DBAT6U@h | 465 | addis r3, r0, CFG_DBAT6U@h |
466 | ori r3, r3, CFG_DBAT6U@l | 466 | ori r3, r3, CFG_DBAT6U@l |
467 | mtspr DBAT6L, r4 | 467 | mtspr DBAT6L, r4 |
468 | mtspr DBAT6U, r3 | 468 | mtspr DBAT6U, r3 |
469 | isync | 469 | isync |
470 | 470 | ||
471 | /* IBAT 7 */ | 471 | /* IBAT 7 */ |
472 | addis r4, r0, CFG_IBAT7L@h | 472 | addis r4, r0, CFG_IBAT7L@h |
473 | ori r4, r4, CFG_IBAT7L@l | 473 | ori r4, r4, CFG_IBAT7L@l |
474 | addis r3, r0, CFG_IBAT7U@h | 474 | addis r3, r0, CFG_IBAT7U@h |
475 | ori r3, r3, CFG_IBAT7U@l | 475 | ori r3, r3, CFG_IBAT7U@l |
476 | mtspr IBAT7L, r4 | 476 | mtspr IBAT7L, r4 |
477 | mtspr IBAT7U, r3 | 477 | mtspr IBAT7U, r3 |
478 | isync | 478 | isync |
479 | 479 | ||
480 | /* DBAT 7 */ | 480 | /* DBAT 7 */ |
481 | addis r4, r0, CFG_DBAT7L@h | 481 | addis r4, r0, CFG_DBAT7L@h |
482 | ori r4, r4, CFG_DBAT7L@l | 482 | ori r4, r4, CFG_DBAT7L@l |
483 | addis r3, r0, CFG_DBAT7U@h | 483 | addis r3, r0, CFG_DBAT7U@h |
484 | ori r3, r3, CFG_DBAT7U@l | 484 | ori r3, r3, CFG_DBAT7U@l |
485 | mtspr DBAT7L, r4 | 485 | mtspr DBAT7L, r4 |
486 | mtspr DBAT7U, r3 | 486 | mtspr DBAT7U, r3 |
487 | isync | 487 | isync |
488 | #endif | 488 | #endif |
489 | 489 | ||
490 | /* bats are done, now invalidate the TLBs */ | 490 | /* bats are done, now invalidate the TLBs */ |
491 | 491 | ||
492 | addis r3, 0, 0x0000 | 492 | addis r3, 0, 0x0000 |
493 | addis r5, 0, 0x4 /* upper bound of 0x00040000 for 7400/750 */ | 493 | addis r5, 0, 0x4 /* upper bound of 0x00040000 for 7400/750 */ |
494 | 494 | ||
495 | isync | 495 | isync |
496 | 496 | ||
497 | tlblp: | 497 | tlblp: |
498 | tlbie r3 | 498 | tlbie r3 |
499 | sync | 499 | sync |
500 | addi r3, r3, 0x1000 | 500 | addi r3, r3, 0x1000 |
501 | cmp 0, 0, r3, r5 | 501 | cmp 0, 0, r3, r5 |
502 | blt tlblp | 502 | blt tlblp |
503 | 503 | ||
504 | blr | 504 | blr |
505 | 505 | ||
506 | .globl enable_addr_trans | 506 | .globl enable_addr_trans |
507 | enable_addr_trans: | 507 | enable_addr_trans: |
508 | /* enable address translation */ | 508 | /* enable address translation */ |
509 | mfmsr r5 | 509 | mfmsr r5 |
510 | ori r5, r5, (MSR_IR | MSR_DR) | 510 | ori r5, r5, (MSR_IR | MSR_DR) |
511 | mtmsr r5 | 511 | mtmsr r5 |
512 | isync | 512 | isync |
513 | blr | 513 | blr |
514 | 514 | ||
515 | .globl disable_addr_trans | 515 | .globl disable_addr_trans |
516 | disable_addr_trans: | 516 | disable_addr_trans: |
517 | /* disable address translation */ | 517 | /* disable address translation */ |
518 | mflr r4 | 518 | mflr r4 |
519 | mfmsr r3 | 519 | mfmsr r3 |
520 | andi. r0, r3, (MSR_IR | MSR_DR) | 520 | andi. r0, r3, (MSR_IR | MSR_DR) |
521 | beqlr | 521 | beqlr |
522 | andc r3, r3, r0 | 522 | andc r3, r3, r0 |
523 | mtspr SRR0, r4 | 523 | mtspr SRR0, r4 |
524 | mtspr SRR1, r3 | 524 | mtspr SRR1, r3 |
525 | rfi | 525 | rfi |
526 | 526 | ||
527 | /* | 527 | /* |
528 | * This code finishes saving the registers to the exception frame | 528 | * This code finishes saving the registers to the exception frame |
529 | * and jumps to the appropriate handler for the exception. | 529 | * and jumps to the appropriate handler for the exception. |
530 | * Register r21 is pointer into trap frame, r1 has new stack pointer. | 530 | * Register r21 is pointer into trap frame, r1 has new stack pointer. |
531 | */ | 531 | */ |
532 | .globl transfer_to_handler | 532 | .globl transfer_to_handler |
533 | transfer_to_handler: | 533 | transfer_to_handler: |
534 | stw r22,_NIP(r21) | 534 | stw r22,_NIP(r21) |
535 | lis r22,MSR_POW@h | 535 | lis r22,MSR_POW@h |
536 | andc r23,r23,r22 | 536 | andc r23,r23,r22 |
537 | stw r23,_MSR(r21) | 537 | stw r23,_MSR(r21) |
538 | SAVE_GPR(7, r21) | 538 | SAVE_GPR(7, r21) |
539 | SAVE_4GPRS(8, r21) | 539 | SAVE_4GPRS(8, r21) |
540 | SAVE_8GPRS(12, r21) | 540 | SAVE_8GPRS(12, r21) |
541 | SAVE_8GPRS(24, r21) | 541 | SAVE_8GPRS(24, r21) |
542 | mflr r23 | 542 | mflr r23 |
543 | andi. r24,r23,0x3f00 /* get vector offset */ | 543 | andi. r24,r23,0x3f00 /* get vector offset */ |
544 | stw r24,TRAP(r21) | 544 | stw r24,TRAP(r21) |
545 | li r22,0 | 545 | li r22,0 |
546 | stw r22,RESULT(r21) | 546 | stw r22,RESULT(r21) |
547 | mtspr SPRG2,r22 /* r1 is now kernel sp */ | 547 | mtspr SPRG2,r22 /* r1 is now kernel sp */ |
548 | lwz r24,0(r23) /* virtual address of handler */ | 548 | lwz r24,0(r23) /* virtual address of handler */ |
549 | lwz r23,4(r23) /* where to go when done */ | 549 | lwz r23,4(r23) /* where to go when done */ |
550 | mtspr SRR0,r24 | 550 | mtspr SRR0,r24 |
551 | mtspr SRR1,r20 | 551 | mtspr SRR1,r20 |
552 | mtlr r23 | 552 | mtlr r23 |
553 | SYNC | 553 | SYNC |
554 | rfi /* jump to handler, enable MMU */ | 554 | rfi /* jump to handler, enable MMU */ |
555 | 555 | ||
556 | int_return: | 556 | int_return: |
557 | mfmsr r28 /* Disable interrupts */ | 557 | mfmsr r28 /* Disable interrupts */ |
558 | li r4,0 | 558 | li r4,0 |
559 | ori r4,r4,MSR_EE | 559 | ori r4,r4,MSR_EE |
560 | andc r28,r28,r4 | 560 | andc r28,r28,r4 |
561 | SYNC /* Some chip revs need this... */ | 561 | SYNC /* Some chip revs need this... */ |
562 | mtmsr r28 | 562 | mtmsr r28 |
563 | SYNC | 563 | SYNC |
564 | lwz r2,_CTR(r1) | 564 | lwz r2,_CTR(r1) |
565 | lwz r0,_LINK(r1) | 565 | lwz r0,_LINK(r1) |
566 | mtctr r2 | 566 | mtctr r2 |
567 | mtlr r0 | 567 | mtlr r0 |
568 | lwz r2,_XER(r1) | 568 | lwz r2,_XER(r1) |
569 | lwz r0,_CCR(r1) | 569 | lwz r0,_CCR(r1) |
570 | mtspr XER,r2 | 570 | mtspr XER,r2 |
571 | mtcrf 0xFF,r0 | 571 | mtcrf 0xFF,r0 |
572 | REST_10GPRS(3, r1) | 572 | REST_10GPRS(3, r1) |
573 | REST_10GPRS(13, r1) | 573 | REST_10GPRS(13, r1) |
574 | REST_8GPRS(23, r1) | 574 | REST_8GPRS(23, r1) |
575 | REST_GPR(31, r1) | 575 | REST_GPR(31, r1) |
576 | lwz r2,_NIP(r1) /* Restore environment */ | 576 | lwz r2,_NIP(r1) /* Restore environment */ |
577 | lwz r0,_MSR(r1) | 577 | lwz r0,_MSR(r1) |
578 | mtspr SRR0,r2 | 578 | mtspr SRR0,r2 |
579 | mtspr SRR1,r0 | 579 | mtspr SRR1,r0 |
580 | lwz r0,GPR0(r1) | 580 | lwz r0,GPR0(r1) |
581 | lwz r2,GPR2(r1) | 581 | lwz r2,GPR2(r1) |
582 | lwz r1,GPR1(r1) | 582 | lwz r1,GPR1(r1) |
583 | SYNC | 583 | SYNC |
584 | rfi | 584 | rfi |
585 | 585 | ||
586 | .globl dc_read | 586 | .globl dc_read |
587 | dc_read: | 587 | dc_read: |
588 | blr | 588 | blr |
589 | 589 | ||
590 | .globl get_pvr | 590 | .globl get_pvr |
591 | get_pvr: | 591 | get_pvr: |
592 | mfspr r3, PVR | 592 | mfspr r3, PVR |
593 | blr | 593 | blr |
594 | 594 | ||
595 | /*-----------------------------------------------------------------------*/ | 595 | /*-----------------------------------------------------------------------*/ |
596 | /* | 596 | /* |
597 | * void relocate_code (addr_sp, gd, addr_moni) | 597 | * void relocate_code (addr_sp, gd, addr_moni) |
598 | * | 598 | * |
599 | * This "function" does not return, instead it continues in RAM | 599 | * This "function" does not return, instead it continues in RAM |
600 | * after relocating the monitor code. | 600 | * after relocating the monitor code. |
601 | * | 601 | * |
602 | * r3 = dest | 602 | * r3 = dest |
603 | * r4 = src | 603 | * r4 = src |
604 | * r5 = length in bytes | 604 | * r5 = length in bytes |
605 | * r6 = cachelinesize | 605 | * r6 = cachelinesize |
606 | */ | 606 | */ |
607 | .globl relocate_code | 607 | .globl relocate_code |
608 | relocate_code: | 608 | relocate_code: |
609 | mr r1, r3 /* Set new stack pointer */ | 609 | mr r1, r3 /* Set new stack pointer */ |
610 | mr r9, r4 /* Save copy of Global Data pointer */ | 610 | mr r9, r4 /* Save copy of Global Data pointer */ |
611 | mr r10, r5 /* Save copy of Destination Address */ | 611 | mr r10, r5 /* Save copy of Destination Address */ |
612 | 612 | ||
613 | mr r3, r5 /* Destination Address */ | 613 | mr r3, r5 /* Destination Address */ |
614 | lis r4, CFG_MONITOR_BASE@h /* Source Address */ | 614 | lis r4, CFG_MONITOR_BASE@h /* Source Address */ |
615 | ori r4, r4, CFG_MONITOR_BASE@l | 615 | ori r4, r4, CFG_MONITOR_BASE@l |
616 | lwz r5, GOT(__init_end) | 616 | lwz r5, GOT(__init_end) |
617 | sub r5, r5, r4 | 617 | sub r5, r5, r4 |
618 | li r6, CFG_CACHELINE_SIZE /* Cache Line Size */ | 618 | li r6, CFG_CACHELINE_SIZE /* Cache Line Size */ |
619 | 619 | ||
620 | /* | 620 | /* |
621 | * Fix GOT pointer: | 621 | * Fix GOT pointer: |
622 | * | 622 | * |
623 | * New GOT-PTR = (old GOT-PTR - CFG_MONITOR_BASE) + Destination Address | 623 | * New GOT-PTR = (old GOT-PTR - CFG_MONITOR_BASE) + Destination Address |
624 | * | 624 | * |
625 | * Offset: | 625 | * Offset: |
626 | */ | 626 | */ |
627 | sub r15, r10, r4 | 627 | sub r15, r10, r4 |
628 | 628 | ||
629 | /* First our own GOT */ | 629 | /* First our own GOT */ |
630 | add r14, r14, r15 | 630 | add r14, r14, r15 |
631 | /* then the one used by the C code */ | 631 | /* then the one used by the C code */ |
632 | add r30, r30, r15 | 632 | add r30, r30, r15 |
633 | 633 | ||
634 | /* | 634 | /* |
635 | * Now relocate code | 635 | * Now relocate code |
636 | */ | 636 | */ |
637 | #ifdef CONFIG_ECC | 637 | #ifdef CONFIG_ECC |
638 | bl board_relocate_rom | 638 | bl board_relocate_rom |
639 | sync | 639 | sync |
640 | mr r3, r10 /* Destination Address */ | 640 | mr r3, r10 /* Destination Address */ |
641 | lis r4, CFG_MONITOR_BASE@h /* Source Address */ | 641 | lis r4, CFG_MONITOR_BASE@h /* Source Address */ |
642 | ori r4, r4, CFG_MONITOR_BASE@l | 642 | ori r4, r4, CFG_MONITOR_BASE@l |
643 | lwz r5, GOT(__init_end) | 643 | lwz r5, GOT(__init_end) |
644 | sub r5, r5, r4 | 644 | sub r5, r5, r4 |
645 | li r6, CFG_CACHELINE_SIZE /* Cache Line Size */ | 645 | li r6, CFG_CACHELINE_SIZE /* Cache Line Size */ |
646 | #else | 646 | #else |
647 | cmplw cr1,r3,r4 | 647 | cmplw cr1,r3,r4 |
648 | addi r0,r5,3 | 648 | addi r0,r5,3 |
649 | srwi. r0,r0,2 | 649 | srwi. r0,r0,2 |
650 | beq cr1,4f /* In place copy is not necessary */ | 650 | beq cr1,4f /* In place copy is not necessary */ |
651 | beq 7f /* Protect against 0 count */ | 651 | beq 7f /* Protect against 0 count */ |
652 | mtctr r0 | 652 | mtctr r0 |
653 | bge cr1,2f | 653 | bge cr1,2f |
654 | 654 | ||
655 | la r8,-4(r4) | 655 | la r8,-4(r4) |
656 | la r7,-4(r3) | 656 | la r7,-4(r3) |
657 | 1: lwzu r0,4(r8) | 657 | 1: lwzu r0,4(r8) |
658 | stwu r0,4(r7) | 658 | stwu r0,4(r7) |
659 | bdnz 1b | 659 | bdnz 1b |
660 | b 4f | 660 | b 4f |
661 | 661 | ||
662 | 2: slwi r0,r0,2 | 662 | 2: slwi r0,r0,2 |
663 | add r8,r4,r0 | 663 | add r8,r4,r0 |
664 | add r7,r3,r0 | 664 | add r7,r3,r0 |
665 | 3: lwzu r0,-4(r8) | 665 | 3: lwzu r0,-4(r8) |
666 | stwu r0,-4(r7) | 666 | stwu r0,-4(r7) |
667 | bdnz 3b | 667 | bdnz 3b |
668 | #endif | 668 | #endif |
669 | /* | 669 | /* |
670 | * Now flush the cache: note that we must start from a cache aligned | 670 | * Now flush the cache: note that we must start from a cache aligned |
671 | * address. Otherwise we might miss one cache line. | 671 | * address. Otherwise we might miss one cache line. |
672 | */ | 672 | */ |
673 | 4: cmpwi r6,0 | 673 | 4: cmpwi r6,0 |
674 | add r5,r3,r5 | 674 | add r5,r3,r5 |
675 | beq 7f /* Always flush prefetch queue in any case */ | 675 | beq 7f /* Always flush prefetch queue in any case */ |
676 | subi r0,r6,1 | 676 | subi r0,r6,1 |
677 | andc r3,r3,r0 | 677 | andc r3,r3,r0 |
678 | mr r4,r3 | 678 | mr r4,r3 |
679 | 5: dcbst 0,r4 | 679 | 5: dcbst 0,r4 |
680 | add r4,r4,r6 | 680 | add r4,r4,r6 |
681 | cmplw r4,r5 | 681 | cmplw r4,r5 |
682 | blt 5b | 682 | blt 5b |
683 | sync /* Wait for all dcbst to complete on bus */ | 683 | sync /* Wait for all dcbst to complete on bus */ |
684 | mr r4,r3 | 684 | mr r4,r3 |
685 | 6: icbi 0,r4 | 685 | 6: icbi 0,r4 |
686 | add r4,r4,r6 | 686 | add r4,r4,r6 |
687 | cmplw r4,r5 | 687 | cmplw r4,r5 |
688 | blt 6b | 688 | blt 6b |
689 | 7: sync /* Wait for all icbi to complete on bus */ | 689 | 7: sync /* Wait for all icbi to complete on bus */ |
690 | isync | 690 | isync |
691 | 691 | ||
692 | /* | 692 | /* |
693 | * We are done. Do not return, instead branch to second part of board | 693 | * We are done. Do not return, instead branch to second part of board |
694 | * initialization, now running from RAM. | 694 | * initialization, now running from RAM. |
695 | */ | 695 | */ |
696 | addi r0, r10, in_ram - _start + EXC_OFF_SYS_RESET | 696 | addi r0, r10, in_ram - _start + EXC_OFF_SYS_RESET |
697 | mtlr r0 | 697 | mtlr r0 |
698 | blr | 698 | blr |
699 | 699 | ||
700 | in_ram: | 700 | in_ram: |
701 | #ifdef CONFIG_ECC | 701 | #ifdef CONFIG_ECC |
702 | bl board_init_ecc | 702 | bl board_init_ecc |
703 | #endif | 703 | #endif |
704 | /* | 704 | /* |
705 | * Relocation Function, r14 point to got2+0x8000 | 705 | * Relocation Function, r14 point to got2+0x8000 |
706 | * | 706 | * |
707 | * Adjust got2 pointers, no need to check for 0, this code | 707 | * Adjust got2 pointers, no need to check for 0, this code |
708 | * already puts a few entries in the table. | 708 | * already puts a few entries in the table. |
709 | */ | 709 | */ |
710 | li r0,__got2_entries@sectoff@l | 710 | li r0,__got2_entries@sectoff@l |
711 | la r3,GOT(_GOT2_TABLE_) | 711 | la r3,GOT(_GOT2_TABLE_) |
712 | lwz r11,GOT(_GOT2_TABLE_) | 712 | lwz r11,GOT(_GOT2_TABLE_) |
713 | mtctr r0 | 713 | mtctr r0 |
714 | sub r11,r3,r11 | 714 | sub r11,r3,r11 |
715 | addi r3,r3,-4 | 715 | addi r3,r3,-4 |
716 | 1: lwzu r0,4(r3) | 716 | 1: lwzu r0,4(r3) |
717 | add r0,r0,r11 | 717 | add r0,r0,r11 |
718 | stw r0,0(r3) | 718 | stw r0,0(r3) |
719 | bdnz 1b | 719 | bdnz 1b |
720 | 720 | ||
721 | /* | 721 | /* |
722 | * Now adjust the fixups and the pointers to the fixups | 722 | * Now adjust the fixups and the pointers to the fixups |
723 | * in case we need to move ourselves again. | 723 | * in case we need to move ourselves again. |
724 | */ | 724 | */ |
725 | 2: li r0,__fixup_entries@sectoff@l | 725 | 2: li r0,__fixup_entries@sectoff@l |
726 | lwz r3,GOT(_FIXUP_TABLE_) | 726 | lwz r3,GOT(_FIXUP_TABLE_) |
727 | cmpwi r0,0 | 727 | cmpwi r0,0 |
728 | mtctr r0 | 728 | mtctr r0 |
729 | addi r3,r3,-4 | 729 | addi r3,r3,-4 |
730 | beq 4f | 730 | beq 4f |
731 | 3: lwzu r4,4(r3) | 731 | 3: lwzu r4,4(r3) |
732 | lwzux r0,r4,r11 | 732 | lwzux r0,r4,r11 |
733 | add r0,r0,r11 | 733 | add r0,r0,r11 |
734 | stw r10,0(r3) | 734 | stw r10,0(r3) |
735 | stw r0,0(r4) | 735 | stw r0,0(r4) |
736 | bdnz 3b | 736 | bdnz 3b |
737 | 4: | 737 | 4: |
738 | /* clear_bss: */ | 738 | /* clear_bss: */ |
739 | /* | 739 | /* |
740 | * Now clear BSS segment | 740 | * Now clear BSS segment |
741 | */ | 741 | */ |
742 | lwz r3,GOT(__bss_start) | 742 | lwz r3,GOT(__bss_start) |
743 | lwz r4,GOT(_end) | 743 | lwz r4,GOT(_end) |
744 | 744 | ||
745 | cmplw 0, r3, r4 | 745 | cmplw 0, r3, r4 |
746 | beq 6f | 746 | beq 6f |
747 | 747 | ||
748 | li r0, 0 | 748 | li r0, 0 |
749 | 5: | 749 | 5: |
750 | stw r0, 0(r3) | 750 | stw r0, 0(r3) |
751 | addi r3, r3, 4 | 751 | addi r3, r3, 4 |
752 | cmplw 0, r3, r4 | 752 | cmplw 0, r3, r4 |
753 | bne 5b | 753 | bne 5b |
754 | 6: | 754 | 6: |
755 | mr r3, r10 /* Destination Address */ | 755 | mr r3, r10 /* Destination Address */ |
756 | #if defined(CONFIG_AMIGAONEG3SE) || \ | 756 | #if defined(CONFIG_AMIGAONEG3SE) || \ |
757 | defined(CONFIG_DB64360) || \ | 757 | defined(CONFIG_DB64360) || \ |
758 | defined(CONFIG_DB64460) || \ | 758 | defined(CONFIG_DB64460) || \ |
759 | defined(CONFIG_CPCI750) | 759 | defined(CONFIG_CPCI750) || \ |
760 | defined(CONFIG_PPMC7XX) | ||
760 | mr r4, r9 /* Use RAM copy of the global data */ | 761 | mr r4, r9 /* Use RAM copy of the global data */ |
761 | #endif | 762 | #endif |
762 | bl after_reloc | 763 | bl after_reloc |
763 | 764 | ||
764 | /* not reached - end relocate_code */ | 765 | /* not reached - end relocate_code */ |
765 | /*-----------------------------------------------------------------------*/ | 766 | /*-----------------------------------------------------------------------*/ |
766 | 767 | ||
767 | /* | 768 | /* |
768 | * Copy exception vector code to low memory | 769 | * Copy exception vector code to low memory |
769 | * | 770 | * |
770 | * r3: dest_addr | 771 | * r3: dest_addr |
771 | * r7: source address, r8: end address, r9: target address | 772 | * r7: source address, r8: end address, r9: target address |
772 | */ | 773 | */ |
773 | .globl trap_init | 774 | .globl trap_init |
774 | trap_init: | 775 | trap_init: |
775 | lwz r7, GOT(_start) | 776 | lwz r7, GOT(_start) |
776 | lwz r8, GOT(_end_of_vectors) | 777 | lwz r8, GOT(_end_of_vectors) |
777 | 778 | ||
778 | li r9, 0x100 /* reset vector always at 0x100 */ | 779 | li r9, 0x100 /* reset vector always at 0x100 */ |
779 | 780 | ||
780 | cmplw 0, r7, r8 | 781 | cmplw 0, r7, r8 |
781 | bgelr /* return if r7>=r8 - just in case */ | 782 | bgelr /* return if r7>=r8 - just in case */ |
782 | 783 | ||
783 | mflr r4 /* save link register */ | 784 | mflr r4 /* save link register */ |
784 | 1: | 785 | 1: |
785 | lwz r0, 0(r7) | 786 | lwz r0, 0(r7) |
786 | stw r0, 0(r9) | 787 | stw r0, 0(r9) |
787 | addi r7, r7, 4 | 788 | addi r7, r7, 4 |
788 | addi r9, r9, 4 | 789 | addi r9, r9, 4 |
789 | cmplw 0, r7, r8 | 790 | cmplw 0, r7, r8 |
790 | bne 1b | 791 | bne 1b |
791 | 792 | ||
792 | /* | 793 | /* |
793 | * relocate `hdlr' and `int_return' entries | 794 | * relocate `hdlr' and `int_return' entries |
794 | */ | 795 | */ |
795 | li r7, .L_MachineCheck - _start + EXC_OFF_SYS_RESET | 796 | li r7, .L_MachineCheck - _start + EXC_OFF_SYS_RESET |
796 | li r8, Alignment - _start + EXC_OFF_SYS_RESET | 797 | li r8, Alignment - _start + EXC_OFF_SYS_RESET |
797 | 2: | 798 | 2: |
798 | bl trap_reloc | 799 | bl trap_reloc |
799 | addi r7, r7, 0x100 /* next exception vector */ | 800 | addi r7, r7, 0x100 /* next exception vector */ |
800 | cmplw 0, r7, r8 | 801 | cmplw 0, r7, r8 |
801 | blt 2b | 802 | blt 2b |
802 | 803 | ||
803 | li r7, .L_Alignment - _start + EXC_OFF_SYS_RESET | 804 | li r7, .L_Alignment - _start + EXC_OFF_SYS_RESET |
804 | bl trap_reloc | 805 | bl trap_reloc |
805 | 806 | ||
806 | li r7, .L_ProgramCheck - _start + EXC_OFF_SYS_RESET | 807 | li r7, .L_ProgramCheck - _start + EXC_OFF_SYS_RESET |
807 | bl trap_reloc | 808 | bl trap_reloc |
808 | 809 | ||
809 | li r7, .L_FPUnavailable - _start + EXC_OFF_SYS_RESET | 810 | li r7, .L_FPUnavailable - _start + EXC_OFF_SYS_RESET |
810 | li r8, SystemCall - _start + EXC_OFF_SYS_RESET | 811 | li r8, SystemCall - _start + EXC_OFF_SYS_RESET |
811 | 3: | 812 | 3: |
812 | bl trap_reloc | 813 | bl trap_reloc |
813 | addi r7, r7, 0x100 /* next exception vector */ | 814 | addi r7, r7, 0x100 /* next exception vector */ |
814 | cmplw 0, r7, r8 | 815 | cmplw 0, r7, r8 |
815 | blt 3b | 816 | blt 3b |
816 | 817 | ||
817 | li r7, .L_SingleStep - _start + EXC_OFF_SYS_RESET | 818 | li r7, .L_SingleStep - _start + EXC_OFF_SYS_RESET |
818 | li r8, _end_of_vectors - _start + EXC_OFF_SYS_RESET | 819 | li r8, _end_of_vectors - _start + EXC_OFF_SYS_RESET |
819 | 4: | 820 | 4: |
820 | bl trap_reloc | 821 | bl trap_reloc |
821 | addi r7, r7, 0x100 /* next exception vector */ | 822 | addi r7, r7, 0x100 /* next exception vector */ |
822 | cmplw 0, r7, r8 | 823 | cmplw 0, r7, r8 |
823 | blt 4b | 824 | blt 4b |
824 | 825 | ||
825 | /* enable execptions from RAM vectors */ | 826 | /* enable execptions from RAM vectors */ |
826 | mfmsr r7 | 827 | mfmsr r7 |
827 | li r8,MSR_IP | 828 | li r8,MSR_IP |
828 | andc r7,r7,r8 | 829 | andc r7,r7,r8 |
829 | mtmsr r7 | 830 | mtmsr r7 |
830 | 831 | ||
831 | mtlr r4 /* restore link register */ | 832 | mtlr r4 /* restore link register */ |
832 | blr | 833 | blr |
833 | 834 | ||
834 | /* | 835 | /* |
835 | * Function: relocate entries for one exception vector | 836 | * Function: relocate entries for one exception vector |
836 | */ | 837 | */ |
837 | trap_reloc: | 838 | trap_reloc: |
838 | lwz r0, 0(r7) /* hdlr ... */ | 839 | lwz r0, 0(r7) /* hdlr ... */ |
839 | add r0, r0, r3 /* ... += dest_addr */ | 840 | add r0, r0, r3 /* ... += dest_addr */ |
840 | stw r0, 0(r7) | 841 | stw r0, 0(r7) |
841 | 842 | ||
842 | lwz r0, 4(r7) /* int_return ... */ | 843 | lwz r0, 4(r7) /* int_return ... */ |
843 | add r0, r0, r3 /* ... += dest_addr */ | 844 | add r0, r0, r3 /* ... += dest_addr */ |
844 | stw r0, 4(r7) | 845 | stw r0, 4(r7) |
845 | 846 | ||
846 | sync | 847 | sync |
847 | isync | 848 | isync |
848 | 849 | ||
849 | blr | 850 | blr |
850 | 851 | ||
851 | #ifdef CFG_INIT_RAM_LOCK | 852 | #ifdef CFG_INIT_RAM_LOCK |
852 | lock_ram_in_cache: | 853 | lock_ram_in_cache: |
853 | /* Allocate Initial RAM in data cache. | 854 | /* Allocate Initial RAM in data cache. |
854 | */ | 855 | */ |
855 | lis r3, (CFG_INIT_RAM_ADDR & ~31)@h | 856 | lis r3, (CFG_INIT_RAM_ADDR & ~31)@h |
856 | ori r3, r3, (CFG_INIT_RAM_ADDR & ~31)@l | 857 | ori r3, r3, (CFG_INIT_RAM_ADDR & ~31)@l |
857 | li r2, ((CFG_INIT_RAM_END & ~31) + \ | 858 | li r2, ((CFG_INIT_RAM_END & ~31) + \ |
858 | (CFG_INIT_RAM_ADDR & 31) + 31) / 32 | 859 | (CFG_INIT_RAM_ADDR & 31) + 31) / 32 |
859 | mtctr r2 | 860 | mtctr r2 |
860 | 1: | 861 | 1: |
861 | dcbz r0, r3 | 862 | dcbz r0, r3 |
862 | addi r3, r3, 32 | 863 | addi r3, r3, 32 |
863 | bdnz 1b | 864 | bdnz 1b |
864 | 865 | ||
865 | /* Lock the data cache */ | 866 | /* Lock the data cache */ |
866 | mfspr r0, HID0 | 867 | mfspr r0, HID0 |
867 | ori r0, r0, 0x1000 | 868 | ori r0, r0, 0x1000 |
868 | sync | 869 | sync |
869 | mtspr HID0, r0 | 870 | mtspr HID0, r0 |
870 | sync | 871 | sync |
871 | blr | 872 | blr |
872 | 873 | ||
873 | .globl unlock_ram_in_cache | 874 | .globl unlock_ram_in_cache |
874 | unlock_ram_in_cache: | 875 | unlock_ram_in_cache: |
875 | /* invalidate the INIT_RAM section */ | 876 | /* invalidate the INIT_RAM section */ |
876 | lis r3, (CFG_INIT_RAM_ADDR & ~31)@h | 877 | lis r3, (CFG_INIT_RAM_ADDR & ~31)@h |
877 | ori r3, r3, (CFG_INIT_RAM_ADDR & ~31)@l | 878 | ori r3, r3, (CFG_INIT_RAM_ADDR & ~31)@l |
878 | li r2, ((CFG_INIT_RAM_END & ~31) + \ | 879 | li r2, ((CFG_INIT_RAM_END & ~31) + \ |
879 | (CFG_INIT_RAM_ADDR & 31) + 31) / 32 | 880 | (CFG_INIT_RAM_ADDR & 31) + 31) / 32 |
880 | mtctr r2 | 881 | mtctr r2 |
881 | 1: icbi r0, r3 | 882 | 1: icbi r0, r3 |
882 | addi r3, r3, 32 | 883 | addi r3, r3, 32 |
883 | bdnz 1b | 884 | bdnz 1b |
884 | sync /* Wait for all icbi to complete on bus */ | 885 | sync /* Wait for all icbi to complete on bus */ |
885 | isync | 886 | isync |
886 | 887 | ||
887 | /* Unlock the data cache and invalidate it */ | 888 | /* Unlock the data cache and invalidate it */ |
888 | mfspr r0, HID0 | 889 | mfspr r0, HID0 |
889 | li r3,0x1000 | 890 | li r3,0x1000 |
890 | andc r0,r0,r3 | 891 | andc r0,r0,r3 |
891 | li r3,0x0400 | 892 | li r3,0x0400 |
892 | or r0,r0,r3 | 893 | or r0,r0,r3 |
893 | sync | 894 | sync |
894 | mtspr HID0, r0 | 895 | mtspr HID0, r0 |
895 | sync | 896 | sync |
896 | blr | 897 | blr |
897 | #endif | 898 | #endif |
898 | 899 |
drivers/pci.c
1 | /* | 1 | /* |
2 | * (C) Copyright 2001 Sysgo Real-Time Solutions, GmbH <www.elinos.com> | 2 | * (C) Copyright 2001 Sysgo Real-Time Solutions, GmbH <www.elinos.com> |
3 | * Andreas Heppel <aheppel@sysgo.de> | 3 | * Andreas Heppel <aheppel@sysgo.de> |
4 | * | 4 | * |
5 | * (C) Copyright 2002, 2003 | 5 | * (C) Copyright 2002, 2003 |
6 | * Wolfgang Denk, DENX Software Engineering, wd@denx.de. | 6 | * Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
7 | * | 7 | * |
8 | * See file CREDITS for list of people who contributed to this | 8 | * See file CREDITS for list of people who contributed to this |
9 | * project. | 9 | * project. |
10 | * | 10 | * |
11 | * This program is free software; you can redistribute it and/or | 11 | * This program is free software; you can redistribute it and/or |
12 | * modify it under the terms of the GNU General Public License as | 12 | * modify it under the terms of the GNU General Public License as |
13 | * published by the Free Software Foundation; either version 2 of | 13 | * published by the Free Software Foundation; either version 2 of |
14 | * the License, or (at your option) any later version. | 14 | * the License, or (at your option) any later version. |
15 | * | 15 | * |
16 | * This program is distributed in the hope that it will be useful, | 16 | * This program is distributed in the hope that it will be useful, |
17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
19 | * GNU General Public License for more details. | 19 | * GNU General Public License for more details. |
20 | * | 20 | * |
21 | * You should have received a copy of the GNU General Public License | 21 | * You should have received a copy of the GNU General Public License |
22 | * along with this program; if not, write to the Free Software | 22 | * along with this program; if not, write to the Free Software |
23 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, | 23 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, |
24 | * MA 02111-1307 USA | 24 | * MA 02111-1307 USA |
25 | */ | 25 | */ |
26 | 26 | ||
27 | /* | 27 | /* |
28 | * PCI routines | 28 | * PCI routines |
29 | */ | 29 | */ |
30 | 30 | ||
31 | #include <common.h> | 31 | #include <common.h> |
32 | 32 | ||
33 | #ifdef CONFIG_PCI | 33 | #ifdef CONFIG_PCI |
34 | 34 | ||
35 | #include <command.h> | 35 | #include <command.h> |
36 | #include <asm/processor.h> | 36 | #include <asm/processor.h> |
37 | #include <asm/io.h> | 37 | #include <asm/io.h> |
38 | #include <pci.h> | 38 | #include <pci.h> |
39 | 39 | ||
40 | #define PCI_HOSE_OP(rw, size, type) \ | 40 | #define PCI_HOSE_OP(rw, size, type) \ |
41 | int pci_hose_##rw##_config_##size(struct pci_controller *hose, \ | 41 | int pci_hose_##rw##_config_##size(struct pci_controller *hose, \ |
42 | pci_dev_t dev, \ | 42 | pci_dev_t dev, \ |
43 | int offset, type value) \ | 43 | int offset, type value) \ |
44 | { \ | 44 | { \ |
45 | return hose->rw##_##size(hose, dev, offset, value); \ | 45 | return hose->rw##_##size(hose, dev, offset, value); \ |
46 | } | 46 | } |
47 | 47 | ||
48 | PCI_HOSE_OP(read, byte, u8 *) | 48 | PCI_HOSE_OP(read, byte, u8 *) |
49 | PCI_HOSE_OP(read, word, u16 *) | 49 | PCI_HOSE_OP(read, word, u16 *) |
50 | PCI_HOSE_OP(read, dword, u32 *) | 50 | PCI_HOSE_OP(read, dword, u32 *) |
51 | PCI_HOSE_OP(write, byte, u8) | 51 | PCI_HOSE_OP(write, byte, u8) |
52 | PCI_HOSE_OP(write, word, u16) | 52 | PCI_HOSE_OP(write, word, u16) |
53 | PCI_HOSE_OP(write, dword, u32) | 53 | PCI_HOSE_OP(write, dword, u32) |
54 | 54 | ||
55 | #ifndef CONFIG_IXP425 | 55 | #ifndef CONFIG_IXP425 |
56 | #define PCI_OP(rw, size, type, error_code) \ | 56 | #define PCI_OP(rw, size, type, error_code) \ |
57 | int pci_##rw##_config_##size(pci_dev_t dev, int offset, type value) \ | 57 | int pci_##rw##_config_##size(pci_dev_t dev, int offset, type value) \ |
58 | { \ | 58 | { \ |
59 | struct pci_controller *hose = pci_bus_to_hose(PCI_BUS(dev)); \ | 59 | struct pci_controller *hose = pci_bus_to_hose(PCI_BUS(dev)); \ |
60 | \ | 60 | \ |
61 | if (!hose) \ | 61 | if (!hose) \ |
62 | { \ | 62 | { \ |
63 | error_code; \ | 63 | error_code; \ |
64 | return -1; \ | 64 | return -1; \ |
65 | } \ | 65 | } \ |
66 | \ | 66 | \ |
67 | return pci_hose_##rw##_config_##size(hose, dev, offset, value); \ | 67 | return pci_hose_##rw##_config_##size(hose, dev, offset, value); \ |
68 | } | 68 | } |
69 | 69 | ||
70 | PCI_OP(read, byte, u8 *, *value = 0xff) | 70 | PCI_OP(read, byte, u8 *, *value = 0xff) |
71 | PCI_OP(read, word, u16 *, *value = 0xffff) | 71 | PCI_OP(read, word, u16 *, *value = 0xffff) |
72 | PCI_OP(read, dword, u32 *, *value = 0xffffffff) | 72 | PCI_OP(read, dword, u32 *, *value = 0xffffffff) |
73 | PCI_OP(write, byte, u8, ) | 73 | PCI_OP(write, byte, u8, ) |
74 | PCI_OP(write, word, u16, ) | 74 | PCI_OP(write, word, u16, ) |
75 | PCI_OP(write, dword, u32, ) | 75 | PCI_OP(write, dword, u32, ) |
76 | #endif /* CONFIG_IXP425 */ | 76 | #endif /* CONFIG_IXP425 */ |
77 | 77 | ||
78 | #define PCI_READ_VIA_DWORD_OP(size, type, off_mask) \ | 78 | #define PCI_READ_VIA_DWORD_OP(size, type, off_mask) \ |
79 | int pci_hose_read_config_##size##_via_dword(struct pci_controller *hose,\ | 79 | int pci_hose_read_config_##size##_via_dword(struct pci_controller *hose,\ |
80 | pci_dev_t dev, \ | 80 | pci_dev_t dev, \ |
81 | int offset, type val) \ | 81 | int offset, type val) \ |
82 | { \ | 82 | { \ |
83 | u32 val32; \ | 83 | u32 val32; \ |
84 | \ | 84 | \ |
85 | if (pci_hose_read_config_dword(hose, dev, offset & 0xfc, &val32) < 0)\ | 85 | if (pci_hose_read_config_dword(hose, dev, offset & 0xfc, &val32) < 0)\ |
86 | return -1; \ | 86 | return -1; \ |
87 | \ | 87 | \ |
88 | *val = (val32 >> ((offset & (int)off_mask) * 8)); \ | 88 | *val = (val32 >> ((offset & (int)off_mask) * 8)); \ |
89 | \ | 89 | \ |
90 | return 0; \ | 90 | return 0; \ |
91 | } | 91 | } |
92 | 92 | ||
93 | #define PCI_WRITE_VIA_DWORD_OP(size, type, off_mask, val_mask) \ | 93 | #define PCI_WRITE_VIA_DWORD_OP(size, type, off_mask, val_mask) \ |
94 | int pci_hose_write_config_##size##_via_dword(struct pci_controller *hose,\ | 94 | int pci_hose_write_config_##size##_via_dword(struct pci_controller *hose,\ |
95 | pci_dev_t dev, \ | 95 | pci_dev_t dev, \ |
96 | int offset, type val) \ | 96 | int offset, type val) \ |
97 | { \ | 97 | { \ |
98 | u32 val32, mask, ldata, shift; \ | 98 | u32 val32, mask, ldata, shift; \ |
99 | \ | 99 | \ |
100 | if (pci_hose_read_config_dword(hose, dev, offset & 0xfc, &val32) < 0)\ | 100 | if (pci_hose_read_config_dword(hose, dev, offset & 0xfc, &val32) < 0)\ |
101 | return -1; \ | 101 | return -1; \ |
102 | \ | 102 | \ |
103 | shift = ((offset & (int)off_mask) * 8); \ | 103 | shift = ((offset & (int)off_mask) * 8); \ |
104 | ldata = (((unsigned long)val) & val_mask) << shift; \ | 104 | ldata = (((unsigned long)val) & val_mask) << shift; \ |
105 | mask = val_mask << shift; \ | 105 | mask = val_mask << shift; \ |
106 | val32 = (val32 & ~mask) | ldata; \ | 106 | val32 = (val32 & ~mask) | ldata; \ |
107 | \ | 107 | \ |
108 | if (pci_hose_write_config_dword(hose, dev, offset & 0xfc, val32) < 0)\ | 108 | if (pci_hose_write_config_dword(hose, dev, offset & 0xfc, val32) < 0)\ |
109 | return -1; \ | 109 | return -1; \ |
110 | \ | 110 | \ |
111 | return 0; \ | 111 | return 0; \ |
112 | } | 112 | } |
113 | 113 | ||
114 | PCI_READ_VIA_DWORD_OP(byte, u8 *, 0x03) | 114 | PCI_READ_VIA_DWORD_OP(byte, u8 *, 0x03) |
115 | PCI_READ_VIA_DWORD_OP(word, u16 *, 0x02) | 115 | PCI_READ_VIA_DWORD_OP(word, u16 *, 0x02) |
116 | PCI_WRITE_VIA_DWORD_OP(byte, u8, 0x03, 0x000000ff) | 116 | PCI_WRITE_VIA_DWORD_OP(byte, u8, 0x03, 0x000000ff) |
117 | PCI_WRITE_VIA_DWORD_OP(word, u16, 0x02, 0x0000ffff) | 117 | PCI_WRITE_VIA_DWORD_OP(word, u16, 0x02, 0x0000ffff) |
118 | 118 | ||
119 | /* | 119 | /* |
120 | * | 120 | * |
121 | */ | 121 | */ |
122 | 122 | ||
123 | static struct pci_controller* hose_head = NULL; | 123 | static struct pci_controller* hose_head = NULL; |
124 | 124 | ||
125 | void pci_register_hose(struct pci_controller* hose) | 125 | void pci_register_hose(struct pci_controller* hose) |
126 | { | 126 | { |
127 | struct pci_controller **phose = &hose_head; | 127 | struct pci_controller **phose = &hose_head; |
128 | 128 | ||
129 | while(*phose) | 129 | while(*phose) |
130 | phose = &(*phose)->next; | 130 | phose = &(*phose)->next; |
131 | 131 | ||
132 | hose->next = NULL; | 132 | hose->next = NULL; |
133 | 133 | ||
134 | *phose = hose; | 134 | *phose = hose; |
135 | } | 135 | } |
136 | 136 | ||
137 | struct pci_controller *pci_bus_to_hose (int bus) | 137 | struct pci_controller *pci_bus_to_hose (int bus) |
138 | { | 138 | { |
139 | struct pci_controller *hose; | 139 | struct pci_controller *hose; |
140 | 140 | ||
141 | for (hose = hose_head; hose; hose = hose->next) | 141 | for (hose = hose_head; hose; hose = hose->next) |
142 | if (bus >= hose->first_busno && bus <= hose->last_busno) | 142 | if (bus >= hose->first_busno && bus <= hose->last_busno) |
143 | return hose; | 143 | return hose; |
144 | 144 | ||
145 | printf("pci_bus_to_hose() failed\n"); | 145 | printf("pci_bus_to_hose() failed\n"); |
146 | return NULL; | 146 | return NULL; |
147 | } | 147 | } |
148 | 148 | ||
149 | #ifndef CONFIG_IXP425 | 149 | #ifndef CONFIG_IXP425 |
150 | pci_dev_t pci_find_devices(struct pci_device_id *ids, int index) | 150 | pci_dev_t pci_find_devices(struct pci_device_id *ids, int index) |
151 | { | 151 | { |
152 | struct pci_controller * hose; | 152 | struct pci_controller * hose; |
153 | u16 vendor, device; | 153 | u16 vendor, device; |
154 | u8 header_type; | 154 | u8 header_type; |
155 | pci_dev_t bdf; | 155 | pci_dev_t bdf; |
156 | int i, bus, found_multi = 0; | 156 | int i, bus, found_multi = 0; |
157 | 157 | ||
158 | for (hose = hose_head; hose; hose = hose->next) | 158 | for (hose = hose_head; hose; hose = hose->next) |
159 | { | 159 | { |
160 | #ifdef CFG_SCSI_SCAN_BUS_REVERSE | 160 | #ifdef CFG_SCSI_SCAN_BUS_REVERSE |
161 | for (bus = hose->last_busno; bus >= hose->first_busno; bus--) | 161 | for (bus = hose->last_busno; bus >= hose->first_busno; bus--) |
162 | #else | 162 | #else |
163 | for (bus = hose->first_busno; bus <= hose->last_busno; bus++) | 163 | for (bus = hose->first_busno; bus <= hose->last_busno; bus++) |
164 | #endif | 164 | #endif |
165 | for (bdf = PCI_BDF(bus,0,0); | 165 | for (bdf = PCI_BDF(bus,0,0); |
166 | #ifdef CONFIG_ELPPC | 166 | #if defined(CONFIG_ELPPC) || defined(CONFIG_PPMC7XX) |
167 | bdf < PCI_BDF(bus,PCI_MAX_PCI_DEVICES-1,PCI_MAX_PCI_FUNCTIONS-1); | 167 | bdf < PCI_BDF(bus,PCI_MAX_PCI_DEVICES-1,PCI_MAX_PCI_FUNCTIONS-1); |
168 | #else | 168 | #else |
169 | bdf < PCI_BDF(bus+1,0,0); | 169 | bdf < PCI_BDF(bus+1,0,0); |
170 | #endif | 170 | #endif |
171 | bdf += PCI_BDF(0,0,1)) | 171 | bdf += PCI_BDF(0,0,1)) |
172 | { | 172 | { |
173 | if (!PCI_FUNC(bdf)) { | 173 | if (!PCI_FUNC(bdf)) { |
174 | pci_read_config_byte(bdf, | 174 | pci_read_config_byte(bdf, |
175 | PCI_HEADER_TYPE, | 175 | PCI_HEADER_TYPE, |
176 | &header_type); | 176 | &header_type); |
177 | 177 | ||
178 | found_multi = header_type & 0x80; | 178 | found_multi = header_type & 0x80; |
179 | } else { | 179 | } else { |
180 | if (!found_multi) | 180 | if (!found_multi) |
181 | continue; | 181 | continue; |
182 | } | 182 | } |
183 | 183 | ||
184 | pci_read_config_word(bdf, | 184 | pci_read_config_word(bdf, |
185 | PCI_VENDOR_ID, | 185 | PCI_VENDOR_ID, |
186 | &vendor); | 186 | &vendor); |
187 | pci_read_config_word(bdf, | 187 | pci_read_config_word(bdf, |
188 | PCI_DEVICE_ID, | 188 | PCI_DEVICE_ID, |
189 | &device); | 189 | &device); |
190 | 190 | ||
191 | for (i=0; ids[i].vendor != 0; i++) | 191 | for (i=0; ids[i].vendor != 0; i++) |
192 | if (vendor == ids[i].vendor && | 192 | if (vendor == ids[i].vendor && |
193 | device == ids[i].device) | 193 | device == ids[i].device) |
194 | { | 194 | { |
195 | if (index <= 0) | 195 | if (index <= 0) |
196 | return bdf; | 196 | return bdf; |
197 | 197 | ||
198 | index--; | 198 | index--; |
199 | } | 199 | } |
200 | } | 200 | } |
201 | } | 201 | } |
202 | 202 | ||
203 | return (-1); | 203 | return (-1); |
204 | } | 204 | } |
205 | #endif /* CONFIG_IXP425 */ | 205 | #endif /* CONFIG_IXP425 */ |
206 | 206 | ||
207 | pci_dev_t pci_find_device(unsigned int vendor, unsigned int device, int index) | 207 | pci_dev_t pci_find_device(unsigned int vendor, unsigned int device, int index) |
208 | { | 208 | { |
209 | static struct pci_device_id ids[2] = {{}, {0, 0}}; | 209 | static struct pci_device_id ids[2] = {{}, {0, 0}}; |
210 | 210 | ||
211 | ids[0].vendor = vendor; | 211 | ids[0].vendor = vendor; |
212 | ids[0].device = device; | 212 | ids[0].device = device; |
213 | 213 | ||
214 | return pci_find_devices(ids, index); | 214 | return pci_find_devices(ids, index); |
215 | } | 215 | } |
216 | 216 | ||
217 | /* | 217 | /* |
218 | * | 218 | * |
219 | */ | 219 | */ |
220 | 220 | ||
221 | unsigned long pci_hose_phys_to_bus (struct pci_controller *hose, | 221 | unsigned long pci_hose_phys_to_bus (struct pci_controller *hose, |
222 | unsigned long phys_addr, | 222 | unsigned long phys_addr, |
223 | unsigned long flags) | 223 | unsigned long flags) |
224 | { | 224 | { |
225 | struct pci_region *res; | 225 | struct pci_region *res; |
226 | unsigned long bus_addr; | 226 | unsigned long bus_addr; |
227 | int i; | 227 | int i; |
228 | 228 | ||
229 | if (!hose) { | 229 | if (!hose) { |
230 | printf ("pci_hose_phys_to_bus: %s\n", "invalid hose"); | 230 | printf ("pci_hose_phys_to_bus: %s\n", "invalid hose"); |
231 | goto Done; | 231 | goto Done; |
232 | } | 232 | } |
233 | 233 | ||
234 | for (i = 0; i < hose->region_count; i++) { | 234 | for (i = 0; i < hose->region_count; i++) { |
235 | res = &hose->regions[i]; | 235 | res = &hose->regions[i]; |
236 | 236 | ||
237 | if (((res->flags ^ flags) & PCI_REGION_TYPE) != 0) | 237 | if (((res->flags ^ flags) & PCI_REGION_TYPE) != 0) |
238 | continue; | 238 | continue; |
239 | 239 | ||
240 | bus_addr = phys_addr - res->phys_start + res->bus_start; | 240 | bus_addr = phys_addr - res->phys_start + res->bus_start; |
241 | 241 | ||
242 | if (bus_addr >= res->bus_start && | 242 | if (bus_addr >= res->bus_start && |
243 | bus_addr < res->bus_start + res->size) { | 243 | bus_addr < res->bus_start + res->size) { |
244 | return bus_addr; | 244 | return bus_addr; |
245 | } | 245 | } |
246 | } | 246 | } |
247 | 247 | ||
248 | printf ("pci_hose_phys_to_bus: %s\n", "invalid physical address"); | 248 | printf ("pci_hose_phys_to_bus: %s\n", "invalid physical address"); |
249 | 249 | ||
250 | Done: | 250 | Done: |
251 | return 0; | 251 | return 0; |
252 | } | 252 | } |
253 | 253 | ||
254 | unsigned long pci_hose_bus_to_phys(struct pci_controller* hose, | 254 | unsigned long pci_hose_bus_to_phys(struct pci_controller* hose, |
255 | unsigned long bus_addr, | 255 | unsigned long bus_addr, |
256 | unsigned long flags) | 256 | unsigned long flags) |
257 | { | 257 | { |
258 | struct pci_region *res; | 258 | struct pci_region *res; |
259 | int i; | 259 | int i; |
260 | 260 | ||
261 | if (!hose) { | 261 | if (!hose) { |
262 | printf ("pci_hose_bus_to_phys: %s\n", "invalid hose"); | 262 | printf ("pci_hose_bus_to_phys: %s\n", "invalid hose"); |
263 | goto Done; | 263 | goto Done; |
264 | } | 264 | } |
265 | 265 | ||
266 | for (i = 0; i < hose->region_count; i++) { | 266 | for (i = 0; i < hose->region_count; i++) { |
267 | res = &hose->regions[i]; | 267 | res = &hose->regions[i]; |
268 | 268 | ||
269 | if (((res->flags ^ flags) & PCI_REGION_TYPE) != 0) | 269 | if (((res->flags ^ flags) & PCI_REGION_TYPE) != 0) |
270 | continue; | 270 | continue; |
271 | 271 | ||
272 | if (bus_addr >= res->bus_start && | 272 | if (bus_addr >= res->bus_start && |
273 | bus_addr < res->bus_start + res->size) { | 273 | bus_addr < res->bus_start + res->size) { |
274 | return bus_addr - res->bus_start + res->phys_start; | 274 | return bus_addr - res->bus_start + res->phys_start; |
275 | } | 275 | } |
276 | } | 276 | } |
277 | 277 | ||
278 | printf ("pci_hose_bus_to_phys: %s\n", "invalid physical address"); | 278 | printf ("pci_hose_bus_to_phys: %s\n", "invalid physical address"); |
279 | 279 | ||
280 | Done: | 280 | Done: |
281 | return 0; | 281 | return 0; |
282 | } | 282 | } |
283 | 283 | ||
284 | /* | 284 | /* |
285 | * | 285 | * |
286 | */ | 286 | */ |
287 | 287 | ||
288 | int pci_hose_config_device(struct pci_controller *hose, | 288 | int pci_hose_config_device(struct pci_controller *hose, |
289 | pci_dev_t dev, | 289 | pci_dev_t dev, |
290 | unsigned long io, | 290 | unsigned long io, |
291 | unsigned long mem, | 291 | unsigned long mem, |
292 | unsigned long command) | 292 | unsigned long command) |
293 | { | 293 | { |
294 | unsigned int bar_response, bar_size, bar_value, old_command; | 294 | unsigned int bar_response, bar_size, bar_value, old_command; |
295 | unsigned char pin; | 295 | unsigned char pin; |
296 | int bar, found_mem64; | 296 | int bar, found_mem64; |
297 | 297 | ||
298 | debug ("PCI Config: I/O=0x%lx, Memory=0x%lx, Command=0x%lx\n", | 298 | debug ("PCI Config: I/O=0x%lx, Memory=0x%lx, Command=0x%lx\n", |
299 | io, mem, command); | 299 | io, mem, command); |
300 | 300 | ||
301 | pci_hose_write_config_dword (hose, dev, PCI_COMMAND, 0); | 301 | pci_hose_write_config_dword (hose, dev, PCI_COMMAND, 0); |
302 | 302 | ||
303 | for (bar = PCI_BASE_ADDRESS_0; bar < PCI_BASE_ADDRESS_5; bar += 4) { | 303 | for (bar = PCI_BASE_ADDRESS_0; bar < PCI_BASE_ADDRESS_5; bar += 4) { |
304 | pci_hose_write_config_dword (hose, dev, bar, 0xffffffff); | 304 | pci_hose_write_config_dword (hose, dev, bar, 0xffffffff); |
305 | pci_hose_read_config_dword (hose, dev, bar, &bar_response); | 305 | pci_hose_read_config_dword (hose, dev, bar, &bar_response); |
306 | 306 | ||
307 | if (!bar_response) | 307 | if (!bar_response) |
308 | continue; | 308 | continue; |
309 | 309 | ||
310 | found_mem64 = 0; | 310 | found_mem64 = 0; |
311 | 311 | ||
312 | /* Check the BAR type and set our address mask */ | 312 | /* Check the BAR type and set our address mask */ |
313 | if (bar_response & PCI_BASE_ADDRESS_SPACE) { | 313 | if (bar_response & PCI_BASE_ADDRESS_SPACE) { |
314 | bar_size = ~(bar_response & PCI_BASE_ADDRESS_IO_MASK) + 1; | 314 | bar_size = ~(bar_response & PCI_BASE_ADDRESS_IO_MASK) + 1; |
315 | /* round up region base address to a multiple of size */ | 315 | /* round up region base address to a multiple of size */ |
316 | io = ((io - 1) | (bar_size - 1)) + 1; | 316 | io = ((io - 1) | (bar_size - 1)) + 1; |
317 | bar_value = io; | 317 | bar_value = io; |
318 | /* compute new region base address */ | 318 | /* compute new region base address */ |
319 | io = io + bar_size; | 319 | io = io + bar_size; |
320 | } else { | 320 | } else { |
321 | if ((bar_response & PCI_BASE_ADDRESS_MEM_TYPE_MASK) == | 321 | if ((bar_response & PCI_BASE_ADDRESS_MEM_TYPE_MASK) == |
322 | PCI_BASE_ADDRESS_MEM_TYPE_64) | 322 | PCI_BASE_ADDRESS_MEM_TYPE_64) |
323 | found_mem64 = 1; | 323 | found_mem64 = 1; |
324 | 324 | ||
325 | bar_size = ~(bar_response & PCI_BASE_ADDRESS_MEM_MASK) + 1; | 325 | bar_size = ~(bar_response & PCI_BASE_ADDRESS_MEM_MASK) + 1; |
326 | 326 | ||
327 | /* round up region base address to multiple of size */ | 327 | /* round up region base address to multiple of size */ |
328 | mem = ((mem - 1) | (bar_size - 1)) + 1; | 328 | mem = ((mem - 1) | (bar_size - 1)) + 1; |
329 | bar_value = mem; | 329 | bar_value = mem; |
330 | /* compute new region base address */ | 330 | /* compute new region base address */ |
331 | mem = mem + bar_size; | 331 | mem = mem + bar_size; |
332 | } | 332 | } |
333 | 333 | ||
334 | /* Write it out and update our limit */ | 334 | /* Write it out and update our limit */ |
335 | pci_hose_write_config_dword (hose, dev, bar, bar_value); | 335 | pci_hose_write_config_dword (hose, dev, bar, bar_value); |
336 | 336 | ||
337 | if (found_mem64) { | 337 | if (found_mem64) { |
338 | bar += 4; | 338 | bar += 4; |
339 | pci_hose_write_config_dword (hose, dev, bar, 0x00000000); | 339 | pci_hose_write_config_dword (hose, dev, bar, 0x00000000); |
340 | } | 340 | } |
341 | } | 341 | } |
342 | 342 | ||
343 | /* Configure Cache Line Size Register */ | 343 | /* Configure Cache Line Size Register */ |
344 | pci_hose_write_config_byte (hose, dev, PCI_CACHE_LINE_SIZE, 0x08); | 344 | pci_hose_write_config_byte (hose, dev, PCI_CACHE_LINE_SIZE, 0x08); |
345 | 345 | ||
346 | /* Configure Latency Timer */ | 346 | /* Configure Latency Timer */ |
347 | pci_hose_write_config_byte (hose, dev, PCI_LATENCY_TIMER, 0x80); | 347 | pci_hose_write_config_byte (hose, dev, PCI_LATENCY_TIMER, 0x80); |
348 | 348 | ||
349 | /* Disable interrupt line, if device says it wants to use interrupts */ | 349 | /* Disable interrupt line, if device says it wants to use interrupts */ |
350 | pci_hose_read_config_byte (hose, dev, PCI_INTERRUPT_PIN, &pin); | 350 | pci_hose_read_config_byte (hose, dev, PCI_INTERRUPT_PIN, &pin); |
351 | if (pin != 0) { | 351 | if (pin != 0) { |
352 | pci_hose_write_config_byte (hose, dev, PCI_INTERRUPT_LINE, 0xff); | 352 | pci_hose_write_config_byte (hose, dev, PCI_INTERRUPT_LINE, 0xff); |
353 | } | 353 | } |
354 | 354 | ||
355 | pci_hose_read_config_dword (hose, dev, PCI_COMMAND, &old_command); | 355 | pci_hose_read_config_dword (hose, dev, PCI_COMMAND, &old_command); |
356 | pci_hose_write_config_dword (hose, dev, PCI_COMMAND, | 356 | pci_hose_write_config_dword (hose, dev, PCI_COMMAND, |
357 | (old_command & 0xffff0000) | command); | 357 | (old_command & 0xffff0000) | command); |
358 | 358 | ||
359 | return 0; | 359 | return 0; |
360 | } | 360 | } |
361 | 361 | ||
362 | /* | 362 | /* |
363 | * | 363 | * |
364 | */ | 364 | */ |
365 | 365 | ||
366 | struct pci_config_table *pci_find_config(struct pci_controller *hose, | 366 | struct pci_config_table *pci_find_config(struct pci_controller *hose, |
367 | unsigned short class, | 367 | unsigned short class, |
368 | unsigned int vendor, | 368 | unsigned int vendor, |
369 | unsigned int device, | 369 | unsigned int device, |
370 | unsigned int bus, | 370 | unsigned int bus, |
371 | unsigned int dev, | 371 | unsigned int dev, |
372 | unsigned int func) | 372 | unsigned int func) |
373 | { | 373 | { |
374 | struct pci_config_table *table; | 374 | struct pci_config_table *table; |
375 | 375 | ||
376 | for (table = hose->config_table; table && table->vendor; table++) { | 376 | for (table = hose->config_table; table && table->vendor; table++) { |
377 | if ((table->vendor == PCI_ANY_ID || table->vendor == vendor) && | 377 | if ((table->vendor == PCI_ANY_ID || table->vendor == vendor) && |
378 | (table->device == PCI_ANY_ID || table->device == device) && | 378 | (table->device == PCI_ANY_ID || table->device == device) && |
379 | (table->class == PCI_ANY_ID || table->class == class) && | 379 | (table->class == PCI_ANY_ID || table->class == class) && |
380 | (table->bus == PCI_ANY_ID || table->bus == bus) && | 380 | (table->bus == PCI_ANY_ID || table->bus == bus) && |
381 | (table->dev == PCI_ANY_ID || table->dev == dev) && | 381 | (table->dev == PCI_ANY_ID || table->dev == dev) && |
382 | (table->func == PCI_ANY_ID || table->func == func)) { | 382 | (table->func == PCI_ANY_ID || table->func == func)) { |
383 | return table; | 383 | return table; |
384 | } | 384 | } |
385 | } | 385 | } |
386 | 386 | ||
387 | return NULL; | 387 | return NULL; |
388 | } | 388 | } |
389 | 389 | ||
390 | void pci_cfgfunc_config_device(struct pci_controller *hose, | 390 | void pci_cfgfunc_config_device(struct pci_controller *hose, |
391 | pci_dev_t dev, | 391 | pci_dev_t dev, |
392 | struct pci_config_table *entry) | 392 | struct pci_config_table *entry) |
393 | { | 393 | { |
394 | pci_hose_config_device(hose, dev, entry->priv[0], entry->priv[1], entry->priv[2]); | 394 | pci_hose_config_device(hose, dev, entry->priv[0], entry->priv[1], entry->priv[2]); |
395 | } | 395 | } |
396 | 396 | ||
397 | void pci_cfgfunc_do_nothing(struct pci_controller *hose, | 397 | void pci_cfgfunc_do_nothing(struct pci_controller *hose, |
398 | pci_dev_t dev, struct pci_config_table *entry) | 398 | pci_dev_t dev, struct pci_config_table *entry) |
399 | { | 399 | { |
400 | } | 400 | } |
401 | 401 | ||
402 | /* | 402 | /* |
403 | * | 403 | * |
404 | */ | 404 | */ |
405 | 405 | ||
406 | /* HJF: Changed this to return int. I think this is required | 406 | /* HJF: Changed this to return int. I think this is required |
407 | * to get the correct result when scanning bridges | 407 | * to get the correct result when scanning bridges |
408 | */ | 408 | */ |
409 | extern int pciauto_config_device(struct pci_controller *hose, pci_dev_t dev); | 409 | extern int pciauto_config_device(struct pci_controller *hose, pci_dev_t dev); |
410 | extern void pciauto_config_init(struct pci_controller *hose); | 410 | extern void pciauto_config_init(struct pci_controller *hose); |
411 | 411 | ||
412 | int pci_hose_scan_bus(struct pci_controller *hose, int bus) | 412 | int pci_hose_scan_bus(struct pci_controller *hose, int bus) |
413 | { | 413 | { |
414 | unsigned int sub_bus, found_multi=0; | 414 | unsigned int sub_bus, found_multi=0; |
415 | unsigned short vendor, device, class; | 415 | unsigned short vendor, device, class; |
416 | unsigned char header_type; | 416 | unsigned char header_type; |
417 | struct pci_config_table *cfg; | 417 | struct pci_config_table *cfg; |
418 | pci_dev_t dev; | 418 | pci_dev_t dev; |
419 | 419 | ||
420 | sub_bus = bus; | 420 | sub_bus = bus; |
421 | 421 | ||
422 | for (dev = PCI_BDF(bus,0,0); | 422 | for (dev = PCI_BDF(bus,0,0); |
423 | dev < PCI_BDF(bus,PCI_MAX_PCI_DEVICES-1,PCI_MAX_PCI_FUNCTIONS-1); | 423 | dev < PCI_BDF(bus,PCI_MAX_PCI_DEVICES-1,PCI_MAX_PCI_FUNCTIONS-1); |
424 | dev += PCI_BDF(0,0,1)) | 424 | dev += PCI_BDF(0,0,1)) |
425 | { | 425 | { |
426 | /* Skip our host bridge */ | 426 | /* Skip our host bridge */ |
427 | if ( dev == PCI_BDF(hose->first_busno,0,0) ) { | 427 | if ( dev == PCI_BDF(hose->first_busno,0,0) ) { |
428 | #if defined(CONFIG_PCI_CONFIG_HOST_BRIDGE) /* don't skip host bridge */ | 428 | #if defined(CONFIG_PCI_CONFIG_HOST_BRIDGE) /* don't skip host bridge */ |
429 | /* | 429 | /* |
430 | * Only skip hostbridge configuration if "pciconfighost" is not set | 430 | * Only skip hostbridge configuration if "pciconfighost" is not set |
431 | */ | 431 | */ |
432 | if (getenv("pciconfighost") == NULL) { | 432 | if (getenv("pciconfighost") == NULL) { |
433 | continue; /* Skip our host bridge */ | 433 | continue; /* Skip our host bridge */ |
434 | } | 434 | } |
435 | #else | 435 | #else |
436 | continue; /* Skip our host bridge */ | 436 | continue; /* Skip our host bridge */ |
437 | #endif | 437 | #endif |
438 | } | 438 | } |
439 | 439 | ||
440 | if (PCI_FUNC(dev) && !found_multi) | 440 | if (PCI_FUNC(dev) && !found_multi) |
441 | continue; | 441 | continue; |
442 | 442 | ||
443 | pci_hose_read_config_byte(hose, dev, PCI_HEADER_TYPE, &header_type); | 443 | pci_hose_read_config_byte(hose, dev, PCI_HEADER_TYPE, &header_type); |
444 | 444 | ||
445 | pci_hose_read_config_word(hose, dev, PCI_VENDOR_ID, &vendor); | 445 | pci_hose_read_config_word(hose, dev, PCI_VENDOR_ID, &vendor); |
446 | 446 | ||
447 | if (vendor != 0xffff && vendor != 0x0000) { | 447 | if (vendor != 0xffff && vendor != 0x0000) { |
448 | 448 | ||
449 | if (!PCI_FUNC(dev)) | 449 | if (!PCI_FUNC(dev)) |
450 | found_multi = header_type & 0x80; | 450 | found_multi = header_type & 0x80; |
451 | 451 | ||
452 | debug ("PCI Scan: Found Bus %d, Device %d, Function %d\n", | 452 | debug ("PCI Scan: Found Bus %d, Device %d, Function %d\n", |
453 | PCI_BUS(dev), PCI_DEV(dev), PCI_FUNC(dev) ); | 453 | PCI_BUS(dev), PCI_DEV(dev), PCI_FUNC(dev) ); |
454 | 454 | ||
455 | pci_hose_read_config_word(hose, dev, PCI_DEVICE_ID, &device); | 455 | pci_hose_read_config_word(hose, dev, PCI_DEVICE_ID, &device); |
456 | pci_hose_read_config_word(hose, dev, PCI_CLASS_DEVICE, &class); | 456 | pci_hose_read_config_word(hose, dev, PCI_CLASS_DEVICE, &class); |
457 | 457 | ||
458 | cfg = pci_find_config(hose, class, vendor, device, | 458 | cfg = pci_find_config(hose, class, vendor, device, |
459 | PCI_BUS(dev), PCI_DEV(dev), PCI_FUNC(dev)); | 459 | PCI_BUS(dev), PCI_DEV(dev), PCI_FUNC(dev)); |
460 | if (cfg) { | 460 | if (cfg) { |
461 | cfg->config_device(hose, dev, cfg); | 461 | cfg->config_device(hose, dev, cfg); |
462 | sub_bus = max(sub_bus, hose->current_busno); | 462 | sub_bus = max(sub_bus, hose->current_busno); |
463 | #ifdef CONFIG_PCI_PNP | 463 | #ifdef CONFIG_PCI_PNP |
464 | } else { | 464 | } else { |
465 | int n = pciauto_config_device(hose, dev); | 465 | int n = pciauto_config_device(hose, dev); |
466 | 466 | ||
467 | sub_bus = max(sub_bus, n); | 467 | sub_bus = max(sub_bus, n); |
468 | #endif | 468 | #endif |
469 | } | 469 | } |
470 | if (hose->fixup_irq) | 470 | if (hose->fixup_irq) |
471 | hose->fixup_irq(hose, dev); | 471 | hose->fixup_irq(hose, dev); |
472 | 472 | ||
473 | #ifdef CONFIG_PCI_SCAN_SHOW | 473 | #ifdef CONFIG_PCI_SCAN_SHOW |
474 | /* Skip our host bridge */ | 474 | /* Skip our host bridge */ |
475 | if ( dev != PCI_BDF(hose->first_busno,0,0) ) { | 475 | if ( dev != PCI_BDF(hose->first_busno,0,0) ) { |
476 | unsigned char int_line; | 476 | unsigned char int_line; |
477 | 477 | ||
478 | pci_hose_read_config_byte(hose, dev, PCI_INTERRUPT_LINE, | 478 | pci_hose_read_config_byte(hose, dev, PCI_INTERRUPT_LINE, |
479 | &int_line); | 479 | &int_line); |
480 | printf(" %02x %02x %04x %04x %04x %02x\n", | 480 | printf(" %02x %02x %04x %04x %04x %02x\n", |
481 | PCI_BUS(dev), PCI_DEV(dev), vendor, device, class, | 481 | PCI_BUS(dev), PCI_DEV(dev), vendor, device, class, |
482 | int_line); | 482 | int_line); |
483 | } | 483 | } |
484 | #endif | 484 | #endif |
485 | } | 485 | } |
486 | } | 486 | } |
487 | 487 | ||
488 | return sub_bus; | 488 | return sub_bus; |
489 | } | 489 | } |
490 | 490 | ||
491 | int pci_hose_scan(struct pci_controller *hose) | 491 | int pci_hose_scan(struct pci_controller *hose) |
492 | { | 492 | { |
493 | #ifdef CONFIG_PCI_PNP | 493 | #ifdef CONFIG_PCI_PNP |
494 | pciauto_config_init(hose); | 494 | pciauto_config_init(hose); |
495 | #endif | 495 | #endif |
496 | return pci_hose_scan_bus(hose, hose->first_busno); | 496 | return pci_hose_scan_bus(hose, hose->first_busno); |
497 | } | 497 | } |
498 | 498 | ||
499 | void pci_init(void) | 499 | void pci_init(void) |
500 | { | 500 | { |
501 | #if defined(CONFIG_PCI_BOOTDELAY) | 501 | #if defined(CONFIG_PCI_BOOTDELAY) |
502 | char *s; | 502 | char *s; |
503 | int i; | 503 | int i; |
504 | 504 | ||
505 | /* wait "pcidelay" ms (if defined)... */ | 505 | /* wait "pcidelay" ms (if defined)... */ |
506 | s = getenv ("pcidelay"); | 506 | s = getenv ("pcidelay"); |
507 | if (s) { | 507 | if (s) { |
508 | int val = simple_strtoul (s, NULL, 10); | 508 | int val = simple_strtoul (s, NULL, 10); |
509 | for (i=0; i<val; i++) | 509 | for (i=0; i<val; i++) |
510 | udelay (1000); | 510 | udelay (1000); |
511 | } | 511 | } |
512 | #endif /* CONFIG_PCI_BOOTDELAY */ | 512 | #endif /* CONFIG_PCI_BOOTDELAY */ |
513 | 513 | ||
514 | /* now call board specific pci_init()... */ | 514 | /* now call board specific pci_init()... */ |
515 | pci_init_board(); | 515 | pci_init_board(); |
516 | } | 516 | } |
517 | 517 | ||
518 | #endif /* CONFIG_PCI */ | 518 | #endif /* CONFIG_PCI */ |
519 | 519 |
include/configs/ppmc7xx.h
File was created | 1 | /* | |
2 | * ppmc7xx.h | ||
3 | * --------- | ||
4 | * | ||
5 | * Wind River PPMC 7xx/74xx board configuration file. | ||
6 | * | ||
7 | * By Richard Danter (richard.danter@windriver.com) | ||
8 | * Copyright (C) 2005 Wind River Systems | ||
9 | */ | ||
10 | |||
11 | |||
12 | #ifndef __CONFIG_H | ||
13 | #define __CONFIG_H | ||
14 | |||
15 | #define CONFIG_PPMC7XX | ||
16 | |||
17 | |||
18 | /*=================================================================== | ||
19 | * | ||
20 | * User configurable settings - Modify to your preference | ||
21 | * | ||
22 | *=================================================================== | ||
23 | */ | ||
24 | |||
25 | /* | ||
26 | * Debug | ||
27 | * | ||
28 | * DEBUG - Define this is you want extra debug info | ||
29 | * GTREGREAD - Required to build with debug | ||
30 | * do_bdinfo - Required to build with debug | ||
31 | */ | ||
32 | |||
33 | #undef DEBUG | ||
34 | #define GTREGREAD(x) 0xFFFFFFFF | ||
35 | #define do_bdinfo(a,b,c,d) | ||
36 | |||
37 | |||
38 | /* | ||
39 | * CPU type | ||
40 | * | ||
41 | * CONFIG_7xx - We have a 750 or 755 CPU | ||
42 | * CONFIG_74xx - We have a 7400 CPU | ||
43 | * CONFIG_ALTIVEC - We have altivec enabled CPU (only 7400) | ||
44 | * CONFIG_BUS_CLK - System bus clock in Hz | ||
45 | */ | ||
46 | |||
47 | #define CONFIG_7xx | ||
48 | #undef CONFIG_74xx | ||
49 | #undef CONFIG_ALTIVEC | ||
50 | #define CONFIG_BUS_CLK 66000000 | ||
51 | |||
52 | |||
53 | /* | ||
54 | * Monitor configuration | ||
55 | * | ||
56 | * CONFIG_COMMANDS - List of command sets to include in shell | ||
57 | * | ||
58 | * The following command sets have been tested and known to work: | ||
59 | * | ||
60 | * CFG_CMD_CACHE - Cache control commands | ||
61 | * CFG_CMD_MEMORY - Memory display, change and test commands | ||
62 | * CFG_CMD_FLASH - Erase and program flash | ||
63 | * CFG_CMD_ENV - Environment commands | ||
64 | * CFG_CMD_RUN - Run commands stored in env vars | ||
65 | * CFG_CMD_ELF - Load ELF files | ||
66 | * CFG_CMD_NET - Networking/file download commands | ||
67 | * CFG_CMD_PING - ICMP Echo Request command | ||
68 | * CFG_CMD_PCI - PCI Bus scanning command | ||
69 | */ | ||
70 | |||
71 | #define CONFIG_COMMANDS ( (CFG_CMD_DFL & ~(CFG_CMD_KGDB)) | \ | ||
72 | CFG_CMD_FLASH | \ | ||
73 | CFG_CMD_ENV | \ | ||
74 | CFG_CMD_RUN | \ | ||
75 | CFG_CMD_ELF | \ | ||
76 | CFG_CMD_NET | \ | ||
77 | CFG_CMD_PING | \ | ||
78 | CFG_CMD_PCI) | ||
79 | |||
80 | |||
81 | /* | ||
82 | * Serial configuration | ||
83 | * | ||
84 | * CONFIG_CONS_INDEX - Serial console port number (COM1) | ||
85 | * CONFIG_BAUDRATE - Serial speed | ||
86 | */ | ||
87 | |||
88 | #define CONFIG_CONS_INDEX 1 | ||
89 | #define CONFIG_BAUDRATE 9600 | ||
90 | |||
91 | |||
92 | /* | ||
93 | * PCI config | ||
94 | * | ||
95 | * CONFIG_PCI - Enable PCI bus | ||
96 | * CONFIG_PCI_PNP - Enable Plug & Play support | ||
97 | * CONFIG_PCI_SCAN_SHOW - Enable display of devices at startup | ||
98 | */ | ||
99 | |||
100 | #define CONFIG_PCI | ||
101 | #define CONFIG_PCI_PNP | ||
102 | #undef CONFIG_PCI_SCAN_SHOW | ||
103 | |||
104 | |||
105 | /* | ||
106 | * Network config | ||
107 | * | ||
108 | * CONFIG_NET_MULTI - Support for multiple network interfaces | ||
109 | * CONFIG_EEPRO100 - Intel 8255x Ethernet Controller | ||
110 | * CONFIG_EEPRO100_SROM_WRITE - Enable writing to network card ROM | ||
111 | */ | ||
112 | |||
113 | #define CONFIG_NET_MULTI | ||
114 | #define CONFIG_EEPRO100 | ||
115 | #define CONFIG_EEPRO100_SROM_WRITE | ||
116 | |||
117 | |||
118 | /* | ||
119 | * Enable extra init functions | ||
120 | * | ||
121 | * CONFIG_MISC_INIT_F - Call pre-relocation init functions | ||
122 | * CONFIG_MISC_INIT_R - Call post relocation init functions | ||
123 | */ | ||
124 | |||
125 | #undef CONFIG_MISC_INIT_F | ||
126 | #define CONFIG_MISC_INIT_R | ||
127 | |||
128 | |||
129 | /* | ||
130 | * Boot config | ||
131 | * | ||
132 | * CONFIG_BOOTCOMMAND - Command(s) to execute to auto-boot | ||
133 | * CONFIG_BOOTDELAY - How long to wait before auto-boot (in sec) | ||
134 | */ | ||
135 | |||
136 | #define CONFIG_BOOTCOMMAND \ | ||
137 | "bootp;" \ | ||
138 | "setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) " \ | ||
139 | "ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off;" \ | ||
140 | "bootm" | ||
141 | #define CONFIG_BOOTDELAY 5 | ||
142 | |||
143 | |||
144 | /*=================================================================== | ||
145 | * | ||
146 | * Board configuration settings - You should not need to modify these | ||
147 | * | ||
148 | *=================================================================== | ||
149 | */ | ||
150 | |||
151 | |||
152 | #include <cmd_confdefs.h> | ||
153 | |||
154 | |||
155 | /* | ||
156 | * Memory map | ||
157 | * | ||
158 | * This board runs in a standard CHRP (Map-B) configuration. | ||
159 | * | ||
160 | * Type Start End Size Width Chip Sel | ||
161 | * ----------- ----------- ----------- ------- ------- -------- | ||
162 | * SDRAM 0x00000000 0x04000000 64MB 64b SDRAMCS0 | ||
163 | * User LED's 0x78000000 RCS3 | ||
164 | * UART 0x7C000000 RCS2 | ||
165 | * Mailbox 0xFF000000 RCS1 | ||
166 | * Flash 0xFFC00000 0xFFFFFFFF 4MB 64b RCS0 | ||
167 | * | ||
168 | * Flash sectors are laid out as follows. | ||
169 | * | ||
170 | * Sector Start End Size Comments | ||
171 | * ------- ----------- ----------- ------- ----------- | ||
172 | * 0 0xFFC00000 0xFFC3FFFF 256KB | ||
173 | * 1 0xFFC40000 0xFFC7FFFF 256KB | ||
174 | * 2 0xFFC80000 0xFFCBFFFF 256KB | ||
175 | * 3 0xFFCC0000 0xFFCFFFFF 256KB | ||
176 | * 4 0xFFD00000 0xFFD3FFFF 256KB | ||
177 | * 5 0xFFD40000 0xFFD7FFFF 256KB | ||
178 | * 6 0xFFD80000 0xFFDBFFFF 256KB | ||
179 | * 7 0xFFDC0000 0xFFDFFFFF 256KB | ||
180 | * 8 0xFFE00000 0xFFE3FFFF 256KB | ||
181 | * 9 0xFFE40000 0xFFE7FFFF 256KB | ||
182 | * 10 0xFFE80000 0xFFEBFFFF 256KB | ||
183 | * 11 0xFFEC0000 0xFFEFFFFF 256KB | ||
184 | * 12 0xFFF00000 0xFFF3FFFF 256KB U-Boot code here | ||
185 | * 13 0xFFF40000 0xFFF7FFFF 256KB | ||
186 | * 14 0xFFF80000 0xFFFBFFFF 256KB | ||
187 | * 15 0xFFFC0000 0xFFFDFFFF 128KB | ||
188 | * 16 0xFFFE0000 0xFFFE7FFF 32KB U-Boot env vars here | ||
189 | * 17 0xFFFE8000 0xFFFEFFFF 32KB U-Boot backup copy of env vars here | ||
190 | * 18 0xFFFF0000 0xFFFFFFFF 64KB | ||
191 | */ | ||
192 | |||
193 | |||
194 | /* | ||
195 | * SDRAM config - see memory map details above. | ||
196 | * | ||
197 | * CFG_SDRAM_BASE - Start address of SDRAM, this _must_ be zero! | ||
198 | * CFG_SDRAM_SIZE - Total size of contiguous SDRAM bank(s) | ||
199 | */ | ||
200 | |||
201 | #define CFG_SDRAM_BASE 0x00000000 | ||
202 | #define CFG_SDRAM_SIZE 0x04000000 | ||
203 | |||
204 | |||
205 | /* | ||
206 | * Flash config - see memory map details above. | ||
207 | * | ||
208 | * CFG_FLASH_BASE - Start address of flash memory | ||
209 | * CFG_FLASH_SIZE - Total size of contiguous flash mem | ||
210 | * CFG_FLASH_ERASE_TOUT - Erase timeout in ms | ||
211 | * CFG_FLASH_WRITE_TOUT - Write timeout in ms | ||
212 | * CFG_MAX_FLASH_BANKS - Number of banks of flash on board | ||
213 | * CFG_MAX_FLASH_SECT - Number of sectors in a bank | ||
214 | */ | ||
215 | |||
216 | #define CFG_FLASH_BASE 0xFFC00000 | ||
217 | #define CFG_FLASH_SIZE 0x00400000 | ||
218 | #define CFG_FLASH_ERASE_TOUT 250000 | ||
219 | #define CFG_FLASH_WRITE_TOUT 5000 | ||
220 | #define CFG_MAX_FLASH_BANKS 1 | ||
221 | #define CFG_MAX_FLASH_SECT 19 | ||
222 | |||
223 | |||
224 | /* | ||
225 | * Monitor config - see memory map details above | ||
226 | * | ||
227 | * CFG_MONITOR_BASE - Base address of monitor code | ||
228 | * CFG_MALLOC_LEN - Size of malloc pool (128KB) | ||
229 | */ | ||
230 | |||
231 | #define CFG_MONITOR_BASE TEXT_BASE | ||
232 | #define CFG_MALLOC_LEN 0x20000 | ||
233 | |||
234 | |||
235 | /* | ||
236 | * Command shell settings | ||
237 | * | ||
238 | * CFG_BARGSIZE - Boot Argument buffer size | ||
239 | * CFG_BOOTMAPSZ - Size of app's mapped RAM at boot (Linux=8MB) | ||
240 | * CFG_CBSIZE - Console Buffer (input) size | ||
241 | * CFG_LOAD_ADDR - Default load address | ||
242 | * CFG_LONGHELP - Provide more detailed help | ||
243 | * CFG_MAXARGS - Number of args accepted by monitor commands | ||
244 | * CFG_MEMTEST_START - Start address of test to run on RAM | ||
245 | * CFG_MEMTEST_END - End address of RAM test | ||
246 | * CFG_PBSIZE - Print Buffer (output) size | ||
247 | * CFG_PROMPT - Prompt string | ||
248 | */ | ||
249 | |||
250 | #define CFG_BARGSIZE 1024 | ||
251 | #define CFG_BOOTMAPSZ 0x800000 | ||
252 | #define CFG_CBSIZE 1024 | ||
253 | #define CFG_LOAD_ADDR 0x100000 | ||
254 | #define CFG_LONGHELP | ||
255 | #define CFG_MAXARGS 16 | ||
256 | #define CFG_MEMTEST_START 0x00040000 | ||
257 | #define CFG_MEMTEST_END 0x00040100 | ||
258 | #define CFG_PBSIZE 1024 | ||
259 | #define CFG_PROMPT "=> " | ||
260 | |||
261 | |||
262 | /* | ||
263 | * Environment config - see memory map details above | ||
264 | * | ||
265 | * CFG_ENV_IS_IN_FLASH - The env variables are stored in flash | ||
266 | * CFG_ENV_ADDR - Address of the sector containing env vars | ||
267 | * CFG_ENV_SIZE - Ammount of RAM for env vars (used to save RAM, 4KB) | ||
268 | * CFG_ENV_SECT_SIZE - Size of sector containing env vars (32KB) | ||
269 | */ | ||
270 | |||
271 | #define CFG_ENV_IS_IN_FLASH 1 | ||
272 | #define CFG_ENV_ADDR 0xFFFE0000 | ||
273 | #define CFG_ENV_SIZE 0x1000 | ||
274 | #define CFG_ENV_ADDR_REDUND 0xFFFE8000 | ||
275 | #define CFG_ENV_SIZE_REDUND 0x1000 | ||
276 | #define CFG_ENV_SECT_SIZE 0x8000 | ||
277 | |||
278 | |||
279 | /* | ||
280 | * Initial RAM config | ||
281 | * | ||
282 | * Since the main system RAM is initialised very early, we place the INIT_RAM | ||
283 | * in the main system RAM just above the exception vectors. The contents are | ||
284 | * copied to top of RAM by the init code. | ||
285 | * | ||
286 | * CFG_INIT_RAM_ADDR - Address of Init RAM, above exception vect | ||
287 | * CFG_INIT_RAM_END - Size of Init RAM | ||
288 | * CFG_GBL_DATA_SIZE - Ammount of RAM to reserve for global data | ||
289 | * CFG_GBL_DATA_OFFSET - Start of global data, top of stack | ||
290 | */ | ||
291 | |||
292 | #define CFG_INIT_RAM_ADDR (CFG_SDRAM_BASE + 0x4000) | ||
293 | #define CFG_INIT_RAM_END 0x4000 | ||
294 | #define CFG_GBL_DATA_SIZE 128 | ||
295 | #define CFG_GBL_DATA_OFFSET (CFG_INIT_RAM_END - CFG_GBL_DATA_SIZE) | ||
296 | |||
297 | |||
298 | /* | ||
299 | * Initial BAT config | ||
300 | * | ||
301 | * BAT0 - System SDRAM | ||
302 | * BAT1 - LED's and Serial Port | ||
303 | * BAT2 - PCI Memory | ||
304 | * BAT3 - PCI I/O including Flash Memory | ||
305 | */ | ||
306 | |||
307 | #define CFG_IBAT0L (CFG_SDRAM_BASE | BATL_PP_10 | BATL_MEMCOHERENCE) | ||
308 | #define CFG_IBAT0U (CFG_SDRAM_BASE | BATU_BL_64M | BATU_VS | BATU_VP) | ||
309 | #define CFG_DBAT0L CFG_IBAT0L | ||
310 | #define CFG_DBAT0U CFG_IBAT0U | ||
311 | |||
312 | #define CFG_IBAT1L (0x70000000 | BATL_PP_RW | BATL_CACHEINHIBIT) | ||
313 | #define CFG_IBAT1U (0x70000000 | BATU_BL_256M | BATU_VS | BATU_VP) | ||
314 | #define CFG_DBAT1L (0x70000000 | BATL_PP_RW | BATL_CACHEINHIBIT | BATL_GUARDEDSTORAGE) | ||
315 | #define CFG_DBAT1U (0x70000000 | BATU_BL_256M | BATU_VS | BATU_VP) | ||
316 | |||
317 | #define CFG_IBAT2L (0x80000000 | BATL_PP_RW | BATL_CACHEINHIBIT) | ||
318 | #define CFG_IBAT2U (0x80000000 | BATU_BL_256M | BATU_VS | BATU_VP) | ||
319 | #define CFG_DBAT2L (0x80000000 | BATL_PP_RW | BATL_CACHEINHIBIT | BATL_GUARDEDSTORAGE) | ||
320 | #define CFG_DBAT2U (0x80000000 | BATU_BL_256M | BATU_VS | BATU_VP) | ||
321 | |||
322 | #define CFG_IBAT3L (0xF0000000 | BATL_PP_RW | BATL_CACHEINHIBIT) | ||
323 | #define CFG_IBAT3U (0xF0000000 | BATU_BL_256M | BATU_VS | BATU_VP) | ||
324 | #define CFG_DBAT3L (0xF0000000 | BATL_PP_RW | BATL_CACHEINHIBIT | BATL_GUARDEDSTORAGE) | ||
325 | #define CFG_DBAT3U (0xF0000000 | BATU_BL_256M | BATU_VS | BATU_VP) | ||
326 | |||
327 | |||
328 | /* | ||
329 | * Cache config | ||
330 | * | ||
331 | * CFG_CACHELINE_SIZE - Size of a cache line (CPU specific) | ||
332 | * CFG_L2 - L2 cache enabled if defined | ||
333 | * L2_INIT - L2 cache init flags | ||
334 | * L2_ENABLE - L2 cache enable flags | ||
335 | */ | ||
336 | |||
337 | #define CFG_CACHELINE_SIZE 32 | ||
338 | #undef CFG_L2 | ||
339 | #define L2_INIT 0 | ||
340 | #define L2_ENABLE 0 | ||
341 | |||
342 | |||
343 | /* | ||
344 | * Clocks config | ||
345 | * | ||
346 | * CFG_BUS_HZ - Bus clock frequency in Hz | ||
347 | * CFG_BUS_CLK - As above (?) | ||
348 | * CFG_HZ - Decrementer freq in Hz | ||
349 | */ | ||
350 | |||
351 | #define CFG_BUS_HZ CONFIG_BUS_CLK | ||
352 | #define CFG_BUS_CLK CONFIG_BUS_CLK | ||
353 | #define CFG_HZ 1000 | ||
354 | |||
355 | |||
356 | /* | ||
357 | * Serial port config | ||
358 | * | ||
359 | * CFG_BAUDRATE_TABLE - List of valid baud rates | ||
360 | * CFG_NS16550 - Include the NS16550 driver | ||
361 | * CFG_NS16550_SERIAL - Include the serial (wrapper) driver | ||
362 | * CFG_NS16550_CLK - Frequency of reference clock | ||
363 | * CFG_NS16550_REG_SIZE - 64-bit accesses to 8-bit port | ||
364 | * CFG_NS16550_COM1 - Base address of 1st serial port | ||
365 | */ | ||
366 | |||
367 | #define CFG_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 } | ||
368 | #define CFG_NS16550 | ||
369 | #define CFG_NS16550_SERIAL | ||
370 | #define CFG_NS16550_CLK 3686400 | ||
371 | #define CFG_NS16550_REG_SIZE -8 | ||
372 | #define CFG_NS16550_COM1 0x7C000000 | ||
373 | |||
374 | |||
375 | /* | ||
376 | * PCI Config - Address Map B (CHRP) | ||
377 | */ | ||
378 | |||
379 | #define CFG_PCI_MEMORY_BUS 0x00000000 | ||
380 | #define CFG_PCI_MEMORY_PHYS 0x00000000 | ||
381 | #define CFG_PCI_MEMORY_SIZE 0x40000000 | ||
382 | #define CFG_PCI_MEM_BUS 0x80000000 | ||
383 | #define CFG_PCI_MEM_PHYS 0x80000000 | ||
384 | #define CFG_PCI_MEM_SIZE 0x7D000000 | ||
385 | #define CFG_ISA_MEM_BUS 0x00000000 | ||
386 | #define CFG_ISA_MEM_PHYS 0xFD000000 | ||
387 | #define CFG_ISA_MEM_SIZE 0x01000000 | ||
388 | #define CFG_PCI_IO_BUS 0x00800000 | ||
389 | #define CFG_PCI_IO_PHYS 0xFE800000 | ||
390 | #define CFG_PCI_IO_SIZE 0x00400000 | ||
391 | #define CFG_ISA_IO_BUS 0x00000000 | ||
392 | #define CFG_ISA_IO_PHYS 0xFE000000 | ||
393 | #define CFG_ISA_IO_SIZE 0x00800000 | ||
394 | #define CFG_ISA_IO_BASE_ADDRESS CFG_ISA_IO_PHYS | ||
395 | #define CFG_ISA_IO CFG_ISA_IO_PHYS | ||
396 | #define CFG_60X_PCI_IO_OFFSET CFG_ISA_IO_PHYS | ||
397 | |||
398 | |||
399 | /* | ||
400 | * Extra init functions | ||
401 | * | ||
402 | * CFG_BOARD_ASM_INIT - Call assembly init code | ||
403 | */ | ||
404 | |||
405 | #define CFG_BOARD_ASM_INIT | ||
406 | |||
407 | |||
408 | /* | ||
409 | * Boot flags | ||
410 | * | ||
411 | * BOOTFLAG_COLD - Indicates a power-on boot | ||
412 | * BOOTFLAG_WARM - Indicates a software reset | ||
413 | */ | ||
414 | |||
415 | #define BOOTFLAG_COLD 0x01 | ||
416 | #define BOOTFLAG_WARM 0x02 | ||
417 | |||
418 | |||
419 | #endif /* __CONFIG_H */ | ||
420 |
include/ns16550.h
1 | /* | 1 | /* |
2 | * NS16550 Serial Port | 2 | * NS16550 Serial Port |
3 | * originally from linux source (arch/ppc/boot/ns16550.h) | 3 | * originally from linux source (arch/ppc/boot/ns16550.h) |
4 | * modified slightly to | 4 | * modified slightly to |
5 | * have addresses as offsets from CFG_ISA_BASE | 5 | * have addresses as offsets from CFG_ISA_BASE |
6 | * added a few more definitions | 6 | * added a few more definitions |
7 | * added prototypes for ns16550.c | 7 | * added prototypes for ns16550.c |
8 | * reduced no of com ports to 2 | 8 | * reduced no of com ports to 2 |
9 | * modifications (c) Rob Taylor, Flying Pig Systems. 2000. | 9 | * modifications (c) Rob Taylor, Flying Pig Systems. 2000. |
10 | * | ||
11 | * added support for port on 64-bit bus | ||
12 | * by Richard Danter (richard.danter@windriver.com), (C) 2005 Wind River Systems | ||
10 | */ | 13 | */ |
11 | 14 | ||
12 | #if (CFG_NS16550_REG_SIZE == 1) | 15 | #if (CFG_NS16550_REG_SIZE == 1) |
13 | struct NS16550 { | 16 | struct NS16550 { |
14 | unsigned char rbr; /* 0 */ | 17 | unsigned char rbr; /* 0 */ |
15 | unsigned char ier; /* 1 */ | 18 | unsigned char ier; /* 1 */ |
16 | unsigned char fcr; /* 2 */ | 19 | unsigned char fcr; /* 2 */ |
17 | unsigned char lcr; /* 3 */ | 20 | unsigned char lcr; /* 3 */ |
18 | unsigned char mcr; /* 4 */ | 21 | unsigned char mcr; /* 4 */ |
19 | unsigned char lsr; /* 5 */ | 22 | unsigned char lsr; /* 5 */ |
20 | unsigned char msr; /* 6 */ | 23 | unsigned char msr; /* 6 */ |
21 | unsigned char scr; /* 7 */ | 24 | unsigned char scr; /* 7 */ |
22 | #if defined(CONFIG_OMAP730) | 25 | #if defined(CONFIG_OMAP730) |
23 | unsigned char mdr1; /* 8 */ | 26 | unsigned char mdr1; /* 8 */ |
24 | unsigned char reg9; /* 9 */ | 27 | unsigned char reg9; /* 9 */ |
25 | unsigned char regA; /* A */ | 28 | unsigned char regA; /* A */ |
26 | unsigned char regB; /* B */ | 29 | unsigned char regB; /* B */ |
27 | unsigned char regC; /* C */ | 30 | unsigned char regC; /* C */ |
28 | unsigned char regD; /* D */ | 31 | unsigned char regD; /* D */ |
29 | unsigned char regE; /* E */ | 32 | unsigned char regE; /* E */ |
30 | unsigned char regF; /* F */ | 33 | unsigned char regF; /* F */ |
31 | unsigned char reg10; /* 10 */ | 34 | unsigned char reg10; /* 10 */ |
32 | unsigned char ssr; /* 11*/ | 35 | unsigned char ssr; /* 11*/ |
33 | #endif | 36 | #endif |
34 | } __attribute__ ((packed)); | 37 | } __attribute__ ((packed)); |
35 | #elif (CFG_NS16550_REG_SIZE == 2) | 38 | #elif (CFG_NS16550_REG_SIZE == 2) |
36 | struct NS16550 { | 39 | struct NS16550 { |
37 | unsigned short rbr; /* 0 */ | 40 | unsigned short rbr; /* 0 */ |
38 | unsigned short ier; /* 1 */ | 41 | unsigned short ier; /* 1 */ |
39 | unsigned short fcr; /* 2 */ | 42 | unsigned short fcr; /* 2 */ |
40 | unsigned short lcr; /* 3 */ | 43 | unsigned short lcr; /* 3 */ |
41 | unsigned short mcr; /* 4 */ | 44 | unsigned short mcr; /* 4 */ |
42 | unsigned short lsr; /* 5 */ | 45 | unsigned short lsr; /* 5 */ |
43 | unsigned short msr; /* 6 */ | 46 | unsigned short msr; /* 6 */ |
44 | unsigned short scr; /* 7 */ | 47 | unsigned short scr; /* 7 */ |
45 | } __attribute__ ((packed)); | 48 | } __attribute__ ((packed)); |
46 | #elif (CFG_NS16550_REG_SIZE == 4) | 49 | #elif (CFG_NS16550_REG_SIZE == 4) |
47 | struct NS16550 { | 50 | struct NS16550 { |
48 | unsigned long rbr; /* 0 r */ | 51 | unsigned long rbr; /* 0 r */ |
49 | unsigned long ier; /* 1 rw */ | 52 | unsigned long ier; /* 1 rw */ |
50 | unsigned long fcr; /* 2 w */ | 53 | unsigned long fcr; /* 2 w */ |
51 | unsigned long lcr; /* 3 rw */ | 54 | unsigned long lcr; /* 3 rw */ |
52 | unsigned long mcr; /* 4 rw */ | 55 | unsigned long mcr; /* 4 rw */ |
53 | unsigned long lsr; /* 5 r */ | 56 | unsigned long lsr; /* 5 r */ |
54 | unsigned long msr; /* 6 r */ | 57 | unsigned long msr; /* 6 r */ |
55 | unsigned long scr; /* 7 rw */ | 58 | unsigned long scr; /* 7 rw */ |
56 | }; /* No need to pack an already aligned struct */ | 59 | }; /* No need to pack an already aligned struct */ |
57 | #elif (CFG_NS16550_REG_SIZE == -4) | 60 | #elif (CFG_NS16550_REG_SIZE == -4) |
58 | struct NS16550 { | 61 | struct NS16550 { |
59 | unsigned char rbr; /* 0 */ | 62 | unsigned char rbr; /* 0 */ |
60 | int pad1:24; | 63 | int pad1:24; |
61 | unsigned char ier; /* 1 */ | 64 | unsigned char ier; /* 1 */ |
62 | int pad2:24; | 65 | int pad2:24; |
63 | unsigned char fcr; /* 2 */ | 66 | unsigned char fcr; /* 2 */ |
64 | int pad3:24; | 67 | int pad3:24; |
65 | unsigned char lcr; /* 3 */ | 68 | unsigned char lcr; /* 3 */ |
66 | int pad4:24; | 69 | int pad4:24; |
67 | unsigned char mcr; /* 4 */ | 70 | unsigned char mcr; /* 4 */ |
68 | int pad5:24; | 71 | int pad5:24; |
69 | unsigned char lsr; /* 5 */ | 72 | unsigned char lsr; /* 5 */ |
70 | int pad6:24; | 73 | int pad6:24; |
71 | unsigned char msr; /* 6 */ | 74 | unsigned char msr; /* 6 */ |
72 | int pad7:24; | 75 | int pad7:24; |
73 | unsigned char scr; /* 7 */ | 76 | unsigned char scr; /* 7 */ |
74 | int pad8:24; | 77 | int pad8:24; |
75 | #if defined(CONFIG_OMAP) | 78 | #if defined(CONFIG_OMAP) |
76 | unsigned char mdr1; /* mode select reset TL16C750*/ | 79 | unsigned char mdr1; /* mode select reset TL16C750*/ |
77 | #endif | 80 | #endif |
78 | #ifdef CONFIG_OMAP1510 | 81 | #ifdef CONFIG_OMAP1510 |
79 | int pad9:24; | 82 | int pad9:24; |
80 | unsigned long pad[10]; | 83 | unsigned long pad[10]; |
81 | unsigned char osc_12m_sel; | 84 | unsigned char osc_12m_sel; |
82 | int pad10:24; | 85 | int pad10:24; |
83 | #endif | 86 | #endif |
87 | } __attribute__ ((packed)); | ||
88 | #elif (CFG_NS16550_REG_SIZE == -8) | ||
89 | struct NS16550 { | ||
90 | unsigned char rbr; /* 0 */ | ||
91 | unsigned char pad0[7]; | ||
92 | unsigned char ier; /* 1 */ | ||
93 | unsigned char pad1[7]; | ||
94 | unsigned char fcr; /* 2 */ | ||
95 | unsigned char pad2[7]; | ||
96 | unsigned char lcr; /* 3 */ | ||
97 | unsigned char pad3[7]; | ||
98 | unsigned char mcr; /* 4 */ | ||
99 | unsigned char pad4[7]; | ||
100 | unsigned char lsr; /* 5 */ | ||
101 | unsigned char pad5[7]; | ||
102 | unsigned char msr; /* 6 */ | ||
103 | unsigned char pad6[7]; | ||
104 | unsigned char scr; /* 7 */ | ||
105 | unsigned char pad7[7]; | ||
84 | } __attribute__ ((packed)); | 106 | } __attribute__ ((packed)); |
85 | #else | 107 | #else |
86 | #error "Please define NS16550 registers size." | 108 | #error "Please define NS16550 registers size." |
87 | #endif | 109 | #endif |
88 | 110 | ||
89 | #define thr rbr | 111 | #define thr rbr |
90 | #define iir fcr | 112 | #define iir fcr |
91 | #define dll rbr | 113 | #define dll rbr |
92 | #define dlm ier | 114 | #define dlm ier |
93 | 115 | ||
94 | typedef volatile struct NS16550 *NS16550_t; | 116 | typedef volatile struct NS16550 *NS16550_t; |
95 | 117 | ||
96 | #define FCR_FIFO_EN 0x01 /* Fifo enable */ | 118 | #define FCR_FIFO_EN 0x01 /* Fifo enable */ |
97 | #define FCR_RXSR 0x02 /* Receiver soft reset */ | 119 | #define FCR_RXSR 0x02 /* Receiver soft reset */ |
98 | #define FCR_TXSR 0x04 /* Transmitter soft reset */ | 120 | #define FCR_TXSR 0x04 /* Transmitter soft reset */ |
99 | 121 | ||
100 | #define MCR_DTR 0x01 | 122 | #define MCR_DTR 0x01 |
101 | #define MCR_RTS 0x02 | 123 | #define MCR_RTS 0x02 |
102 | #define MCR_DMA_EN 0x04 | 124 | #define MCR_DMA_EN 0x04 |
103 | #define MCR_TX_DFR 0x08 | 125 | #define MCR_TX_DFR 0x08 |
104 | 126 | ||
105 | #define LCR_WLS_MSK 0x03 /* character length select mask */ | 127 | #define LCR_WLS_MSK 0x03 /* character length select mask */ |
106 | #define LCR_WLS_5 0x00 /* 5 bit character length */ | 128 | #define LCR_WLS_5 0x00 /* 5 bit character length */ |
107 | #define LCR_WLS_6 0x01 /* 6 bit character length */ | 129 | #define LCR_WLS_6 0x01 /* 6 bit character length */ |
108 | #define LCR_WLS_7 0x02 /* 7 bit character length */ | 130 | #define LCR_WLS_7 0x02 /* 7 bit character length */ |
109 | #define LCR_WLS_8 0x03 /* 8 bit character length */ | 131 | #define LCR_WLS_8 0x03 /* 8 bit character length */ |
110 | #define LCR_STB 0x04 /* Number of stop Bits, off = 1, on = 1.5 or 2) */ | 132 | #define LCR_STB 0x04 /* Number of stop Bits, off = 1, on = 1.5 or 2) */ |
111 | #define LCR_PEN 0x08 /* Parity eneble */ | 133 | #define LCR_PEN 0x08 /* Parity eneble */ |
112 | #define LCR_EPS 0x10 /* Even Parity Select */ | 134 | #define LCR_EPS 0x10 /* Even Parity Select */ |
113 | #define LCR_STKP 0x20 /* Stick Parity */ | 135 | #define LCR_STKP 0x20 /* Stick Parity */ |
114 | #define LCR_SBRK 0x40 /* Set Break */ | 136 | #define LCR_SBRK 0x40 /* Set Break */ |
115 | #define LCR_BKSE 0x80 /* Bank select enable */ | 137 | #define LCR_BKSE 0x80 /* Bank select enable */ |
116 | 138 | ||
117 | #define LSR_DR 0x01 /* Data ready */ | 139 | #define LSR_DR 0x01 /* Data ready */ |
118 | #define LSR_OE 0x02 /* Overrun */ | 140 | #define LSR_OE 0x02 /* Overrun */ |
119 | #define LSR_PE 0x04 /* Parity error */ | 141 | #define LSR_PE 0x04 /* Parity error */ |
120 | #define LSR_FE 0x08 /* Framing error */ | 142 | #define LSR_FE 0x08 /* Framing error */ |
121 | #define LSR_BI 0x10 /* Break */ | 143 | #define LSR_BI 0x10 /* Break */ |
122 | #define LSR_THRE 0x20 /* Xmit holding register empty */ | 144 | #define LSR_THRE 0x20 /* Xmit holding register empty */ |
123 | #define LSR_TEMT 0x40 /* Xmitter empty */ | 145 | #define LSR_TEMT 0x40 /* Xmitter empty */ |
124 | #define LSR_ERR 0x80 /* Error */ | 146 | #define LSR_ERR 0x80 /* Error */ |
125 | 147 | ||
126 | #ifdef CONFIG_OMAP1510 | 148 | #ifdef CONFIG_OMAP1510 |
127 | #define OSC_12M_SEL 0x01 /* selects 6.5 * current clk div */ | 149 | #define OSC_12M_SEL 0x01 /* selects 6.5 * current clk div */ |
128 | #endif | 150 | #endif |
129 | 151 | ||
130 | /* useful defaults for LCR */ | 152 | /* useful defaults for LCR */ |
131 | #define LCR_8N1 0x03 | 153 | #define LCR_8N1 0x03 |
132 | 154 | ||
133 | void NS16550_init (NS16550_t com_port, int baud_divisor); | 155 | void NS16550_init (NS16550_t com_port, int baud_divisor); |
134 | void NS16550_putc (NS16550_t com_port, char c); | 156 | void NS16550_putc (NS16550_t com_port, char c); |
135 | char NS16550_getc (NS16550_t com_port); | 157 | char NS16550_getc (NS16550_t com_port); |
136 | int NS16550_tstc (NS16550_t com_port); | 158 | int NS16550_tstc (NS16550_t com_port); |
137 | void NS16550_reinit (NS16550_t com_port, int baud_divisor); | 159 | void NS16550_reinit (NS16550_t com_port, int baud_divisor); |
138 | 160 |