]>
Commit | Line | Data |
---|---|---|
2996e2dc | 1 | /* |
00a55add | 2 | * Copyright (c) 2010-2012 NVIDIA CORPORATION. All rights reserved. |
2996e2dc SW |
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> | |
00a2749d | 21 | #include "tegra20-common.h" |
2996e2dc | 22 | |
00a55add | 23 | /* Enable fdt support for Paz00. Flash the image in u-boot-dtb.bin */ |
00a2749d | 24 | #define CONFIG_DEFAULT_DEVICE_TREE tegra20-paz00 |
00a55add SW |
25 | #define CONFIG_OF_CONTROL |
26 | #define CONFIG_OF_SEPARATE | |
27 | ||
2996e2dc | 28 | /* High-level configuration options */ |
00a2749d | 29 | #define V_PROMPT "Tegra20 (Paz00) MOD # " |
29f3e3f2 | 30 | #define CONFIG_TEGRA_BOARD_STRING "Compal Paz00" |
2996e2dc SW |
31 | |
32 | /* Board-specific serial config */ | |
29f3e3f2 | 33 | #define CONFIG_TEGRA_ENABLE_UARTA |
2996e2dc SW |
34 | #define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTA_BASE |
35 | ||
36 | #define CONFIG_MACH_TYPE MACH_TYPE_PAZ00 | |
2996e2dc SW |
37 | |
38 | #define CONFIG_BOARD_EARLY_INIT_F | |
25dccd6f | 39 | #define CONFIG_BOARD_LATE_INIT |
2996e2dc SW |
40 | |
41 | /* SD/MMC */ | |
42 | #define CONFIG_MMC | |
43 | #define CONFIG_GENERIC_MMC | |
3f82d89d | 44 | #define CONFIG_TEGRA_MMC |
2996e2dc SW |
45 | #define CONFIG_CMD_MMC |
46 | ||
e87c2bda SW |
47 | /* Environment in eMMC, at the end of 2nd "boot sector" */ |
48 | #define CONFIG_ENV_IS_IN_MMC | |
91171091 | 49 | #define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE) |
e87c2bda | 50 | #define CONFIG_SYS_MMC_ENV_DEV 0 |
573668a2 | 51 | #define CONFIG_SYS_MMC_ENV_PART 2 |
bea2674c | 52 | |
00a55add SW |
53 | /* USB Host support */ |
54 | #define CONFIG_USB_EHCI | |
55 | #define CONFIG_USB_EHCI_TEGRA | |
56 | #define CONFIG_USB_STORAGE | |
57 | #define CONFIG_CMD_USB | |
58 | ||
59 | /* USB networking support */ | |
60 | #define CONFIG_USB_HOST_ETHER | |
00a55add SW |
61 | #define CONFIG_USB_ETHER_ASIX |
62 | ||
63 | /* General networking support */ | |
64 | #define CONFIG_CMD_NET | |
65 | #define CONFIG_CMD_DHCP | |
66 | ||
25dccd6f MD |
67 | /* LCD support */ |
68 | #define CONFIG_LCD | |
69 | #define CONFIG_PWM_TEGRA | |
70 | #define CONFIG_VIDEO_TEGRA | |
71 | #define LCD_BPP LCD_COLOR16 | |
72 | #define CONFIG_SYS_WHITE_ON_BLACK | |
73 | #define CONFIG_CONSOLE_SCROLL_LINES 10 | |
74 | ||
29f3e3f2 | 75 | #include "tegra-common-post.h" |
bea2674c | 76 | |
2996e2dc | 77 | #endif /* __CONFIG_H */ |