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)
|
|
|
|
*/
|
2012-05-07 07:37:02 +00:00
|
|
|
#define CONFIG_SPEAR600
|
2010-01-15 13:45:48 +00:00
|
|
|
|
2012-05-07 07:36:46 +00:00
|
|
|
#if defined(CONFIG_usbtty)
|
|
|
|
#define CONFIG_SPEAR_USBTTY
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(CONFIG_nand)
|
|
|
|
#define CONFIG_ENV_IS_IN_NAND
|
|
|
|
#else
|
|
|
|
#define CONFIG_ENV_IS_IN_FLASH
|
|
|
|
#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
|
|
|
|
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 */
|