1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28#ifndef __CONFIG_H
29#define __CONFIG_H
30
31
32
33
34
35
36#define CONFIG_405GP 1
37#define CONFIG_4xx 1
38#define CONFIG_AR405 1
39
40#define CONFIG_BOARD_EARLY_INIT_F 1
41
42#define CONFIG_SYS_CLK_FREQ 33000000
43
44#define CONFIG_BOARD_TYPES 1
45
46#define CONFIG_BAUDRATE 9600
47#define CONFIG_BOOTDELAY 3
48
49#if 1
50#define CONFIG_BOOTCOMMAND "bootm fff00000"
51#else
52#define CONFIG_BOOTCOMMAND "bootp"
53#endif
54
55#if 0
56#define CONFIG_BOOTARGS "root=/dev/nfs " \
57 "ip=192.168.2.176:192.168.2.190:192.168.2.79:255.255.255.0 " \
58 "nfsroot=192.168.2.190:/home/stefan/cpci405/target_ftest4"
59#else
60#define CONFIG_BOOTARGS "root=/dev/hda1 " \
61 "ip=192.168.2.176:192.168.2.190:192.168.2.79:255.255.255.0"
62
63#endif
64
65#define CONFIG_PREBOOT
66
67#define CONFIG_LOADS_ECHO 1
68#define CONFIG_SYS_LOADS_BAUD_CHANGE 1
69
70#define CONFIG_PPC4xx_EMAC
71#define CONFIG_MII 1
72#define CONFIG_PHY_ADDR 0
73#define CONFIG_LXT971_NO_SLEEP 1
74#define CONFIG_NET_MULTI
75
76
77
78
79
80#define CONFIG_BOOTP_BOOTFILESIZE
81#define CONFIG_BOOTP_BOOTPATH
82#define CONFIG_BOOTP_GATEWAY
83#define CONFIG_BOOTP_HOSTNAME
84
85
86
87
88
89#include <config_cmd_default.h>
90
91#define CONFIG_CMD_DHCP
92#define CONFIG_CMD_PCI
93#define CONFIG_CMD_IRQ
94#define CONFIG_CMD_ELF
95#define CONFIG_CMD_MII
96#define CONFIG_CMD_PING
97#define CONFIG_CMD_BSP
98
99
100#undef CONFIG_WATCHDOG
101
102#define CONFIG_SDRAM_BANK0 1
103
104
105
106
107#define CONFIG_SYS_LONGHELP
108#define CONFIG_SYS_PROMPT "=> "
109#if defined(CONFIG_CMD_KGDB)
110#define CONFIG_SYS_CBSIZE 1024
111#else
112#define CONFIG_SYS_CBSIZE 256
113#endif
114#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE+sizeof(CONFIG_SYS_PROMPT)+16)
115#define CONFIG_SYS_MAXARGS 16
116#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
117
118#define CONFIG_SYS_DEVICE_NULLDEV 1
119
120#define CONFIG_SYS_CONSOLE_INFO_QUIET 1
121
122#define CONFIG_AUTO_COMPLETE 1
123#define CONFIG_LOOPW 1
124#define CONFIG_MX_CYCLIC 1
125
126#define CONFIG_SYS_MEMTEST_START 0x0400000
127#define CONFIG_SYS_MEMTEST_END 0x0C00000
128
129#define CONFIG_SYS_EXT_SERIAL_CLOCK 14745600
130
131
132#define CONFIG_SYS_BAUDRATE_TABLE \
133 { 300, 600, 1200, 2400, 4800, 9600, 19200, 38400, \
134 57600, 115200, 230400, 460800, 921600 }
135
136#define CONFIG_SYS_LOAD_ADDR 0x100000
137#define CONFIG_SYS_EXTBDINFO 1
138
139#define CONFIG_SYS_HZ 1000
140
141#define CONFIG_ZERO_BOOTDELAY_CHECK
142
143
144
145
146
147#define PCI_HOST_ADAPTER 0
148#define PCI_HOST_FORCE 1
149#define PCI_HOST_AUTO 2
150
151#define CONFIG_PCI
152#define CONFIG_PCI_HOST PCI_HOST_FORCE
153#define CONFIG_PCI_PNP
154
155
156#define CONFIG_PCI_SCAN_SHOW
157
158#define CONFIG_PCI_CONFIG_HOST_BRIDGE 1
159
160#define CONFIG_PCI_BOOTDELAY 0
161
162#define CONFIG_SYS_PCI_SUBSYS_VENDORID 0x12FE
163#define CONFIG_SYS_PCI_SUBSYS_DEVICEID 0x0403
164#define CONFIG_SYS_PCI_PTM1LA 0x00000000
165#define CONFIG_SYS_PCI_PTM1MS 0x80000001
166#define CONFIG_SYS_PCI_PTM1PCI 0x00000000
167#define CONFIG_SYS_PCI_PTM2LA 0xfff00000
168#define CONFIG_SYS_PCI_PTM2MS 0xfff00001
169#define CONFIG_SYS_PCI_PTM2PCI 0x04000000
170
171
172
173
174
175
176#define CONFIG_SYS_SDRAM_BASE 0x00000000
177#define CONFIG_SYS_FLASH_BASE 0xFFFC0000
178#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_FLASH_BASE
179#define CONFIG_SYS_MONITOR_LEN (256 * 1024)
180#define CONFIG_SYS_MALLOC_LEN (128 * 1024)
181
182
183
184
185
186
187#define CONFIG_SYS_BOOTMAPSZ (8 << 20)
188
189
190
191#define CONFIG_SYS_MAX_FLASH_BANKS 1
192#define CONFIG_SYS_MAX_FLASH_SECT 256
193
194#define CONFIG_SYS_FLASH_ERASE_TOUT 120000
195#define CONFIG_SYS_FLASH_WRITE_TOUT 500
196
197#define CONFIG_SYS_FLASH_WORD_SIZE unsigned short
198#define CONFIG_SYS_FLASH_ADDR0 0x5555
199#define CONFIG_SYS_FLASH_ADDR1 0x2AAA
200
201
202
203
204#define CONFIG_SYS_FLASH_READ0 0x0000
205#define CONFIG_SYS_FLASH_READ1 0x0001
206#define CONFIG_SYS_FLASH_READ2 0x0002
207
208#define CONFIG_SYS_FLASH_EMPTY_INFO
209
210#define CONFIG_ENV_IS_IN_FLASH 1
211#define CONFIG_ENV_ADDR 0xFFFB0000
212#define CONFIG_ENV_SECT_SIZE 0x10000
213#define CONFIG_ENV_SIZE 0x04000
214
215#define CONFIG_ENV_ADDR_REDUND 0xFFFA0000
216#define CONFIG_ENV_SIZE_REDUND CONFIG_ENV_SIZE
217
218
219
220
221
222
223
224#define FLASH_BASE0_PRELIM 0xFFC00000
225
226
227
228
229
230
231#define CONFIG_SYS_EBC_PB0AP 0x92015480
232#define CONFIG_SYS_EBC_PB0CR 0xFFC5A000
233
234
235#define CONFIG_SYS_EBC_PB1AP 0x01000380
236#define CONFIG_SYS_EBC_PB1CR 0xF0018000
237
238
239#define CONFIG_SYS_EBC_PB2AP 0x01000280
240#define CONFIG_SYS_EBC_PB2CR 0xF0118000
241
242
243#define CONFIG_SYS_EBC_PB3AP 0x01000380
244#define CONFIG_SYS_EBC_PB3CR 0xF0218000
245
246
247#define CONFIG_SYS_EBC_PB4AP 0x01005380
248#define CONFIG_SYS_EBC_PB4CR 0xF031C000
249
250
251#define CONFIG_SYS_EBC_PB5AP 0x92015480
252#define CONFIG_SYS_EBC_PB5CR 0xFF85A000
253
254
255
256
257#define CONFIG_SYS_INIT_DCACHE_CS 7
258
259#define CONFIG_SYS_INIT_RAM_ADDR 0x40000000
260#define CONFIG_SYS_INIT_RAM_END 0x2000
261#define CONFIG_SYS_GBL_DATA_SIZE 128
262#define CONFIG_SYS_GBL_DATA_OFFSET (CONFIG_SYS_INIT_RAM_END - CONFIG_SYS_GBL_DATA_SIZE)
263#define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_GBL_DATA_OFFSET
264
265
266
267
268
269
270#define BOOTFLAG_COLD 0x01
271#define BOOTFLAG_WARM 0x02
272
273#endif
274