blob: 66f7a1150d00aa092c1adced601b8a6221155a7a [file] [log] [blame]
wdenkdb2f721f2003-03-06 00:58:30 +00001/*
2 * (C) Copyright 2003
3 * EMK Elektronik GmbH <www.emk-elektronik.de>
4 * Reinhard Meyer <r.meyer@emk-elektronik.de>
5 *
6 * Configuation settings for the TOP860 board.
7 *
8 * -----------------------------------------------------------------
9 * See file CREDITS for list of people who contributed to this
10 * project.
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License as
14 * published by the Free Software Foundation; either version 2 of
15 * the License, or (at your option) any later version.
16 *
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
25 * MA 02111-1307 USA
26 */
27/*
wdenk945af8d2003-07-16 21:53:01 +000028 * TOP860 is a simple module:
29 * 16-bit wide FLASH on CS0 (2MB or more)
30 * 32-bit wide DRAM on CS2 (either 4MB or 16MB)
31 * FEC with Am79C874 100-Base-T and Fiber Optic
32 * Ports available, but we choose SMC1 for Console
wdenkdb2f721f2003-03-06 00:58:30 +000033 * 8k I2C EEPROM at address 0xae, 6k user available, 2k factory set
wdenk945af8d2003-07-16 21:53:01 +000034 * 32768Hz crystal PLL set for 49.152MHz Core and 24.576MHz Bus Clock
35 *
36 * This config has been copied from MBX.h / MBX860T.h
wdenkdb2f721f2003-03-06 00:58:30 +000037 */
38/*
39 * board/config.h - configuration options, board specific
40 */
41
42#ifndef __CONFIG_H
43#define __CONFIG_H
44
45/*
46 * High Level Configuration Options
47 * (easy to change)
48 */
49
50/*-----------------------------------------------------------------------
51 * CPU and BOARD type
52 */
53#define CONFIG_MPC860 1 /* This is a MPC860 CPU */
54#define CONFIG_MPC860T 1 /* even better... an FEC! */
55#define CONFIG_TOP860 1 /* ...on a TOP860 module */
56#undef CONFIG_WATCHDOG /* watchdog disabled */
wdenk945af8d2003-07-16 21:53:01 +000057#define CONFIG_IDENT_STRING " EMK TOP860"
wdenkdb2f721f2003-03-06 00:58:30 +000058
59/*-----------------------------------------------------------------------
60 * CLOCK settings
61 */
wdenk945af8d2003-07-16 21:53:01 +000062#define CONFIG_SYSCLK 49152000
63#define CFG_XTAL 32768
64#define CONFIG_EBDF 1
65#define CONFIG_COM 3
66#define CONFIG_RTC_MPC8xx
67
wdenkdb2f721f2003-03-06 00:58:30 +000068/*-----------------------------------------------------------------------
69 * Physical memory map as defined by EMK
70 */
71#define CFG_IMMR 0xFFF00000 /* Internal Memory Mapped Register */
wdenk945af8d2003-07-16 21:53:01 +000072#define CFG_FLASH_BASE 0x80000000 /* FLASH in final mapping */
73#define CFG_DRAM_BASE 0x00000000 /* DRAM in final mapping */
74#define CFG_FLASH_MAX 0x00400000 /* max FLASH to expect */
75#define CFG_DRAM_MAX 0x01000000 /* max DRAM to expect */
76
wdenkdb2f721f2003-03-06 00:58:30 +000077/*-----------------------------------------------------------------------
78 * derived values
79 */
wdenk945af8d2003-07-16 21:53:01 +000080#define CFG_MF (CONFIG_SYSCLK/CFG_XTAL)
81#define CFG_CPUCLOCK CONFIG_SYSCLK
82#define CFG_BRGCLOCK CONFIG_SYSCLK
83#define CFG_BUSCLOCK (CONFIG_SYSCLK >> CONFIG_EBDF)
wdenkdb2f721f2003-03-06 00:58:30 +000084#define CFG_HZ 1000 /* decrementer freq: 1 ms ticks */
wdenk945af8d2003-07-16 21:53:01 +000085#define CONFIG_8xx_GCLK_FREQ CONFIG_SYSCLK
86
wdenkdb2f721f2003-03-06 00:58:30 +000087/*-----------------------------------------------------------------------
88 * FLASH organization
89 */
90#define CFG_MAX_FLASH_BANKS 1 /* max number of memory banks */
91#define CFG_MAX_FLASH_SECT 128 /* max number of sectors on one chip */
92
93#define CFG_FLASH_ERASE_TOUT 120000 /* Timeout for Flash Erase (in ms) */
94#define CFG_FLASH_WRITE_TOUT 500 /* Timeout for Flash Write (in ms) */
wdenk945af8d2003-07-16 21:53:01 +000095
96#define CFG_FLASH_CFI
wdenkdb2f721f2003-03-06 00:58:30 +000097
98/*-----------------------------------------------------------------------
99 * Command interpreter
100 */
101#define CONFIG_8xx_CONS_SMC1 1 /* Console is on SMC1 */
102#undef CONFIG_8xx_CONS_SMC2
103#define CONFIG_BAUDRATE 9600
wdenk945af8d2003-07-16 21:53:01 +0000104
wdenkdb2f721f2003-03-06 00:58:30 +0000105/*
106 * Allow partial commands to be matched to uniqueness.
107 */
108#define CFG_MATCH_PARTIAL_CMD
109
Jon Loeligera5562902007-07-08 15:31:57 -0500110
wdenkdb2f721f2003-03-06 00:58:30 +0000111/*
Jon Loeligera5562902007-07-08 15:31:57 -0500112 * Command line configuration.
wdenkdb2f721f2003-03-06 00:58:30 +0000113 */
Jon Loeligera5562902007-07-08 15:31:57 -0500114#include <config_cmd_default.h>
115
116#define CONFIG_CMD_ASKENV
117#define CONFIG_CMD_DHCP
118#define CONFIG_CMD_I2C
119#define CONFIG_CMD_EEPROM
120#define CONFIG_CMD_REGINFO
121#define CONFIG_CMD_IMMAP
122#define CONFIG_CMD_ELF
123#define CONFIG_CMD_DATE
124#define CONFIG_CMD_MII
125#define CONFIG_CMD_BEDBUG
126
wdenkdb2f721f2003-03-06 00:58:30 +0000127
wdenk945af8d2003-07-16 21:53:01 +0000128#define CONFIG_AUTOSCRIPT 1
129#define CFG_LOADS_BAUD_CHANGE 1
wdenkdb2f721f2003-03-06 00:58:30 +0000130#undef CONFIG_LOADS_ECHO /* NO echo on for serial download */
131
wdenkdb2f721f2003-03-06 00:58:30 +0000132
133#define CFG_LONGHELP /* undef to save memory */
134#define CFG_PROMPT "=> " /* Monitor Command Prompt */
wdenk945af8d2003-07-16 21:53:01 +0000135
wdenkdb2f721f2003-03-06 00:58:30 +0000136#undef CFG_HUSH_PARSER /* Hush parse for U-Boot */
wdenk945af8d2003-07-16 21:53:01 +0000137
wdenkdb2f721f2003-03-06 00:58:30 +0000138#ifdef CFG_HUSH_PARSER
139 #define CFG_PROMPT_HUSH_PS2 "> "
140#endif
wdenk945af8d2003-07-16 21:53:01 +0000141
Jon Loeligera5562902007-07-08 15:31:57 -0500142#if defined(CONFIG_CMD_KGDB)
wdenkdb2f721f2003-03-06 00:58:30 +0000143 #define CFG_CBSIZE 1024 /* Console I/O Buffer Size */
144#else
145 #define CFG_CBSIZE 256 /* Console I/O Buffer Size */
146#endif
wdenk945af8d2003-07-16 21:53:01 +0000147
wdenkdb2f721f2003-03-06 00:58:30 +0000148#define CFG_PBSIZE (CFG_CBSIZE+sizeof(CFG_PROMPT)+16) /* Print Buffer Size */
149#define CFG_MAXARGS 16 /* max number of command args */
150#define CFG_BARGSIZE CFG_CBSIZE /* Boot Argument Buffer Size */
151
152/*-----------------------------------------------------------------------
153 * Memory Test Command
154 */
155#define CFG_MEMTEST_START 0x0400000 /* memtest works on */
156#define CFG_MEMTEST_END 0x0C00000 /* 4 ... 12 MB in DRAM */
wdenk945af8d2003-07-16 21:53:01 +0000157
wdenkdb2f721f2003-03-06 00:58:30 +0000158/*-----------------------------------------------------------------------
159 * Environment handler
160 * only the first 6k in EEPROM are available for user. Of that we use 256b
161 */
wdenk945af8d2003-07-16 21:53:01 +0000162#define CONFIG_SOFT_I2C
wdenkdb2f721f2003-03-06 00:58:30 +0000163#define CFG_ENV_IS_IN_EEPROM 1 /* turn on EEPROM env feature */
164#define CFG_ENV_OFFSET 0x1000
wdenk945af8d2003-07-16 21:53:01 +0000165#define CFG_ENV_SIZE 0x0700
166#define CFG_I2C_EEPROM_ADDR 0x57
wdenkdb2f721f2003-03-06 00:58:30 +0000167#define CFG_FACT_OFFSET 0x1800
wdenk945af8d2003-07-16 21:53:01 +0000168#define CFG_FACT_SIZE 0x0800
169#define CFG_I2C_FACT_ADDR 0x57
170#define CFG_EEPROM_PAGE_WRITE_BITS 3
171#define CFG_I2C_EEPROM_ADDR_LEN 2
wdenkdb2f721f2003-03-06 00:58:30 +0000172#define CFG_EEPROM_SIZE 0x2000
173#define CFG_I2C_SPEED 100000
wdenk945af8d2003-07-16 21:53:01 +0000174#define CFG_I2C_SLAVE 0xFE
175#define CFG_EEPROM_PAGE_WRITE_DELAY_MS 12
176#define CONFIG_ENV_OVERWRITE
177#define CONFIG_MISC_INIT_R
178
179#if defined (CONFIG_SOFT_I2C)
180#define SDA 0x00010
181#define SCL 0x00020
Wolfgang Denkf57f70a2005-10-13 01:45:54 +0200182#define __I2C_DIR immr->im_cpm.cp_pbdir
183#define __I2C_DAT immr->im_cpm.cp_pbdat
184#define __I2C_PAR immr->im_cpm.cp_pbpar
185#define __I2C_ODR immr->im_cpm.cp_pbodr
186#define I2C_INIT { __I2C_PAR &= ~(SDA|SCL); \
187 __I2C_ODR &= ~(SDA|SCL); \
188 __I2C_DAT |= (SDA|SCL); \
189 __I2C_DIR|=(SDA|SCL); }
190#define I2C_READ ((__I2C_DAT & SDA) ? 1 : 0)
191#define I2C_SDA(x) { if (x) __I2C_DAT |= SDA; else __I2C_DAT &= ~SDA; }
192#define I2C_SCL(x) { if (x) __I2C_DAT |= SCL; else __I2C_DAT &= ~SCL; }
193#define I2C_DELAY { udelay(5); }
194#define I2C_ACTIVE { __I2C_DIR |= SDA; }
195#define I2C_TRISTATE { __I2C_DIR &= ~SDA; }
wdenkdb2f721f2003-03-06 00:58:30 +0000196#endif
197
198#define CFG_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200, 230400 }
199
200/*-----------------------------------------------------------------------
201 * defines we need to get FEC running
wdenk945af8d2003-07-16 21:53:01 +0000202 */
wdenkdb2f721f2003-03-06 00:58:30 +0000203#define CONFIG_NET_MULTI 1 /* the only way to get the FEC in */
204#define CONFIG_FEC_ENET 1 /* Ethernet only via FEC */
wdenk945af8d2003-07-16 21:53:01 +0000205#define FEC_ENET 1 /* eth.c needs it that way... */
wdenkdb2f721f2003-03-06 00:58:30 +0000206#define CFG_DISCOVER_PHY 1
207#define CONFIG_MII 1
208#define CONFIG_PHY_ADDR 31
wdenk945af8d2003-07-16 21:53:01 +0000209
wdenkdb2f721f2003-03-06 00:58:30 +0000210/*-----------------------------------------------------------------------
211 * adresses
wdenk945af8d2003-07-16 21:53:01 +0000212 */
wdenkdb2f721f2003-03-06 00:58:30 +0000213#define CFG_MONITOR_LEN (256 << 10) /* Reserve 256 kB for Monitor */
214#define CFG_MONITOR_BASE TEXT_BASE
215#define CFG_MALLOC_LEN (128 << 10) /* Reserve 128 kB for malloc() */
wdenk945af8d2003-07-16 21:53:01 +0000216
wdenkdb2f721f2003-03-06 00:58:30 +0000217/*-----------------------------------------------------------------------
218 * Start addresses for the final memory configuration
219 * (Set up by the startup code)
220 * Please note that CFG_SDRAM_BASE _must_ start at 0
221 */
222#define CFG_SDRAM_BASE 0x00000000
223#define CFG_FLASH_BASE 0x80000000
wdenk945af8d2003-07-16 21:53:01 +0000224
wdenkdb2f721f2003-03-06 00:58:30 +0000225/*-----------------------------------------------------------------------
226 * Definitions for initial stack pointer and data area (in DPRAM)
227 */
228#define CFG_INIT_RAM_ADDR CFG_IMMR
229#define CFG_INIT_RAM_END 0x2f00 /* End of used area in DPRAM */
230#define CFG_GBL_DATA_SIZE 64 /* size in bytes reserved for initial data */
231#define CFG_GBL_DATA_OFFSET (CFG_INIT_RAM_END - CFG_GBL_DATA_SIZE)
232#define CFG_INIT_VPD_SIZE 256 /* size in bytes reserved for vpd buffer */
233#define CFG_INIT_VPD_OFFSET (CFG_GBL_DATA_OFFSET - CFG_INIT_VPD_SIZE)
234#define CFG_INIT_SP_OFFSET (CFG_INIT_VPD_OFFSET-8)
235
236/*-----------------------------------------------------------------------
237 * Cache Configuration
238 */
239#define CFG_CACHELINE_SIZE 16 /* For all MPC8xx CPUs */
Jon Loeligera5562902007-07-08 15:31:57 -0500240#if defined(CONFIG_CMD_KGDB)
wdenkdb2f721f2003-03-06 00:58:30 +0000241#define CFG_CACHELINE_SHIFT 4 /* log base 2 of the above value */
242#endif
243
244/* Interrupt level assignments.
245*/
246#define FEC_INTERRUPT SIU_LEVEL1 /* FEC interrupt */
247
248/*
249 * Internal Definitions
250 *
251 * Boot Flags
252 */
253#define BOOTFLAG_COLD 0x01 /* Normal Power-On: Boot from FLASH */
254#define BOOTFLAG_WARM 0x02 /* Software reboot */
255
256/*-----------------------------------------------------------------------
257 * Debug Enable Register
258 *-----------------------------------------------------------------------
259 *
260 */
261#define CFG_DER 0 /* used in start.S */
262
263/*-----------------------------------------------------------------------
264 * PLPRCR - PLL, Low-Power, and Reset Control Register 15-30
265 *-----------------------------------------------------------------------
wdenk945af8d2003-07-16 21:53:01 +0000266 * set up PLPRCR (PLL, Low-Power, and Reset Control Register)
267 * 12 MF calculated Multiplication factor
268 * 4 0 0000
269 * 1 SPLSS 0 System PLL lock status sticky
270 * 1 TEXPS 1 Timer expired status
271 * 1 0 0
272 * 1 TMIST 0 Timers interrupt status
273 * 1 0 0
274 * 1 CSRC 0 Clock source (0=DFNH, 1=DFNL)
275 * 2 LPM 00 Low-power modes
276 * 1 CSR 0 Checkstop reset enable
277 * 1 LOLRE 0 Loss-of-lock reset enable
278 * 1 FIOPD 0 Force I/O pull down
wdenk42d1f032003-10-15 23:53:47 +0000279 * 5 0 00000
wdenkdb2f721f2003-03-06 00:58:30 +0000280 */
281#define CFG_PLPRCR (PLPRCR_TEXPS | ((CFG_MF-1)<<20))
wdenk945af8d2003-07-16 21:53:01 +0000282
wdenkdb2f721f2003-03-06 00:58:30 +0000283/*-----------------------------------------------------------------------
284 * SYPCR - System Protection Control 11-9
285 * SYPCR can only be written once after reset!
286 *-----------------------------------------------------------------------
wdenk945af8d2003-07-16 21:53:01 +0000287 * set up SYPCR:
288 * 16 SWTC 0xffff Software watchdog timer count
289 * 8 BMT 0xff Bus monitor timing
290 * 1 BME 1 Bus monitor enable
291 * 3 0 000
292 * 1 SWF 1 Software watchdog freeze
293 * 1 SWE 0/1 Software watchdog enable
294 * 1 SWRI 0/1 Software watchdog reset/interrupt select (1=HRESET)
295 * 1 SWP 0/1 Software watchdog prescale (1=/2048)
wdenkdb2f721f2003-03-06 00:58:30 +0000296 */
297#if defined (CONFIG_WATCHDOG)
298 #define CFG_SYPCR (SYPCR_SWTC | SYPCR_BMT | SYPCR_BME | SYPCR_SWF | \
299 SYPCR_SWE | SYPCR_SWRI| SYPCR_SWP)
300#else
301 #define CFG_SYPCR (SYPCR_SWTC | SYPCR_BMT | SYPCR_BME | SYPCR_SWF)
302#endif
303
304/*-----------------------------------------------------------------------
305 * SIUMCR - SIU Module Configuration 11-6
306 *-----------------------------------------------------------------------
wdenk945af8d2003-07-16 21:53:01 +0000307 * set up SIUMCR
308 * 1 EARB 0 External arbitration
309 * 3 EARP 000 External arbitration request priority
310 * 4 0 0000
311 * 1 DSHW 0 Data show cycles
312 * 2 DBGC 00 Debug pin configuration
313 * 2 DBPC 00 Debug port pins configuration
314 * 1 0 0
315 * 1 FRC 0 FRZ pin configuration
316 * 1 DLK 0 Debug register lock
317 * 1 OPAR 0 Odd parity
318 * 1 PNCS 0 Parity enable for non memory controller regions
319 * 1 DPC 0 Data parity pins configuration
320 * 1 MPRE 0 Multiprocessor reservation enable
321 * 2 MLRC 11 Multi level reservation control (00=IRQ4, 01=3State, 10=KR/RETRY, 11=SPKROUT)
322 * 1 AEME 0 Async external master enable
323 * 1 SEME 0 Sync external master enable
324 * 1 BSC 0 Byte strobe configuration
325 * 1 GB5E 0 GPL_B5 enable
wdenk42d1f032003-10-15 23:53:47 +0000326 * 1 B2DD 0 Bank 2 double drive
327 * 1 B3DD 0 Bank 3 double drive
wdenk945af8d2003-07-16 21:53:01 +0000328 * 4 0 0000
wdenkdb2f721f2003-03-06 00:58:30 +0000329 */
330#define CFG_SIUMCR (SIUMCR_MLRC11)
wdenk945af8d2003-07-16 21:53:01 +0000331
wdenkdb2f721f2003-03-06 00:58:30 +0000332/*-----------------------------------------------------------------------
333 * TBSCR - Time Base Status and Control 11-26
334 *-----------------------------------------------------------------------
335 * Clear Reference Interrupt Status, Timebase freezing enabled
336 */
337#define CFG_TBSCR (TBSCR_REFA | TBSCR_REFB | TBSCR_TBF)
338
339/*-----------------------------------------------------------------------
340 * PISCR - Periodic Interrupt Status and Control 11-31
341 *-----------------------------------------------------------------------
342 * Clear Periodic Interrupt Status, Interrupt Timer freezing enabled
343 */
344#define CFG_PISCR (PISCR_PS | PISCR_PITF | PISCR_PTE)
345
346/*-----------------------------------------------------------------------
347 * SCCR - System Clock and reset Control Register 15-27
348 *-----------------------------------------------------------------------
wdenk945af8d2003-07-16 21:53:01 +0000349 * set up SCCR (System Clock and Reset Control Register)
350 * 1 0 0
351 * 2 COM 11 Clock output module (00=full, 01=half, 11=off)
352 * 3 0 000
353 * 1 TBS 1 Timebase source (0=OSCCLK, 1=GCLK2)
354 * 1 RTDIV 0 Real-time clock divide (0=/4, 1=/512)
355 * 1 RTSEL 0 Real-time clock select (0=OSCM, 1=EXTCLK)
356 * 1 CRQEN 0 CPM request enable
357 * 1 PRQEN 0 Power management request enable
358 * 2 0 00
359 * 2 EBDF xx External bus division factor
360 * 2 0 00
361 * 2 DFSYNC 00 Division factor for SYNCLK
362 * 2 DFBRG 00 Division factor for BRGCLK
363 * 3 DFNL 000 Division factor low frequency
364 * 3 DFNH 000 Division factor high frequency
365 * 5 0 00000
wdenkdb2f721f2003-03-06 00:58:30 +0000366 */
367#define SCCR_MASK 0
wdenk42dfe7a2004-03-14 22:25:36 +0000368#ifdef CONFIG_EBDF
wdenkdb2f721f2003-03-06 00:58:30 +0000369 #define CFG_SCCR (SCCR_COM11 | SCCR_TBS | SCCR_EBDF01)
wdenk945af8d2003-07-16 21:53:01 +0000370#else
wdenkdb2f721f2003-03-06 00:58:30 +0000371 #define CFG_SCCR (SCCR_COM11 | SCCR_TBS)
wdenk945af8d2003-07-16 21:53:01 +0000372#endif
wdenkdb2f721f2003-03-06 00:58:30 +0000373
374/*-----------------------------------------------------------------------
375 * Chip Select 0 - FLASH
376 *-----------------------------------------------------------------------
377 * Preliminary Values
378 */
379/* FLASH timing: CSNT=1 ACS=10 BIH=1 SCY=4 SETA=0 TLRX=1 EHTR=1 */
380#define CFG_OR_TIMING_FLASH (OR_CSNT_SAM | OR_ACS_DIV4 | OR_BI | OR_SCY_4_CLK | OR_TRLX | OR_EHTR)
381#define CFG_OR0_PRELIM (-CFG_FLASH_MAX | CFG_OR_TIMING_FLASH)
382#define CFG_BR0_PRELIM (CFG_FLASH_BASE | BR_PS_16 | BR_V )
wdenk945af8d2003-07-16 21:53:01 +0000383
wdenkdb2f721f2003-03-06 00:58:30 +0000384/*-----------------------------------------------------------------------
385 * misc
386 *-----------------------------------------------------------------------
387 *
388 */
389/*
390 * Set the autoboot delay in seconds. A delay of -1 disables autoboot
391 */
392#define CONFIG_BOOTDELAY 5
393
394/*
395 * Pass the clock frequency to the Linux kernel in units of MHz
396 */
397#define CONFIG_CLOCKS_IN_MHZ
398
399#define CONFIG_PREBOOT \
400 "echo;echo"
401
402#undef CONFIG_BOOTARGS
403#define CONFIG_BOOTCOMMAND \
404 "bootp;" \
Wolfgang Denkfe126d82005-11-20 21:40:11 +0100405 "setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} " \
406 "ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; " \
wdenkdb2f721f2003-03-06 00:58:30 +0000407 "bootm"
408
409/*
410 * BOOTP options
411 */
Jon Loeliger37d4bb72007-07-09 21:38:02 -0500412#define CONFIG_BOOTP_SUBNETMASK
413#define CONFIG_BOOTP_GATEWAY
414#define CONFIG_BOOTP_HOSTNAME
415#define CONFIG_BOOTP_BOOTPATH
416#define CONFIG_BOOTP_BOOTFILESIZE
wdenk42d1f032003-10-15 23:53:47 +0000417
wdenkdb2f721f2003-03-06 00:58:30 +0000418
419/*
420 * Set default IP stuff just to get bootstrap entries into the
421 * environment so that we can autoscript the full default environment.
422 */
423#define CONFIG_ETHADDR 9a:52:63:15:85:25
424#define CONFIG_SERVERIP 10.0.4.200
425#define CONFIG_IPADDR 10.0.4.111
wdenk945af8d2003-07-16 21:53:01 +0000426
wdenkdb2f721f2003-03-06 00:58:30 +0000427/*-----------------------------------------------------------------------
428 * Defaults for Autoscript
429 */
430#define CFG_LOAD_ADDR 0x00100000 /* default load address */
431#define CFG_TFTP_LOADADDR 0x00100000
wdenk945af8d2003-07-16 21:53:01 +0000432
wdenkdb2f721f2003-03-06 00:58:30 +0000433/*
434 * For booting Linux, the board info and command line data
435 * have to be in the first 8 MB of memory, since this is
436 * the maximum mapped by the Linux kernel during initialization.
437 */
438#define CFG_BOOTMAPSZ (8 << 20) /* Initial Memory map for Linux */
439
wdenk945af8d2003-07-16 21:53:01 +0000440
wdenkdb2f721f2003-03-06 00:58:30 +0000441#endif /* __CONFIG_H */