]>
Commit | Line | Data |
---|---|---|
566c9c16 VK |
1 | /* |
2 | * (C) Copyright 2009 | |
3 | * Vipin Kumar, STMicroelectronics, <vipin.kumar@st.com> | |
4 | * | |
1a459660 | 5 | * SPDX-License-Identifier: GPL-2.0+ |
566c9c16 VK |
6 | */ |
7 | ||
8 | #ifndef __CONFIG_H | |
9 | #define __CONFIG_H | |
10 | ||
11 | /* | |
12 | * High Level Configuration Options | |
13 | * (easy to change) | |
14 | */ | |
9b382b43 | 15 | #define CONFIG_SPEAR600 |
566c9c16 | 16 | |
f273e5b2 VK |
17 | #if defined(CONFIG_usbtty) |
18 | #define CONFIG_SPEAR_USBTTY | |
19 | #endif | |
20 | ||
21 | #if defined(CONFIG_nand) | |
22 | #define CONFIG_ENV_IS_IN_NAND | |
23 | #else | |
24 | #define CONFIG_ENV_IS_IN_FLASH | |
25 | #endif | |
26 | ||
566c9c16 VK |
27 | #include <configs/spear-common.h> |
28 | ||
29 | /* Serial Configuration (PL011) */ | |
30 | #define CONFIG_SYS_SERIAL0 0xD0000000 | |
31 | #define CONFIG_SYS_SERIAL1 0xD0080000 | |
32 | #define CONFIG_PL01x_PORTS { (void *)CONFIG_SYS_SERIAL0, \ | |
33 | (void *)CONFIG_SYS_SERIAL1 } | |
34 | ||
1fa943b9 VK |
35 | /* NAND flash configuration */ |
36 | #define CONFIG_SYS_FSMC_NAND_SP | |
37 | #define CONFIG_SYS_FSMC_NAND_8BIT | |
bc0bdf4c | 38 | #define CONFIG_SYS_NAND_BASE 0xD2000000 |
566c9c16 | 39 | |
92a190aa AB |
40 | /* Ethernet PHY configuration */ |
41 | #define CONFIG_PHY_NATSEMI | |
42 | ||
1b7935cd VK |
43 | /* Environment Settings */ |
44 | #define CONFIG_EXTRA_ENV_SETTINGS CONFIG_EXTRA_ENV_USBTTY | |
45 | ||
566c9c16 | 46 | #endif /* __CONFIG_H */ |