Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Thierry Reding | 60d77aa | 2011-11-17 00:10:26 +0000 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2010,2011 |
| 4 | * NVIDIA Corporation <www.nvidia.com> |
Thierry Reding | e7dbeb0 | 2012-06-04 20:02:25 +0000 | [diff] [blame] | 5 | * (C) Copyright 2011-2012 |
Thierry Reding | 60d77aa | 2011-11-17 00:10:26 +0000 | [diff] [blame] | 6 | * Avionic Design GmbH <www.avionic-design.de> |
Thierry Reding | 60d77aa | 2011-11-17 00:10:26 +0000 | [diff] [blame] | 7 | */ |
| 8 | |
| 9 | #ifndef __CONFIG_H |
| 10 | #define __CONFIG_H |
| 11 | |
Allen Martin | 55d98a1 | 2012-08-31 08:30:00 +0000 | [diff] [blame] | 12 | #include "tegra20-common.h" |
Thierry Reding | 60d77aa | 2011-11-17 00:10:26 +0000 | [diff] [blame] | 13 | |
| 14 | /* High-level configuration options */ |
Thierry Reding | 98a2a7a | 2012-09-19 00:37:21 +0000 | [diff] [blame] | 15 | #define CONFIG_TEGRA_BOARD_STRING "Avionic Design Medcom-Wide" |
Thierry Reding | 60d77aa | 2011-11-17 00:10:26 +0000 | [diff] [blame] | 16 | |
| 17 | /* Board-specific serial config */ |
Tom Warren | 22562a4 | 2012-09-04 17:00:24 -0700 | [diff] [blame] | 18 | #define CONFIG_TEGRA_ENABLE_UARTD /* UARTD: debug UART */ |
Thierry Reding | 60d77aa | 2011-11-17 00:10:26 +0000 | [diff] [blame] | 19 | #define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTD_BASE |
| 20 | |
Thierry Reding | 1195dae | 2013-04-03 04:52:43 +0000 | [diff] [blame] | 21 | /* NAND support */ |
Thierry Reding | 1195dae | 2013-04-03 04:52:43 +0000 | [diff] [blame] | 22 | #define CONFIG_TEGRA_NAND |
| 23 | #define CONFIG_SYS_MAX_NAND_DEVICE 1 |
| 24 | |
| 25 | /* Environment in NAND, aligned to start of last sector */ |
Thierry Reding | 1195dae | 2013-04-03 04:52:43 +0000 | [diff] [blame] | 26 | #define CONFIG_ENV_OFFSET (SZ_512M - SZ_128K) /* 128K sectors */ |
| 27 | |
Tom Warren | 22562a4 | 2012-09-04 17:00:24 -0700 | [diff] [blame] | 28 | #include "tegra-common-post.h" |
Stephen Warren | de17c29 | 2012-05-16 06:21:00 +0000 | [diff] [blame] | 29 | |
Thierry Reding | 60d77aa | 2011-11-17 00:10:26 +0000 | [diff] [blame] | 30 | #endif /* __CONFIG_H */ |