2004-03-14 23:06:13 +08: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 19:07:26 +08:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2004-03-14 23:06:13 +08:00
|
|
|
*/
|
2005-09-25 08:00:47 +08:00
|
|
|
|
2004-03-14 23:06:13 +08:00
|
|
|
#ifndef __CONFIG_H
|
|
|
|
#define __CONFIG_H
|
2011-08-12 08:28:57 +08:00
|
|
|
|
2012-08-04 13:21:28 +08:00
|
|
|
#include "integrator-common.h"
|
|
|
|
|
|
|
|
/* Integrator/AP-specific configuration */
|
2008-10-16 21:01:15 +08:00
|
|
|
#define CONFIG_SYS_HZ_CLOCK 24000000 /* Timer 1 is clocked at 24Mhz */
|
2004-03-14 23:06:13 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
* PL010 Configuration
|
|
|
|
*/
|
2008-09-08 20:30:53 +08:00
|
|
|
#define CONFIG_PL010_SERIAL
|
2004-03-14 23:06:13 +08:00
|
|
|
#define CONFIG_CONS_INDEX 0
|
2005-09-26 00:49:35 +08:00
|
|
|
#define CONFIG_BAUDRATE 38400
|
2008-10-16 21:01:15 +08: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 23:06:13 +08:00
|
|
|
|
|
|
|
|
2007-07-10 23:12:10 +08:00
|
|
|
/*
|
|
|
|
* BOOTP options
|
|
|
|
*/
|
|
|
|
#define CONFIG_BOOTP_BOOTFILESIZE
|
|
|
|
#define CONFIG_BOOTP_BOOTPATH
|
|
|
|
#define CONFIG_BOOTP_GATEWAY
|
|
|
|
#define CONFIG_BOOTP_HOSTNAME
|
|
|
|
|
|
|
|
|
2007-07-05 11:32:32 +08:00
|
|
|
/*
|
|
|
|
* Command line configuration.
|
|
|
|
*/
|
2012-01-30 21:49:34 +08:00
|
|
|
#include <config_cmd_default.h>
|
2004-03-14 23:06:13 +08:00
|
|
|
|
2005-09-26 00:49:35 +08:00
|
|
|
#define CONFIG_BOOTDELAY 2
|
2011-07-25 09:51:37 +08:00
|
|
|
#define CONFIG_BOOTARGS "root=/dev/mtdblock0 console=ttyAM0 console=tty"
|
2005-09-26 00:49:35 +08:00
|
|
|
#define CONFIG_BOOTCOMMAND ""
|
2004-03-14 23:06:13 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Miscellaneous configurable options
|
|
|
|
*/
|
2008-10-16 21:01:15 +08:00
|
|
|
#define CONFIG_SYS_PROMPT "Integrator-AP # " /* Monitor Command Prompt */
|
2004-03-14 23:06:13 +08:00
|
|
|
|
2015-04-05 07:48:33 +08:00
|
|
|
/* Flash settings */
|
|
|
|
#define CONFIG_SYS_FLASH_SIZE 0x02000000 /* 32 MiB */
|
2008-10-16 21:01:15 +08:00
|
|
|
#define CONFIG_SYS_MAX_FLASH_SECT 128
|
2015-04-05 07:48:33 +08:00
|
|
|
#define CONFIG_ENV_IS_NOWHERE 1
|
2009-05-17 06:58:36 +08:00
|
|
|
#define CONFIG_ENV_SIZE 32768
|
2004-03-14 23:06:13 +08:00
|
|
|
|
|
|
|
/*-----------------------------------------------------------------------
|
|
|
|
* PCI definitions
|
|
|
|
*/
|
|
|
|
|
2012-01-30 21:49:34 +08:00
|
|
|
#define CONFIG_PCI
|
|
|
|
#define CONFIG_CMD_PCI
|
|
|
|
#define CONFIG_PCI_PNP
|
2004-03-14 23:06:13 +08:00
|
|
|
|
2012-01-30 21:49:34 +08:00
|
|
|
#define CONFIG_TULIP
|
2004-03-14 23:06:13 +08:00
|
|
|
#define CONFIG_EEPRO100
|
2008-10-16 21:01:15 +08:00
|
|
|
#define CONFIG_SYS_RX_ETH_BUFFER 8 /* use 8 rx buffer on eepro100 */
|
2004-03-14 23:06:13 +08:00
|
|
|
|
|
|
|
|
2005-09-25 07:48:28 +08: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-05 05:10:28 +08:00
|
|
|
#include "armcoremodule.h"
|
2005-09-25 07:48:28 +08:00
|
|
|
|
2005-09-26 00:49:35 +08:00
|
|
|
#endif /* __CONFIG_H */
|