xref: /rk3399_rockchip-uboot/include/configs/plutux.h (revision 00a2749d7be5b0e6cb6435187ec8fea600b44627)
14026aca6SThierry Reding /*
24026aca6SThierry Reding  *  (C) Copyright 2010,2011
34026aca6SThierry Reding  *  NVIDIA Corporation <www.nvidia.com>
4a7dafd7bSThierry Reding  *  (C) Copyright 2011-2012
54026aca6SThierry Reding  *  Avionic Design GmbH <www.avionic-design.de>
64026aca6SThierry Reding  *
74026aca6SThierry Reding  * See file CREDITS for list of people who contributed to this
84026aca6SThierry Reding  * project.
94026aca6SThierry Reding  *
104026aca6SThierry Reding  * This program is free software; you can redistribute it and/or
114026aca6SThierry Reding  * modify it under the terms of the GNU General Public License as
124026aca6SThierry Reding  * published by the Free Software Foundation; either version 2 of
134026aca6SThierry Reding  * the License, or (at your option) any later version.
144026aca6SThierry Reding  *
154026aca6SThierry Reding  * This program is distributed in the hope that it will be useful,
164026aca6SThierry Reding  * but WITHOUT ANY WARRANTY; without even the implied warranty of
174026aca6SThierry Reding  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
184026aca6SThierry Reding  * GNU General Public License for more details.
194026aca6SThierry Reding  *
204026aca6SThierry Reding  * You should have received a copy of the GNU General Public License
214026aca6SThierry Reding  * along with this program; if not, write to the Free Software
224026aca6SThierry Reding  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
234026aca6SThierry Reding  * MA 02111-1307 USA
244026aca6SThierry Reding  */
254026aca6SThierry Reding 
264026aca6SThierry Reding #ifndef __CONFIG_H
274026aca6SThierry Reding #define __CONFIG_H
284026aca6SThierry Reding 
29*00a2749dSAllen Martin #include "tegra20-common.h"
304026aca6SThierry Reding 
31a7dafd7bSThierry Reding /* Enable fdt support for Plutux. Flash the image in u-boot-dtb.bin */
32*00a2749dSAllen Martin #define CONFIG_DEFAULT_DEVICE_TREE	tegra20-plutux
33a7dafd7bSThierry Reding #define CONFIG_OF_CONTROL
34a7dafd7bSThierry Reding #define CONFIG_OF_SEPARATE
35a7dafd7bSThierry Reding 
364026aca6SThierry Reding /* High-level configuration options */
37*00a2749dSAllen Martin #define V_PROMPT			"Tegra20 (Plutux) # "
38*00a2749dSAllen Martin #define CONFIG_TEGRA20_BOARD_STRING	"Avionic Design Plutux"
394026aca6SThierry Reding 
404026aca6SThierry Reding /* Board-specific serial config */
414026aca6SThierry Reding #define CONFIG_SERIAL_MULTI
42*00a2749dSAllen Martin #define CONFIG_TEGRA20_ENABLE_UARTD	/* UARTD: debug UART */
434026aca6SThierry Reding #define CONFIG_SYS_NS16550_COM1		NV_PA_APB_UARTD_BASE
444026aca6SThierry Reding 
454026aca6SThierry Reding #define CONFIG_BOARD_EARLY_INIT_F
464026aca6SThierry Reding 
47a783bdb8SSimon Glass #define CONFIG_ENV_IS_NOWHERE
48a783bdb8SSimon Glass 
494026aca6SThierry Reding /* SD/MMC */
504026aca6SThierry Reding #define CONFIG_MMC
514026aca6SThierry Reding #define CONFIG_GENERIC_MMC
523f82d89dSTom Warren #define CONFIG_TEGRA_MMC
534026aca6SThierry Reding #define CONFIG_CMD_MMC
544026aca6SThierry Reding 
55a7dafd7bSThierry Reding /* USB host support */
56a7dafd7bSThierry Reding #define CONFIG_USB_EHCI
57a7dafd7bSThierry Reding #define CONFIG_USB_EHCI_TEGRA
58a7dafd7bSThierry Reding #define CONFIG_USB_STORAGE
59a7dafd7bSThierry Reding #define CONFIG_CMD_USB
60a7dafd7bSThierry Reding 
61a7dafd7bSThierry Reding /* USB networking support */
62a7dafd7bSThierry Reding #define CONFIG_USB_HOST_ETHER
63a7dafd7bSThierry Reding #define CONFIG_USB_ETHER_SMSC95XX
64a7dafd7bSThierry Reding 
65a7dafd7bSThierry Reding /* General networking support */
66a7dafd7bSThierry Reding #define CONFIG_CMD_NET
67a7dafd7bSThierry Reding #define CONFIG_CMD_DHCP
68a7dafd7bSThierry Reding 
694026aca6SThierry Reding #define CONFIG_DOS_PARTITION
704026aca6SThierry Reding #define CONFIG_EFI_PARTITION
714026aca6SThierry Reding #define CONFIG_CMD_EXT2
724026aca6SThierry Reding #define CONFIG_CMD_FAT
734026aca6SThierry Reding 
744026aca6SThierry Reding #define CONFIG_FIT
754026aca6SThierry Reding 
764026aca6SThierry Reding #define CONFIG_BOOTCOMMAND				\
774026aca6SThierry Reding 	"mmc rescan;"					\
784026aca6SThierry Reding 	"ext2load mmc 0 0x17000000 /boot/uImage;"	\
794026aca6SThierry Reding 	"bootm"
804026aca6SThierry Reding 
81*00a2749dSAllen Martin #include "tegra20-common-post.h"
82bea2674cSStephen Warren 
834026aca6SThierry Reding #endif /* __CONFIG_H */
84