blob: 4bd989e2f0018b1d40615dd542397a6f265bdeca [file] [log] [blame]
Vipin KUMAR566c9c12010-01-15 19:15:48 +05301/*
2 * (C) Copyright 2009
3 * Vipin Kumar, STMicroelectronics, <vipin.kumar@st.com>
4 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02005 * SPDX-License-Identifier: GPL-2.0+
Vipin KUMAR566c9c12010-01-15 19:15:48 +05306 */
7
8#ifndef __CONFIG_H
9#define __CONFIG_H
10
11/*
12 * High Level Configuration Options
13 * (easy to change)
14 */
Simon Glass6ef2e752016-09-12 23:18:30 -060015#if defined(CONFIG_USBTTY)
Vipin KUMARf273e5b2012-05-07 13:06:46 +053016#define CONFIG_SPEAR_USBTTY
17#endif
18
Vipin KUMAR566c9c12010-01-15 19:15:48 +053019#include <configs/spear-common.h>
20
21/* Serial Configuration (PL011) */
22#define CONFIG_SYS_SERIAL0 0xD0000000
23#define CONFIG_SYS_SERIAL1 0xD0080000
24#define CONFIG_PL01x_PORTS { (void *)CONFIG_SYS_SERIAL0, \
25 (void *)CONFIG_SYS_SERIAL1 }
26
Vipin KUMAR1fa943b2012-05-22 00:15:55 +000027/* NAND flash configuration */
28#define CONFIG_SYS_FSMC_NAND_SP
29#define CONFIG_SYS_FSMC_NAND_8BIT
Amit Virdibc0bdf42012-05-07 13:07:01 +053030#define CONFIG_SYS_NAND_BASE 0xD2000000
Vipin KUMAR566c9c12010-01-15 19:15:48 +053031
Alexey Brodkin92a190a2014-01-22 20:54:06 +040032/* Ethernet PHY configuration */
33#define CONFIG_PHY_NATSEMI
34
Vipin KUMAR1b7935c2012-05-07 13:06:48 +053035/* Environment Settings */
36#define CONFIG_EXTRA_ENV_SETTINGS CONFIG_EXTRA_ENV_USBTTY
37
Vipin KUMAR566c9c12010-01-15 19:15:48 +053038#endif /* __CONFIG_H */