Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Vipin KUMAR | 7cc4c46 | 2010-01-15 19:15:48 +0530 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2009 |
| 4 | * Vipin Kumar, STMicroelectronics, <vipin.kumar@st.com> |
Vipin KUMAR | 7cc4c46 | 2010-01-15 19:15:48 +0530 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #ifndef __CONFIG_H |
| 8 | #define __CONFIG_H |
| 9 | |
| 10 | /* |
| 11 | * High Level Configuration Options |
| 12 | * (easy to change) |
| 13 | */ |
Simon Glass | 167ad90 | 2016-09-12 23:18:30 -0600 | [diff] [blame] | 14 | #if defined(CONFIG_USBTTY) |
Vipin KUMAR | 0c93dec | 2012-05-07 13:06:46 +0530 | [diff] [blame] | 15 | #define CONFIG_SPEAR_USBTTY |
| 16 | #endif |
| 17 | |
Vipin KUMAR | 7cc4c46 | 2010-01-15 19:15:48 +0530 | [diff] [blame] | 18 | #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 KUMAR | f1bd24e | 2012-05-22 00:15:55 +0000 | [diff] [blame] | 26 | /* NAND flash configuration */ |
| 27 | #define CONFIG_SYS_FSMC_NAND_SP |
| 28 | #define CONFIG_SYS_FSMC_NAND_8BIT |
Amit Virdi | 9ee8d63 | 2012-05-07 13:07:01 +0530 | [diff] [blame] | 29 | #define CONFIG_SYS_NAND_BASE 0xD2000000 |
Vipin KUMAR | 7cc4c46 | 2010-01-15 19:15:48 +0530 | [diff] [blame] | 30 | |
Alexey Brodkin | 9a0b130 | 2014-01-22 20:54:06 +0400 | [diff] [blame] | 31 | /* Ethernet PHY configuration */ |
| 32 | #define CONFIG_PHY_NATSEMI |
| 33 | |
Vipin KUMAR | c54105b | 2012-05-07 13:06:48 +0530 | [diff] [blame] | 34 | /* Environment Settings */ |
| 35 | #define CONFIG_EXTRA_ENV_SETTINGS CONFIG_EXTRA_ENV_USBTTY |
| 36 | |
Vipin KUMAR | 7cc4c46 | 2010-01-15 19:15:48 +0530 | [diff] [blame] | 37 | #endif /* __CONFIG_H */ |