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