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