]>
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 | */ | |
6ef2e750 | 15 | #if defined(CONFIG_USBTTY) |
f273e5b2 VK |
16 | #define CONFIG_SPEAR_USBTTY |
17 | #endif | |
18 | ||
6ef2e750 | 19 | #if defined(CONFIG_NAND) |
f273e5b2 VK |
20 | #define CONFIG_ENV_IS_IN_NAND |
21 | #else | |
22 | #define CONFIG_ENV_IS_IN_FLASH | |
23 | #endif | |
24 | ||
566c9c16 VK |
25 | #include <configs/spear-common.h> |
26 | ||
27 | /* Serial Configuration (PL011) */ | |
28 | #define CONFIG_SYS_SERIAL0 0xD0000000 | |
29 | #define CONFIG_SYS_SERIAL1 0xD0080000 | |
30 | #define CONFIG_PL01x_PORTS { (void *)CONFIG_SYS_SERIAL0, \ | |
31 | (void *)CONFIG_SYS_SERIAL1 } | |
32 | ||
1fa943b9 VK |
33 | /* NAND flash configuration */ |
34 | #define CONFIG_SYS_FSMC_NAND_SP | |
35 | #define CONFIG_SYS_FSMC_NAND_8BIT | |
bc0bdf4c | 36 | #define CONFIG_SYS_NAND_BASE 0xD2000000 |
566c9c16 | 37 | |
92a190aa AB |
38 | /* Ethernet PHY configuration */ |
39 | #define CONFIG_PHY_NATSEMI | |
40 | ||
1b7935cd VK |
41 | /* Environment Settings */ |
42 | #define CONFIG_EXTRA_ENV_SETTINGS CONFIG_EXTRA_ENV_USBTTY | |
43 | ||
566c9c16 | 44 | #endif /* __CONFIG_H */ |