xref: /openbmc/u-boot/include/configs/omap3_evm.h (revision 136cf92dc9e84c9a1bf567f1fe741092bf765495)
1ad9bc8e5SDirk Behme /*
2ad9bc8e5SDirk Behme  * (C) Copyright 2006-2008
3ad9bc8e5SDirk Behme  * Texas Instruments.
4ad9bc8e5SDirk Behme  * Author :
5ad9bc8e5SDirk Behme  *	Manikandan Pillai <mani.pillai@ti.com>
6ad9bc8e5SDirk Behme  * Derived from Beagle Board and 3430 SDP code by
7ad9bc8e5SDirk Behme  *	Richard Woodruff <r-woodruff2@ti.com>
8ad9bc8e5SDirk Behme  *	Syed Mohammed Khasim <khasim@ti.com>
9ad9bc8e5SDirk Behme  *
10ad9bc8e5SDirk Behme  * Manikandan Pillai <mani.pillai@ti.com>
11ad9bc8e5SDirk Behme  *
12ad9bc8e5SDirk Behme  * Configuration settings for the TI OMAP3 EVM board.
13ad9bc8e5SDirk Behme  *
14ad9bc8e5SDirk Behme  * See file CREDITS for list of people who contributed to this
15ad9bc8e5SDirk Behme  * project.
16ad9bc8e5SDirk Behme  *
17ad9bc8e5SDirk Behme  * This program is free software; you can redistribute it and/or
18ad9bc8e5SDirk Behme  * modify it under the terms of the GNU General Public License as
19ad9bc8e5SDirk Behme  * published by the Free Software Foundation; either version 2 of
20ad9bc8e5SDirk Behme  * the License, or (at your option) any later version.
21ad9bc8e5SDirk Behme  *
22ad9bc8e5SDirk Behme  * This program is distributed in the hope that it will be useful,
23ad9bc8e5SDirk Behme  * but WITHOUT ANY WARRANTY; without even the implied warranty of
24ad9bc8e5SDirk Behme  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the
25ad9bc8e5SDirk Behme  * GNU General Public License for more details.
26ad9bc8e5SDirk Behme  *
27ad9bc8e5SDirk Behme  * You should have received a copy of the GNU General Public License
28ad9bc8e5SDirk Behme  * along with this program; if not, write to the Free Software
29ad9bc8e5SDirk Behme  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
30ad9bc8e5SDirk Behme  * MA 02111-1307 USA
31ad9bc8e5SDirk Behme  */
32ad9bc8e5SDirk Behme 
33ad9bc8e5SDirk Behme #ifndef __CONFIG_H
34ad9bc8e5SDirk Behme #define __CONFIG_H
35ad9bc8e5SDirk Behme #include <asm/sizes.h>
36ad9bc8e5SDirk Behme 
37ad9bc8e5SDirk Behme /*
38ad9bc8e5SDirk Behme  * High Level Configuration Options
39ad9bc8e5SDirk Behme  */
40ad9bc8e5SDirk Behme #define CONFIG_ARMCORTEXA8	1	/* This is an ARM V7 CPU core */
41ad9bc8e5SDirk Behme #define CONFIG_OMAP		1	/* in a TI OMAP core */
42ad9bc8e5SDirk Behme #define CONFIG_OMAP34XX		1	/* which is a 34XX */
43ad9bc8e5SDirk Behme #define CONFIG_OMAP3430		1	/* which is in a 3430 */
44ad9bc8e5SDirk Behme #define CONFIG_OMAP3_EVM	1	/* working with EVM */
45ad9bc8e5SDirk Behme 
46ad9bc8e5SDirk Behme #include <asm/arch/cpu.h>	/* get chip and board defs */
47ad9bc8e5SDirk Behme #include <asm/arch/omap3.h>
48ad9bc8e5SDirk Behme 
496a6b62e3SSanjeev Premi /*
506a6b62e3SSanjeev Premi  * Display CPU and Board information
516a6b62e3SSanjeev Premi  */
526a6b62e3SSanjeev Premi #define CONFIG_DISPLAY_CPUINFO		1
536a6b62e3SSanjeev Premi #define CONFIG_DISPLAY_BOARDINFO	1
546a6b62e3SSanjeev Premi 
55ad9bc8e5SDirk Behme /* Clock Defines */
56ad9bc8e5SDirk Behme #define V_OSCK			26000000	/* Clock output from T2 */
57ad9bc8e5SDirk Behme #define V_SCLK			(V_OSCK >> 1)
58ad9bc8e5SDirk Behme 
59ad9bc8e5SDirk Behme #undef CONFIG_USE_IRQ			/* no support for IRQs */
60ad9bc8e5SDirk Behme #define CONFIG_MISC_INIT_R
61ad9bc8e5SDirk Behme 
62ad9bc8e5SDirk Behme #define CONFIG_CMDLINE_TAG		1	/* enable passing of ATAGs */
63ad9bc8e5SDirk Behme #define CONFIG_SETUP_MEMORY_TAGS	1
64ad9bc8e5SDirk Behme #define CONFIG_INITRD_TAG		1
65ad9bc8e5SDirk Behme #define CONFIG_REVISION_TAG		1
66ad9bc8e5SDirk Behme 
67ad9bc8e5SDirk Behme /*
68ad9bc8e5SDirk Behme  * Size of malloc() pool
69ad9bc8e5SDirk Behme  */
70ad9bc8e5SDirk Behme #define CONFIG_ENV_SIZE			SZ_128K	/* Total Size Environment */
71ad9bc8e5SDirk Behme 						/* Sector */
72ad9bc8e5SDirk Behme #define CONFIG_SYS_MALLOC_LEN		(CONFIG_ENV_SIZE + SZ_128K)
73ad9bc8e5SDirk Behme #define CONFIG_SYS_GBL_DATA_SIZE	128	/* bytes reserved for */
74ad9bc8e5SDirk Behme 						/* initial data */
75ad9bc8e5SDirk Behme /*
76ad9bc8e5SDirk Behme  * Hardware drivers
77ad9bc8e5SDirk Behme  */
78ad9bc8e5SDirk Behme 
79ad9bc8e5SDirk Behme /*
80ad9bc8e5SDirk Behme  * NS16550 Configuration
81ad9bc8e5SDirk Behme  */
82ad9bc8e5SDirk Behme #define V_NS16550_CLK			48000000	/* 48MHz (APLL96/2) */
83ad9bc8e5SDirk Behme 
84ad9bc8e5SDirk Behme #define CONFIG_SYS_NS16550
85ad9bc8e5SDirk Behme #define CONFIG_SYS_NS16550_SERIAL
86ad9bc8e5SDirk Behme #define CONFIG_SYS_NS16550_REG_SIZE	(-4)
87ad9bc8e5SDirk Behme #define CONFIG_SYS_NS16550_CLK		V_NS16550_CLK
88ad9bc8e5SDirk Behme 
89ad9bc8e5SDirk Behme /*
90ad9bc8e5SDirk Behme  * select serial console configuration
91ad9bc8e5SDirk Behme  */
92ad9bc8e5SDirk Behme #define CONFIG_CONS_INDEX		1
93ad9bc8e5SDirk Behme #define CONFIG_SYS_NS16550_COM1		OMAP34XX_UART1
94ad9bc8e5SDirk Behme #define CONFIG_SERIAL1			1	/* UART1 on OMAP3 EVM */
95ad9bc8e5SDirk Behme 
96ad9bc8e5SDirk Behme /* allow to overwrite serial and ethaddr */
97ad9bc8e5SDirk Behme #define CONFIG_ENV_OVERWRITE
98ad9bc8e5SDirk Behme #define CONFIG_BAUDRATE			115200
99ad9bc8e5SDirk Behme #define CONFIG_SYS_BAUDRATE_TABLE	{4800, 9600, 19200, 38400, 57600,\
100ad9bc8e5SDirk Behme 					115200}
101ad9bc8e5SDirk Behme #define CONFIG_MMC			1
102ad9bc8e5SDirk Behme #define CONFIG_OMAP3_MMC		1
103ad9bc8e5SDirk Behme #define CONFIG_DOS_PARTITION		1
104ad9bc8e5SDirk Behme 
105ad9bc8e5SDirk Behme /* commands to include */
106ad9bc8e5SDirk Behme #include <config_cmd_default.h>
107ad9bc8e5SDirk Behme 
108ad9bc8e5SDirk Behme #define CONFIG_CMD_EXT2		/* EXT2 Support			*/
109ad9bc8e5SDirk Behme #define CONFIG_CMD_FAT		/* FAT support			*/
110ad9bc8e5SDirk Behme #define CONFIG_CMD_JFFS2	/* JFFS2 Support		*/
111ad9bc8e5SDirk Behme 
112ad9bc8e5SDirk Behme #define CONFIG_CMD_I2C		/* I2C serial bus support	*/
113ad9bc8e5SDirk Behme #define CONFIG_CMD_MMC		/* MMC support			*/
114ad9bc8e5SDirk Behme #define CONFIG_CMD_ONENAND	/* ONENAND support		*/
115ad9bc8e5SDirk Behme #define CONFIG_CMD_DHCP
116ad9bc8e5SDirk Behme #define CONFIG_CMD_PING
117ad9bc8e5SDirk Behme 
118ad9bc8e5SDirk Behme #undef CONFIG_CMD_FLASH		/* flinfo, erase, protect	*/
119ad9bc8e5SDirk Behme #undef CONFIG_CMD_FPGA		/* FPGA configuration Support	*/
120ad9bc8e5SDirk Behme #undef CONFIG_CMD_IMI		/* iminfo			*/
121ad9bc8e5SDirk Behme #undef CONFIG_CMD_IMLS		/* List all found images	*/
122ad9bc8e5SDirk Behme 
123ad9bc8e5SDirk Behme #define CONFIG_SYS_NO_FLASH
124ad9bc8e5SDirk Behme #define CONFIG_SYS_I2C_SPEED		100000
125ad9bc8e5SDirk Behme #define CONFIG_SYS_I2C_SLAVE		1
126ad9bc8e5SDirk Behme #define CONFIG_SYS_I2C_BUS		0
127ad9bc8e5SDirk Behme #define CONFIG_SYS_I2C_BUS_SELECT	1
128ad9bc8e5SDirk Behme #define CONFIG_DRIVER_OMAP34XX_I2C	1
129ad9bc8e5SDirk Behme 
130ad9bc8e5SDirk Behme /*
131ad9bc8e5SDirk Behme  * Board NAND Info.
132ad9bc8e5SDirk Behme  */
133ad9bc8e5SDirk Behme #define CONFIG_SYS_NAND_ADDR		NAND_BASE	/* physical address */
134ad9bc8e5SDirk Behme 							/* to access nand */
135ad9bc8e5SDirk Behme #define CONFIG_SYS_NAND_BASE		NAND_BASE	/* physical address */
136ad9bc8e5SDirk Behme 							/* to access */
137ad9bc8e5SDirk Behme 							/* nand at CS0 */
138ad9bc8e5SDirk Behme 
139ad9bc8e5SDirk Behme #define CONFIG_SYS_MAX_NAND_DEVICE	1		/* Max number of */
140ad9bc8e5SDirk Behme 							/* NAND devices */
141ad9bc8e5SDirk Behme 
142ad9bc8e5SDirk Behme #define CONFIG_JFFS2_NAND
143ad9bc8e5SDirk Behme /* nand device jffs2 lives on */
144ad9bc8e5SDirk Behme #define CONFIG_JFFS2_DEV		"nand0"
145ad9bc8e5SDirk Behme /* start of jffs2 partition */
146ad9bc8e5SDirk Behme #define CONFIG_JFFS2_PART_OFFSET	0x680000
147ad9bc8e5SDirk Behme #define CONFIG_JFFS2_PART_SIZE		0xf980000	/* sz of jffs2 part */
148ad9bc8e5SDirk Behme 
149ad9bc8e5SDirk Behme /* Environment information */
150ad9bc8e5SDirk Behme #define CONFIG_BOOTDELAY	10
151ad9bc8e5SDirk Behme 
152*136cf92dSSanjeev Premi #define CONFIG_BOOTFILE		uImage
153*136cf92dSSanjeev Premi 
154ad9bc8e5SDirk Behme #define CONFIG_EXTRA_ENV_SETTINGS \
155ad9bc8e5SDirk Behme 	"loadaddr=0x82000000\0" \
156ad9bc8e5SDirk Behme 	"console=ttyS2,115200n8\0" \
157ad9bc8e5SDirk Behme 	"mmcargs=setenv bootargs console=${console} " \
158ad9bc8e5SDirk Behme 		"root=/dev/mmcblk0p2 rw " \
159ad9bc8e5SDirk Behme 		"rootfstype=ext3 rootwait\0" \
160ad9bc8e5SDirk Behme 	"nandargs=setenv bootargs console=${console} " \
161ad9bc8e5SDirk Behme 		"root=/dev/mtdblock4 rw " \
162ad9bc8e5SDirk Behme 		"rootfstype=jffs2\0" \
163ad9bc8e5SDirk Behme 	"loadbootscript=fatload mmc 0 ${loadaddr} boot.scr\0" \
164ad9bc8e5SDirk Behme 	"bootscript=echo Running bootscript from mmc ...; " \
16574de7aefSWolfgang Denk 		"source ${loadaddr}\0" \
166ad9bc8e5SDirk Behme 	"loaduimage=fatload mmc 0 ${loadaddr} uImage\0" \
167ad9bc8e5SDirk Behme 	"mmcboot=echo Booting from mmc ...; " \
168ad9bc8e5SDirk Behme 		"run mmcargs; " \
169ad9bc8e5SDirk Behme 		"bootm ${loadaddr}\0" \
170ad9bc8e5SDirk Behme 	"nandboot=echo Booting from nand ...; " \
171ad9bc8e5SDirk Behme 		"run nandargs; " \
172ad9bc8e5SDirk Behme 		"onenand read ${loadaddr} 280000 400000; " \
173ad9bc8e5SDirk Behme 		"bootm ${loadaddr}\0" \
174ad9bc8e5SDirk Behme 
175ad9bc8e5SDirk Behme #define CONFIG_BOOTCOMMAND \
176ad9bc8e5SDirk Behme 	"if mmc init; then " \
177ad9bc8e5SDirk Behme 		"if run loadbootscript; then " \
178ad9bc8e5SDirk Behme 			"run bootscript; " \
179ad9bc8e5SDirk Behme 		"else " \
180ad9bc8e5SDirk Behme 			"if run loaduimage; then " \
181ad9bc8e5SDirk Behme 				"run mmcboot; " \
182ad9bc8e5SDirk Behme 			"else run nandboot; " \
183ad9bc8e5SDirk Behme 			"fi; " \
184ad9bc8e5SDirk Behme 		"fi; " \
185ad9bc8e5SDirk Behme 	"else run nandboot; fi"
186ad9bc8e5SDirk Behme 
187ad9bc8e5SDirk Behme #define CONFIG_AUTO_COMPLETE	1
188ad9bc8e5SDirk Behme /*
189ad9bc8e5SDirk Behme  * Miscellaneous configurable options
190ad9bc8e5SDirk Behme  */
191ad9bc8e5SDirk Behme #define V_PROMPT		"OMAP3_EVM # "
192ad9bc8e5SDirk Behme 
193ad9bc8e5SDirk Behme #define CONFIG_SYS_LONGHELP		/* undef to save memory */
194ad9bc8e5SDirk Behme #define CONFIG_SYS_HUSH_PARSER		/* use "hush" command parser */
195ad9bc8e5SDirk Behme #define CONFIG_SYS_PROMPT_HUSH_PS2	"> "
196ad9bc8e5SDirk Behme #define CONFIG_SYS_PROMPT		V_PROMPT
197ad9bc8e5SDirk Behme #define CONFIG_SYS_CBSIZE		256	/* Console I/O Buffer Size */
198ad9bc8e5SDirk Behme /* Print Buffer Size */
199ad9bc8e5SDirk Behme #define CONFIG_SYS_PBSIZE		(CONFIG_SYS_CBSIZE + \
200ad9bc8e5SDirk Behme 					sizeof(CONFIG_SYS_PROMPT) + 16)
201ad9bc8e5SDirk Behme #define CONFIG_SYS_MAXARGS		16	/* max number of command */
202ad9bc8e5SDirk Behme 						/* args */
203ad9bc8e5SDirk Behme /* Boot Argument Buffer Size */
204ad9bc8e5SDirk Behme #define CONFIG_SYS_BARGSIZE		(CONFIG_SYS_CBSIZE)
205ad9bc8e5SDirk Behme /* memtest works on */
206ad9bc8e5SDirk Behme #define CONFIG_SYS_MEMTEST_START	(OMAP34XX_SDRC_CS0)
207ad9bc8e5SDirk Behme #define CONFIG_SYS_MEMTEST_END		(OMAP34XX_SDRC_CS0 + \
208ad9bc8e5SDirk Behme 					0x01F00000) /* 31MB */
209ad9bc8e5SDirk Behme 
210ad9bc8e5SDirk Behme #define CONFIG_SYS_LOAD_ADDR		(OMAP34XX_SDRC_CS0) /* default load */
211ad9bc8e5SDirk Behme 								/* address */
212ad9bc8e5SDirk Behme 
213ad9bc8e5SDirk Behme /*
214d3a513c2SManikandan Pillai  * OMAP3 has 12 GP timers, they can be driven by the system clock
215d3a513c2SManikandan Pillai  * (12/13/16.8/19.2/38.4MHz) or by 32KHz clock. We use 13MHz (V_SCLK).
216d3a513c2SManikandan Pillai  * This rate is divided by a local divisor.
217ad9bc8e5SDirk Behme  */
218ad9bc8e5SDirk Behme #define CONFIG_SYS_TIMERBASE		OMAP34XX_GPT2
219d3a513c2SManikandan Pillai #define CONFIG_SYS_PTV			2	/* Divisor: 2^(PTV+1) => 8 */
220d3a513c2SManikandan Pillai #define CONFIG_SYS_HZ			1000
221ad9bc8e5SDirk Behme 
222ad9bc8e5SDirk Behme /*-----------------------------------------------------------------------
223ad9bc8e5SDirk Behme  * Stack sizes
224ad9bc8e5SDirk Behme  *
225ad9bc8e5SDirk Behme  * The stack sizes are set up in start.S using the settings below
226ad9bc8e5SDirk Behme  */
227ad9bc8e5SDirk Behme #define CONFIG_STACKSIZE	SZ_128K	/* regular stack */
228ad9bc8e5SDirk Behme #ifdef CONFIG_USE_IRQ
229ad9bc8e5SDirk Behme #define CONFIG_STACKSIZE_IRQ	SZ_4K	/* IRQ stack */
230ad9bc8e5SDirk Behme #define CONFIG_STACKSIZE_FIQ	SZ_4K	/* FIQ stack */
231ad9bc8e5SDirk Behme #endif
232ad9bc8e5SDirk Behme 
233ad9bc8e5SDirk Behme /*-----------------------------------------------------------------------
234ad9bc8e5SDirk Behme  * Physical Memory Map
235ad9bc8e5SDirk Behme  */
236ad9bc8e5SDirk Behme #define CONFIG_NR_DRAM_BANKS	2	/* CS1 may or may not be populated */
237ad9bc8e5SDirk Behme #define PHYS_SDRAM_1		OMAP34XX_SDRC_CS0
238ad9bc8e5SDirk Behme #define PHYS_SDRAM_1_SIZE	SZ_32M	/* at least 32 meg */
239ad9bc8e5SDirk Behme #define PHYS_SDRAM_2		OMAP34XX_SDRC_CS1
240ad9bc8e5SDirk Behme 
241ad9bc8e5SDirk Behme /* SDRAM Bank Allocation method */
242ad9bc8e5SDirk Behme #define SDRC_R_B_C		1
243ad9bc8e5SDirk Behme 
244ad9bc8e5SDirk Behme /*-----------------------------------------------------------------------
245ad9bc8e5SDirk Behme  * FLASH and environment organization
246ad9bc8e5SDirk Behme  */
247ad9bc8e5SDirk Behme 
248ad9bc8e5SDirk Behme /* **** PISMO SUPPORT *** */
249ad9bc8e5SDirk Behme 
250ad9bc8e5SDirk Behme /* Configure the PISMO */
251ad9bc8e5SDirk Behme #define PISMO1_NAND_SIZE		GPMC_SIZE_128M
252ad9bc8e5SDirk Behme #define PISMO1_ONEN_SIZE		GPMC_SIZE_128M
253ad9bc8e5SDirk Behme 
254ad9bc8e5SDirk Behme #define CONFIG_SYS_MAX_FLASH_SECT	520	/* max number of sectors */
255ad9bc8e5SDirk Behme 						/* on one chip */
256ad9bc8e5SDirk Behme #define CONFIG_SYS_MAX_FLASH_BANKS	2	/* max number of flash banks */
257ad9bc8e5SDirk Behme #define CONFIG_SYS_MONITOR_LEN		SZ_256K	/* Reserve 2 sectors */
258ad9bc8e5SDirk Behme 
259ad9bc8e5SDirk Behme #define CONFIG_SYS_FLASH_BASE		boot_flash_base
260ad9bc8e5SDirk Behme 
261ad9bc8e5SDirk Behme /* Monitor at start of flash */
262ad9bc8e5SDirk Behme #define CONFIG_SYS_MONITOR_BASE		CONFIG_SYS_FLASH_BASE
263ad9bc8e5SDirk Behme #define CONFIG_SYS_ONENAND_BASE		ONENAND_MAP
264ad9bc8e5SDirk Behme 
265ad9bc8e5SDirk Behme #define CONFIG_ENV_IS_IN_ONENAND	1
266ad9bc8e5SDirk Behme #define ONENAND_ENV_OFFSET		0x260000 /* environment starts here */
267ad9bc8e5SDirk Behme #define SMNAND_ENV_OFFSET		0x260000 /* environment starts here */
268ad9bc8e5SDirk Behme 
269ad9bc8e5SDirk Behme #define CONFIG_SYS_ENV_SECT_SIZE	boot_flash_sec
270ad9bc8e5SDirk Behme #define CONFIG_ENV_OFFSET		boot_flash_off
271ad9bc8e5SDirk Behme #define CONFIG_ENV_ADDR			boot_flash_env_addr
272ad9bc8e5SDirk Behme 
273ad9bc8e5SDirk Behme /*-----------------------------------------------------------------------
274ad9bc8e5SDirk Behme  * CFI FLASH driver setup
275ad9bc8e5SDirk Behme  */
276ad9bc8e5SDirk Behme /* timeout values are in ticks */
277ad9bc8e5SDirk Behme #define CONFIG_SYS_FLASH_ERASE_TOUT	(100 * CONFIG_SYS_HZ)
278ad9bc8e5SDirk Behme #define CONFIG_SYS_FLASH_WRITE_TOUT	(100 * CONFIG_SYS_HZ)
279ad9bc8e5SDirk Behme 
280ad9bc8e5SDirk Behme /* Flash banks JFFS2 should use */
281ad9bc8e5SDirk Behme #define CONFIG_SYS_MAX_MTD_BANKS	(CONFIG_SYS_MAX_FLASH_BANKS + \
282ad9bc8e5SDirk Behme 					CONFIG_SYS_MAX_NAND_DEVICE)
283ad9bc8e5SDirk Behme #define CONFIG_SYS_JFFS2_MEM_NAND
284ad9bc8e5SDirk Behme /* use flash_info[2] */
285ad9bc8e5SDirk Behme #define CONFIG_SYS_JFFS2_FIRST_BANK	CONFIG_SYS_MAX_FLASH_BANKS
286ad9bc8e5SDirk Behme #define CONFIG_SYS_JFFS2_NUM_BANKS	1
287ad9bc8e5SDirk Behme 
288ad9bc8e5SDirk Behme #ifndef __ASSEMBLY__
289ad9bc8e5SDirk Behme extern gpmc_csx_t *nand_cs_base;
290ad9bc8e5SDirk Behme extern gpmc_t *gpmc_cfg_base;
291ad9bc8e5SDirk Behme extern unsigned int boot_flash_base;
292ad9bc8e5SDirk Behme extern volatile unsigned int boot_flash_env_addr;
293ad9bc8e5SDirk Behme extern unsigned int boot_flash_off;
294ad9bc8e5SDirk Behme extern unsigned int boot_flash_sec;
295ad9bc8e5SDirk Behme extern unsigned int boot_flash_type;
296ad9bc8e5SDirk Behme #endif
297ad9bc8e5SDirk Behme 
298ad9bc8e5SDirk Behme /*----------------------------------------------------------------------------
299ad9bc8e5SDirk Behme  * SMSC9115 Ethernet from SMSC9118 family
300ad9bc8e5SDirk Behme  *----------------------------------------------------------------------------
301ad9bc8e5SDirk Behme  */
302ad9bc8e5SDirk Behme #if defined(CONFIG_CMD_NET)
303ad9bc8e5SDirk Behme 
304ad9bc8e5SDirk Behme #define CONFIG_DRIVER_SMC911X
305ad9bc8e5SDirk Behme #define CONFIG_DRIVER_SMC911X_32_BIT
306ad9bc8e5SDirk Behme #define CONFIG_DRIVER_SMC911X_BASE	0x2C000000
307ad9bc8e5SDirk Behme 
308ad9bc8e5SDirk Behme #endif /* (CONFIG_CMD_NET) */
309ad9bc8e5SDirk Behme 
310ad9bc8e5SDirk Behme /*
311ad9bc8e5SDirk Behme  * BOOTP fields
312ad9bc8e5SDirk Behme  */
313ad9bc8e5SDirk Behme 
314ad9bc8e5SDirk Behme #define CONFIG_BOOTP_SUBNETMASK		0x00000001
315ad9bc8e5SDirk Behme #define CONFIG_BOOTP_GATEWAY		0x00000002
316ad9bc8e5SDirk Behme #define CONFIG_BOOTP_HOSTNAME		0x00000004
317ad9bc8e5SDirk Behme #define CONFIG_BOOTP_BOOTPATH		0x00000010
318ad9bc8e5SDirk Behme 
319ad9bc8e5SDirk Behme #endif /* __CONFIG_H */
320