Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Vipin KUMAR | 566c9c1 | 2010-01-15 19:15:48 +0530 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2009 |
| 4 | * Vipin Kumar, STMicroelectronics, <vipin.kumar@st.com> |
Vipin KUMAR | 566c9c1 | 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 | 6ef2e75 | 2016-09-12 23:18:30 -0600 | [diff] [blame] | 14 | #if defined(CONFIG_USBTTY) |
Vipin KUMAR | f273e5b | 2012-05-07 13:06:46 +0530 | [diff] [blame] | 15 | #define CONFIG_SPEAR_USBTTY |
| 16 | #endif |
| 17 | |
Vipin KUMAR | 566c9c1 | 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 | 1fa943b | 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 | bc0bdf4 | 2012-05-07 13:07:01 +0530 | [diff] [blame] | 29 | #define CONFIG_SYS_NAND_BASE 0xD2000000 |
Vipin KUMAR | 566c9c1 | 2010-01-15 19:15:48 +0530 | [diff] [blame] | 30 | |
Alexey Brodkin | 92a190a | 2014-01-22 20:54:06 +0400 | [diff] [blame] | 31 | /* Ethernet PHY configuration */ |
Alexey Brodkin | 92a190a | 2014-01-22 20:54:06 +0400 | [diff] [blame] | 32 | |
Vipin KUMAR | 1b7935c | 2012-05-07 13:06:48 +0530 | [diff] [blame] | 33 | /* Environment Settings */ |
| 34 | #define CONFIG_EXTRA_ENV_SETTINGS CONFIG_EXTRA_ENV_USBTTY |
| 35 | |
Vipin KUMAR | 566c9c1 | 2010-01-15 19:15:48 +0530 | [diff] [blame] | 36 | #endif /* __CONFIG_H */ |