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.
|
|
|
|
*.
|
2013-10-07 11:07:26 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2004-03-14 15:06:13 +00:00
|
|
|
*/
|
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 */
|
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
|
|
|
|
2015-04-04 23:48:33 +00:00
|
|
|
/* Flash settings */
|
|
|
|
#define CONFIG_SYS_FLASH_SIZE 0x02000000 /* 32 MiB */
|
2008-10-16 13:01:15 +00:00
|
|
|
#define CONFIG_SYS_MAX_FLASH_SECT 128
|
2015-04-04 23:48:33 +00:00
|
|
|
#define CONFIG_ENV_IS_NOWHERE 1
|
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 */
|