xref: /rk3399_rockchip-uboot/include/configs/tec.h (revision 00a2749d7be5b0e6cb6435187ec8fea600b44627)
1d70575b6SThierry Reding /*
2d70575b6SThierry Reding  *  (C) Copyright 2010,2011
3d70575b6SThierry Reding  *  NVIDIA Corporation <www.nvidia.com>
4d70575b6SThierry Reding  *  (C) Copyright 2011-2012
5d70575b6SThierry Reding  *  Avionic Design GmbH <www.avionic-design.de>
6d70575b6SThierry Reding  *
7d70575b6SThierry Reding  * See file CREDITS for list of people who contributed to this
8d70575b6SThierry Reding  * project.
9d70575b6SThierry Reding  *
10d70575b6SThierry Reding  * This program is free software; you can redistribute it and/or
11d70575b6SThierry Reding  * modify it under the terms of the GNU General Public License as
12d70575b6SThierry Reding  * published by the Free Software Foundation; either version 2 of
13d70575b6SThierry Reding  * the License, or (at your option) any later version.
14d70575b6SThierry Reding  *
15d70575b6SThierry Reding  * This program is distributed in the hope that it will be useful,
16d70575b6SThierry Reding  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17d70575b6SThierry Reding  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18d70575b6SThierry Reding  * GNU General Public License for more details.
19d70575b6SThierry Reding  *
20d70575b6SThierry Reding  * You should have received a copy of the GNU General Public License
21d70575b6SThierry Reding  * along with this program; if not, write to the Free Software
22d70575b6SThierry Reding  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
23d70575b6SThierry Reding  * MA 02111-1307 USA
24d70575b6SThierry Reding  */
25d70575b6SThierry Reding 
26d70575b6SThierry Reding #ifndef __CONFIG_H
27d70575b6SThierry Reding #define __CONFIG_H
28d70575b6SThierry Reding 
29*00a2749dSAllen Martin #include "tegra20-common.h"
30d70575b6SThierry Reding 
31d70575b6SThierry Reding /* Enable fdt support for TEC. Flash the image in u-boot-dtb.bin */
32*00a2749dSAllen Martin #define CONFIG_DEFAULT_DEVICE_TREE	tegra20-tec
33d70575b6SThierry Reding #define CONFIG_OF_CONTROL
34d70575b6SThierry Reding #define CONFIG_OF_SEPARATE
35d70575b6SThierry Reding 
36d70575b6SThierry Reding /* High-level configuration options */
37*00a2749dSAllen Martin #define V_PROMPT			"Tegra20 (TEC) # "
38*00a2749dSAllen Martin #define CONFIG_TEGRA20_BOARD_STRING	"Avionic Design Tamonten Evaluation Carrier"
39d70575b6SThierry Reding #define CONFIG_SYS_BOARD_ODMDATA	0x2b0d8011
40d70575b6SThierry Reding 
41d70575b6SThierry Reding /* Board-specific serial config */
42d70575b6SThierry Reding #define CONFIG_SERIAL_MULTI
43*00a2749dSAllen Martin #define CONFIG_TEGRA20_ENABLE_UARTD	/* UARTD: debug UART */
44d70575b6SThierry Reding #define CONFIG_SYS_NS16550_COM1		NV_PA_APB_UARTD_BASE
45d70575b6SThierry Reding 
46d70575b6SThierry Reding #define CONFIG_BOARD_EARLY_INIT_F
47d70575b6SThierry Reding 
48d70575b6SThierry Reding #define CONFIG_ENV_IS_NOWHERE
49d70575b6SThierry Reding 
50d70575b6SThierry Reding /* SD/MMC */
51d70575b6SThierry Reding #define CONFIG_MMC
52d70575b6SThierry Reding #define CONFIG_GENERIC_MMC
53d70575b6SThierry Reding #define CONFIG_TEGRA_MMC
54d70575b6SThierry Reding #define CONFIG_CMD_MMC
55d70575b6SThierry Reding 
56d70575b6SThierry Reding /* USB host support */
57d70575b6SThierry Reding #define CONFIG_USB_EHCI
58d70575b6SThierry Reding #define CONFIG_USB_EHCI_TEGRA
59d70575b6SThierry Reding #define CONFIG_USB_STORAGE
60d70575b6SThierry Reding #define CONFIG_CMD_USB
61d70575b6SThierry Reding 
62d70575b6SThierry Reding /* USB networking support */
63d70575b6SThierry Reding #define CONFIG_USB_HOST_ETHER
64d70575b6SThierry Reding #define CONFIG_USB_ETHER_SMSC95XX
65d70575b6SThierry Reding 
66d70575b6SThierry Reding /* General networking support */
67d70575b6SThierry Reding #define CONFIG_CMD_NET
68d70575b6SThierry Reding #define CONFIG_CMD_DHCP
69d70575b6SThierry Reding 
70d70575b6SThierry Reding #define CONFIG_DOS_PARTITION
71d70575b6SThierry Reding #define CONFIG_EFI_PARTITION
72d70575b6SThierry Reding #define CONFIG_CMD_EXT2
73d70575b6SThierry Reding #define CONFIG_CMD_FAT
74d70575b6SThierry Reding 
75d70575b6SThierry Reding #define CONFIG_FIT
76d70575b6SThierry Reding 
77d70575b6SThierry Reding #define CONFIG_BOOTCOMMAND				\
78d70575b6SThierry Reding 	"mmc rescan;"					\
79d70575b6SThierry Reding 	"ext2load mmc 0 0x17000000 /boot/uImage;"	\
80d70575b6SThierry Reding 	"bootm"
81d70575b6SThierry Reding 
82d70575b6SThierry Reding #endif /* __CONFIG_H */
83