2004-03-14 15:06:13 +00:00
|
|
|
/*
|
|
|
|
* (C) Copyright 2003
|
|
|
|
* Texas Instruments.
|
|
|
|
* Kshitij Gupta <kshitij@ti.com>
|
|
|
|
* Configuation settings for the TI OMAP Innovator board.
|
|
|
|
*
|
|
|
|
* (C) Copyright 2004
|
|
|
|
* ARM Ltd.
|
|
|
|
* Philippe Robin, <philippe.robin@arm.com>
|
|
|
|
* Configuration for Integrator AP board.
|
|
|
|
*.
|
|
|
|
* See file CREDITS for list of people who contributed to this
|
|
|
|
* project.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License as
|
|
|
|
* published by the Free Software Foundation; either version 2 of
|
|
|
|
* the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
|
|
* MA 02111-1307 USA
|
|
|
|
*/
|
2005-09-25 00:00:47 +00:00
|
|
|
|
2004-03-14 15:06:13 +00:00
|
|
|
#ifndef __CONFIG_H
|
|
|
|
#define __CONFIG_H
|
2011-08-12 00:28:57 +00:00
|
|
|
|
2012-08-04 05:21:28 +00:00
|
|
|
#include "integrator-common.h"
|
|
|
|
|
|
|
|
/* Integrator/AP-specific configuration */
|
2011-08-12 00:28:57 +00:00
|
|
|
#define CONFIG_ARCH_INTEGRATOR
|
2008-10-16 13:01:15 +00:00
|
|
|
#define CONFIG_SYS_HZ_CLOCK 24000000 /* Timer 1 is clocked at 24Mhz */
|
2004-03-14 15:06:13 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* PL010 Configuration
|
|
|
|
*/
|
2008-09-08 12:30:53 +00:00
|
|
|
#define CONFIG_PL010_SERIAL
|
2004-03-14 15:06:13 +00:00
|
|
|
#define CONFIG_CONS_INDEX 0
|
2005-09-25 16:49:35 +00:00
|
|
|
#define CONFIG_BAUDRATE 38400
|
2008-10-16 13:01:15 +00:00
|
|
|
#define CONFIG_PL01x_PORTS { (void *) (CONFIG_SYS_SERIAL0), (void *) (CONFIG_SYS_SERIAL1) }
|
|
|
|
#define CONFIG_SYS_SERIAL0 0x16000000
|
|
|
|
#define CONFIG_SYS_SERIAL1 0x17000000
|
2004-03-14 15:06:13 +00:00
|
|
|
|
|
|
|
|
2007-07-10 15:12:10 +00:00
|
|
|
/*
|
|
|
|
* BOOTP options
|
|
|
|
*/
|
|
|
|
#define CONFIG_BOOTP_BOOTFILESIZE
|
|
|
|
#define CONFIG_BOOTP_BOOTPATH
|
|
|
|
#define CONFIG_BOOTP_GATEWAY
|
|
|
|
#define CONFIG_BOOTP_HOSTNAME
|
|
|
|
|
|
|
|
|
2007-07-05 03:32:32 +00:00
|
|
|
/*
|
|
|
|
* Command line configuration.
|
|
|
|
*/
|
2012-01-30 13:49:34 +00:00
|
|
|
#include <config_cmd_default.h>
|
2004-03-14 15:06:13 +00:00
|
|
|
|
2005-09-25 16:49:35 +00:00
|
|
|
#define CONFIG_BOOTDELAY 2
|
2011-07-25 01:51:37 +00:00
|
|
|
#define CONFIG_BOOTARGS "root=/dev/mtdblock0 console=ttyAM0 console=tty"
|
2005-09-25 16:49:35 +00:00
|
|
|
#define CONFIG_BOOTCOMMAND ""
|
2004-03-14 15:06:13 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Miscellaneous configurable options
|
|
|
|
*/
|
2008-10-16 13:01:15 +00:00
|
|
|
#define CONFIG_SYS_PROMPT "Integrator-AP # " /* Monitor Command Prompt */
|
2004-03-14 15:06:13 +00:00
|
|
|
|
2009-05-16 22:58:36 +00:00
|
|
|
#define CONFIG_SYS_FLASH_BASE 0x24000000
|
2004-03-14 15:06:13 +00:00
|
|
|
|
|
|
|
/*-----------------------------------------------------------------------
|
|
|
|
* FLASH and environment organization
|
|
|
|
*/
|
2009-05-16 22:58:36 +00:00
|
|
|
#define CONFIG_SYS_FLASH_CFI 1
|
|
|
|
#define CONFIG_FLASH_CFI_DRIVER 1
|
2008-09-10 20:48:00 +00:00
|
|
|
#define CONFIG_ENV_IS_NOWHERE
|
2008-10-16 13:01:15 +00:00
|
|
|
#define CONFIG_SYS_MAX_FLASH_BANKS 1 /* max number of memory banks */
|
2004-03-14 15:06:13 +00:00
|
|
|
/* timeout values are in ticks */
|
2008-10-16 13:01:15 +00:00
|
|
|
#define CONFIG_SYS_FLASH_ERASE_TOUT (2*CONFIG_SYS_HZ) /* Timeout for Flash Erase */
|
|
|
|
#define CONFIG_SYS_FLASH_WRITE_TOUT (2*CONFIG_SYS_HZ) /* Timeout for Flash Write */
|
|
|
|
#define CONFIG_SYS_MAX_FLASH_SECT 128
|
2009-05-16 22:58:36 +00:00
|
|
|
#define CONFIG_ENV_SIZE 32768
|
2004-03-14 15:06:13 +00:00
|
|
|
|
|
|
|
|
|
|
|
/*-----------------------------------------------------------------------
|
|
|
|
* PCI definitions
|
|
|
|
*/
|
|
|
|
|
2012-01-30 13:49:34 +00:00
|
|
|
#define CONFIG_PCI
|
|
|
|
#define CONFIG_CMD_PCI
|
|
|
|
#define CONFIG_PCI_PNP
|
2004-03-14 15:06:13 +00:00
|
|
|
|
2012-01-30 13:49:34 +00:00
|
|
|
#define CONFIG_NET_MULTI
|
|
|
|
#define CONFIG_TULIP
|
2004-03-14 15:06:13 +00:00
|
|
|
#define CONFIG_EEPRO100
|
2008-10-16 13:01:15 +00:00
|
|
|
#define CONFIG_SYS_RX_ETH_BUFFER 8 /* use 8 rx buffer on eepro100 */
|
2004-03-14 15:06:13 +00:00
|
|
|
|
|
|
|
|
2005-09-24 23:48:28 +00:00
|
|
|
/*-----------------------------------------------------------------------
|
|
|
|
* There are various dependencies on the core module (CM) fitted
|
|
|
|
* Users should refer to their CM user guide
|
|
|
|
* - when porting adjust u-boot/Makefile accordingly
|
|
|
|
* to define the necessary CONFIG_ s for the CM involved
|
|
|
|
* see e.g. integratorcp_CM926EJ-S_config
|
|
|
|
*/
|
2005-10-04 21:10:28 +00:00
|
|
|
#include "armcoremodule.h"
|
2005-09-24 23:48:28 +00:00
|
|
|
|
2005-09-25 16:49:35 +00:00
|
|
|
#endif /* __CONFIG_H */
|