Stephen Warren | 2996e2d | 2012-01-06 12:14:42 +0000 | [diff] [blame] | 1 | /* |
Stephen Warren | 00a55ad | 2012-05-21 10:04:37 +0000 | [diff] [blame] | 2 | * Copyright (c) 2010-2012 NVIDIA CORPORATION. All rights reserved. |
Stephen Warren | 2996e2d | 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 | * |
| 7 | * This program is free software; you can redistribute it and/or modify it |
| 8 | * under the terms and conditions of the GNU General Public License, |
| 9 | * version 2, as published by the Free Software Foundation. |
| 10 | * |
| 11 | * This program is distributed in the hope it will be useful, but WITHOUT |
| 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
| 14 | * more details. |
| 15 | */ |
| 16 | |
| 17 | #ifndef __CONFIG_H |
| 18 | #define __CONFIG_H |
| 19 | |
| 20 | #include <asm/sizes.h> |
Allen Martin | 00a2749 | 2012-08-31 08:30:00 +0000 | [diff] [blame] | 21 | #include "tegra20-common.h" |
Stephen Warren | 2996e2d | 2012-01-06 12:14:42 +0000 | [diff] [blame] | 22 | |
Stephen Warren | 00a55ad | 2012-05-21 10:04:37 +0000 | [diff] [blame] | 23 | /* Enable fdt support for Paz00. Flash the image in u-boot-dtb.bin */ |
Allen Martin | 00a2749 | 2012-08-31 08:30:00 +0000 | [diff] [blame] | 24 | #define CONFIG_DEFAULT_DEVICE_TREE tegra20-paz00 |
Stephen Warren | 00a55ad | 2012-05-21 10:04:37 +0000 | [diff] [blame] | 25 | #define CONFIG_OF_CONTROL |
| 26 | #define CONFIG_OF_SEPARATE |
| 27 | |
Stephen Warren | 2996e2d | 2012-01-06 12:14:42 +0000 | [diff] [blame] | 28 | /* High-level configuration options */ |
Allen Martin | 00a2749 | 2012-08-31 08:30:00 +0000 | [diff] [blame] | 29 | #define V_PROMPT "Tegra20 (Paz00) MOD # " |
Tom Warren | 29f3e3f | 2012-09-04 17:00:24 -0700 | [diff] [blame] | 30 | #define CONFIG_TEGRA_BOARD_STRING "Compal Paz00" |
Stephen Warren | 2996e2d | 2012-01-06 12:14:42 +0000 | [diff] [blame] | 31 | |
| 32 | /* Board-specific serial config */ |
Tom Warren | 29f3e3f | 2012-09-04 17:00:24 -0700 | [diff] [blame] | 33 | #define CONFIG_TEGRA_ENABLE_UARTA |
Stephen Warren | 2996e2d | 2012-01-06 12:14:42 +0000 | [diff] [blame] | 34 | #define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTA_BASE |
| 35 | |
| 36 | #define CONFIG_MACH_TYPE MACH_TYPE_PAZ00 |
Stephen Warren | 2996e2d | 2012-01-06 12:14:42 +0000 | [diff] [blame] | 37 | |
| 38 | #define CONFIG_BOARD_EARLY_INIT_F |
| 39 | |
| 40 | /* SD/MMC */ |
| 41 | #define CONFIG_MMC |
| 42 | #define CONFIG_GENERIC_MMC |
Tom Warren | 3f82d89 | 2012-05-22 11:44:48 +0000 | [diff] [blame] | 43 | #define CONFIG_TEGRA_MMC |
Stephen Warren | 2996e2d | 2012-01-06 12:14:42 +0000 | [diff] [blame] | 44 | #define CONFIG_CMD_MMC |
| 45 | |
| 46 | #define CONFIG_DOS_PARTITION |
| 47 | #define CONFIG_EFI_PARTITION |
Stephen Warren | 3786a94 | 2012-11-05 13:22:00 +0000 | [diff] [blame] | 48 | #define CONFIG_FS_EXT4 |
| 49 | #define CONFIG_FS_FAT |
Stephen Warren | 2996e2d | 2012-01-06 12:14:42 +0000 | [diff] [blame] | 50 | #define CONFIG_CMD_EXT2 |
| 51 | #define CONFIG_CMD_FAT |
Stephen Warren | 3786a94 | 2012-11-05 13:22:00 +0000 | [diff] [blame] | 52 | #define CONFIG_CMD_FS_GENERIC |
Stephen Warren | 2996e2d | 2012-01-06 12:14:42 +0000 | [diff] [blame] | 53 | |
Stephen Warren | e87c2bd | 2012-05-24 11:38:38 +0000 | [diff] [blame] | 54 | /* Environment in eMMC, at the end of 2nd "boot sector" */ |
| 55 | #define CONFIG_ENV_IS_IN_MMC |
Stephen Warren | 573668a | 2012-07-30 10:55:45 +0000 | [diff] [blame] | 56 | #define CONFIG_ENV_OFFSET ((1024 * 1024) - CONFIG_ENV_SIZE) |
Stephen Warren | e87c2bd | 2012-05-24 11:38:38 +0000 | [diff] [blame] | 57 | #define CONFIG_SYS_MMC_ENV_DEV 0 |
Stephen Warren | 573668a | 2012-07-30 10:55:45 +0000 | [diff] [blame] | 58 | #define CONFIG_SYS_MMC_ENV_PART 2 |
Stephen Warren | bea2674 | 2012-05-16 06:21:00 +0000 | [diff] [blame] | 59 | |
Stephen Warren | 00a55ad | 2012-05-21 10:04:37 +0000 | [diff] [blame] | 60 | /* USB Host support */ |
| 61 | #define CONFIG_USB_EHCI |
| 62 | #define CONFIG_USB_EHCI_TEGRA |
| 63 | #define CONFIG_USB_STORAGE |
| 64 | #define CONFIG_CMD_USB |
| 65 | |
| 66 | /* USB networking support */ |
| 67 | #define CONFIG_USB_HOST_ETHER |
Stephen Warren | 00a55ad | 2012-05-21 10:04:37 +0000 | [diff] [blame] | 68 | #define CONFIG_USB_ETHER_ASIX |
| 69 | |
| 70 | /* General networking support */ |
| 71 | #define CONFIG_CMD_NET |
| 72 | #define CONFIG_CMD_DHCP |
| 73 | |
Tom Warren | 29f3e3f | 2012-09-04 17:00:24 -0700 | [diff] [blame] | 74 | #include "tegra-common-post.h" |
Stephen Warren | bea2674 | 2012-05-16 06:21:00 +0000 | [diff] [blame] | 75 | |
Stephen Warren | 2996e2d | 2012-01-06 12:14:42 +0000 | [diff] [blame] | 76 | #endif /* __CONFIG_H */ |