2010-01-15 13:45:48 +00:00
|
|
|
/*
|
|
|
|
* (C) Copyright 2009
|
|
|
|
* Vipin Kumar, STMicroelectronics, <vipin.kumar@st.com>
|
|
|
|
*
|
2013-07-08 07:37:19 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2010-01-15 13:45:48 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __CONFIG_H
|
|
|
|
#define __CONFIG_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
* High Level Configuration Options
|
|
|
|
* (easy to change)
|
|
|
|
*/
|
2016-09-13 05:18:30 +00:00
|
|
|
#if defined(CONFIG_USBTTY)
|
2012-05-07 07:36:46 +00:00
|
|
|
#define CONFIG_SPEAR_USBTTY
|
|
|
|
#endif
|
|
|
|
|
2010-01-15 13:45:48 +00:00
|
|
|
#include <configs/spear-common.h>
|
|
|
|
|
|
|
|
/* Serial Configuration (PL011) */
|
|
|
|
#define CONFIG_SYS_SERIAL0 0xD0000000
|
|
|
|
#define CONFIG_SYS_SERIAL1 0xD0080000
|
|
|
|
#define CONFIG_PL01x_PORTS { (void *)CONFIG_SYS_SERIAL0, \
|
|
|
|
(void *)CONFIG_SYS_SERIAL1 }
|
|
|
|
|
2012-05-22 00:15:55 +00:00
|
|
|
/* NAND flash configuration */
|
|
|
|
#define CONFIG_SYS_FSMC_NAND_SP
|
|
|
|
#define CONFIG_SYS_FSMC_NAND_8BIT
|
2012-05-07 07:37:01 +00:00
|
|
|
#define CONFIG_SYS_NAND_BASE 0xD2000000
|
2010-01-15 13:45:48 +00:00
|
|
|
|
2014-01-22 16:54:06 +00:00
|
|
|
/* Ethernet PHY configuration */
|
|
|
|
#define CONFIG_PHY_NATSEMI
|
|
|
|
|
2012-05-07 07:36:48 +00:00
|
|
|
/* Environment Settings */
|
|
|
|
#define CONFIG_EXTRA_ENV_SETTINGS CONFIG_EXTRA_ENV_USBTTY
|
|
|
|
|
2010-01-15 13:45:48 +00:00
|
|
|
#endif /* __CONFIG_H */
|