Stephen Warren | f5dc27a | 2012-01-06 12:14:42 +0000 | [diff] [blame] | 1 | /* |
Stephen Warren | 24bfee6 | 2012-05-21 10:04:37 +0000 | [diff] [blame] | 2 | * Copyright (c) 2010-2012 NVIDIA CORPORATION. All rights reserved. |
Stephen Warren | f5dc27a | 2012-01-06 12:14:42 +0000 | [diff] [blame] | 3 | * |
| 4 | * See file CREDITS for list of people who contributed to this |
| 5 | * project. |
| 6 | * |
Tom Rini | e237880 | 2016-01-14 22:05:13 -0500 | [diff] [blame] | 7 | * SPDX-License-Identifier: GPL-2.0 |
Stephen Warren | f5dc27a | 2012-01-06 12:14:42 +0000 | [diff] [blame] | 8 | */ |
| 9 | |
| 10 | #ifndef __CONFIG_H |
| 11 | #define __CONFIG_H |
| 12 | |
Alexey Brodkin | 267d8e2 | 2014-02-26 17:47:58 +0400 | [diff] [blame] | 13 | #include <linux/sizes.h> |
Allen Martin | 55d98a1 | 2012-08-31 08:30:00 +0000 | [diff] [blame] | 14 | #include "tegra20-common.h" |
Stephen Warren | f5dc27a | 2012-01-06 12:14:42 +0000 | [diff] [blame] | 15 | |
| 16 | /* High-level configuration options */ |
Tom Warren | 22562a4 | 2012-09-04 17:00:24 -0700 | [diff] [blame] | 17 | #define CONFIG_TEGRA_BOARD_STRING "Compal Paz00" |
Stephen Warren | f5dc27a | 2012-01-06 12:14:42 +0000 | [diff] [blame] | 18 | |
| 19 | /* Board-specific serial config */ |
Tom Warren | 22562a4 | 2012-09-04 17:00:24 -0700 | [diff] [blame] | 20 | #define CONFIG_TEGRA_ENABLE_UARTA |
Stephen Warren | f5dc27a | 2012-01-06 12:14:42 +0000 | [diff] [blame] | 21 | #define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTA_BASE |
| 22 | |
| 23 | #define CONFIG_MACH_TYPE MACH_TYPE_PAZ00 |
Stephen Warren | f5dc27a | 2012-01-06 12:14:42 +0000 | [diff] [blame] | 24 | |
Stephen Warren | f5dc27a | 2012-01-06 12:14:42 +0000 | [diff] [blame] | 25 | /* SD/MMC */ |
Stephen Warren | f5dc27a | 2012-01-06 12:14:42 +0000 | [diff] [blame] | 26 | #define CONFIG_GENERIC_MMC |
Tom Warren | 8c57e96 | 2012-05-22 11:44:48 +0000 | [diff] [blame] | 27 | #define CONFIG_TEGRA_MMC |
Stephen Warren | f5dc27a | 2012-01-06 12:14:42 +0000 | [diff] [blame] | 28 | |
Stephen Warren | 40e6fd1 | 2012-05-24 11:38:38 +0000 | [diff] [blame] | 29 | /* Environment in eMMC, at the end of 2nd "boot sector" */ |
| 30 | #define CONFIG_ENV_IS_IN_MMC |
Stephen Warren | 46597a3 | 2013-06-11 15:14:03 -0600 | [diff] [blame] | 31 | #define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE) |
Stephen Warren | 40e6fd1 | 2012-05-24 11:38:38 +0000 | [diff] [blame] | 32 | #define CONFIG_SYS_MMC_ENV_DEV 0 |
Stephen Warren | 20da39b | 2012-07-30 10:55:45 +0000 | [diff] [blame] | 33 | #define CONFIG_SYS_MMC_ENV_PART 2 |
Stephen Warren | de17c29 | 2012-05-16 06:21:00 +0000 | [diff] [blame] | 34 | |
Stephen Warren | 24bfee6 | 2012-05-21 10:04:37 +0000 | [diff] [blame] | 35 | /* USB Host support */ |
| 36 | #define CONFIG_USB_EHCI |
| 37 | #define CONFIG_USB_EHCI_TEGRA |
Stephen Warren | 24bfee6 | 2012-05-21 10:04:37 +0000 | [diff] [blame] | 38 | |
| 39 | /* USB networking support */ |
| 40 | #define CONFIG_USB_HOST_ETHER |
Stephen Warren | 24bfee6 | 2012-05-21 10:04:37 +0000 | [diff] [blame] | 41 | #define CONFIG_USB_ETHER_ASIX |
| 42 | |
| 43 | /* General networking support */ |
Stephen Warren | 24bfee6 | 2012-05-21 10:04:37 +0000 | [diff] [blame] | 44 | |
Marc Dietrich | b81dfe1 | 2012-11-25 11:26:12 +0000 | [diff] [blame] | 45 | /* LCD support */ |
Marc Dietrich | b81dfe1 | 2012-11-25 11:26:12 +0000 | [diff] [blame] | 46 | #define CONFIG_SYS_WHITE_ON_BLACK |
Marc Dietrich | b81dfe1 | 2012-11-25 11:26:12 +0000 | [diff] [blame] | 47 | |
Tom Warren | 22562a4 | 2012-09-04 17:00:24 -0700 | [diff] [blame] | 48 | #include "tegra-common-post.h" |
Stephen Warren | de17c29 | 2012-05-16 06:21:00 +0000 | [diff] [blame] | 49 | |
Stephen Warren | f5dc27a | 2012-01-06 12:14:42 +0000 | [diff] [blame] | 50 | #endif /* __CONFIG_H */ |