blob: 4fedc9efcecb015ba1bc49e1e7998df3e20db23b [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Vipin KUMAR7cc4c462010-01-15 19:15:48 +05302/*
3 * (C) Copyright 2009
4 * Vipin Kumar, STMicroelectronics, <vipin.kumar@st.com>
Vipin KUMAR7cc4c462010-01-15 19:15:48 +05305 */
6
7#ifndef __CONFIG_H
8#define __CONFIG_H
9
10/*
11 * High Level Configuration Options
12 * (easy to change)
13 */
Simon Glass167ad902016-09-12 23:18:30 -060014#if defined(CONFIG_USBTTY)
Vipin KUMAR0c93dec2012-05-07 13:06:46 +053015#define CONFIG_SPEAR_USBTTY
16#endif
17
Vipin KUMAR7cc4c462010-01-15 19:15:48 +053018#include <configs/spear-common.h>
19
20/* Serial Configuration (PL011) */
21#define CONFIG_SYS_SERIAL0 0xD0000000
22#define CONFIG_SYS_SERIAL1 0xD0080000
23#define CONFIG_PL01x_PORTS { (void *)CONFIG_SYS_SERIAL0, \
24 (void *)CONFIG_SYS_SERIAL1 }
25
Vipin KUMARf1bd24e2012-05-22 00:15:55 +000026/* NAND flash configuration */
27#define CONFIG_SYS_FSMC_NAND_SP
28#define CONFIG_SYS_FSMC_NAND_8BIT
Amit Virdi9ee8d632012-05-07 13:07:01 +053029#define CONFIG_SYS_NAND_BASE 0xD2000000
Vipin KUMAR7cc4c462010-01-15 19:15:48 +053030
Alexey Brodkin9a0b1302014-01-22 20:54:06 +040031/* Ethernet PHY configuration */
Alexey Brodkin9a0b1302014-01-22 20:54:06 +040032
Vipin KUMARc54105b2012-05-07 13:06:48 +053033/* Environment Settings */
34#define CONFIG_EXTRA_ENV_SETTINGS CONFIG_EXTRA_ENV_USBTTY
35
Vipin KUMAR7cc4c462010-01-15 19:15:48 +053036#endif /* __CONFIG_H */