blob: 4fedc9efcecb015ba1bc49e1e7998df3e20db23b [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Vipin KUMAR566c9c12010-01-15 19:15:48 +05302/*
3 * (C) Copyright 2009
4 * Vipin Kumar, STMicroelectronics, <vipin.kumar@st.com>
Vipin KUMAR566c9c12010-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 Glass6ef2e752016-09-12 23:18:30 -060014#if defined(CONFIG_USBTTY)
Vipin KUMARf273e5b2012-05-07 13:06:46 +053015#define CONFIG_SPEAR_USBTTY
16#endif
17
Vipin KUMAR566c9c12010-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 KUMAR1fa943b2012-05-22 00:15:55 +000026/* NAND flash configuration */
27#define CONFIG_SYS_FSMC_NAND_SP
28#define CONFIG_SYS_FSMC_NAND_8BIT
Amit Virdibc0bdf42012-05-07 13:07:01 +053029#define CONFIG_SYS_NAND_BASE 0xD2000000
Vipin KUMAR566c9c12010-01-15 19:15:48 +053030
Alexey Brodkin92a190a2014-01-22 20:54:06 +040031/* Ethernet PHY configuration */
Alexey Brodkin92a190a2014-01-22 20:54:06 +040032
Vipin KUMAR1b7935c2012-05-07 13:06:48 +053033/* Environment Settings */
34#define CONFIG_EXTRA_ENV_SETTINGS CONFIG_EXTRA_ENV_USBTTY
35
Vipin KUMAR566c9c12010-01-15 19:15:48 +053036#endif /* __CONFIG_H */