xref: /rk3399_rockchip-uboot/include/configs/medcom-wide.h (revision 9dc9caf45d7a5e22a9bd36268ea2f44db25349f3)
166b796a5SThierry Reding /*
266b796a5SThierry Reding  *  (C) Copyright 2010,2011
366b796a5SThierry Reding  *  NVIDIA Corporation <www.nvidia.com>
466b796a5SThierry Reding  *  (C) Copyright 2011-2012
566b796a5SThierry Reding  *  Avionic Design GmbH <www.avionic-design.de>
666b796a5SThierry Reding  *
766b796a5SThierry Reding  * See file CREDITS for list of people who contributed to this
866b796a5SThierry Reding  * project.
966b796a5SThierry Reding  *
1066b796a5SThierry Reding  * This program is free software; you can redistribute it and/or
1166b796a5SThierry Reding  * modify it under the terms of the GNU General Public License as
1266b796a5SThierry Reding  * published by the Free Software Foundation; either version 2 of
1366b796a5SThierry Reding  * the License, or (at your option) any later version.
1466b796a5SThierry Reding  *
1566b796a5SThierry Reding  * This program is distributed in the hope that it will be useful,
1666b796a5SThierry Reding  * but WITHOUT ANY WARRANTY; without even the implied warranty of
1766b796a5SThierry Reding  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1866b796a5SThierry Reding  * GNU General Public License for more details.
1966b796a5SThierry Reding  *
2066b796a5SThierry Reding  * You should have received a copy of the GNU General Public License
2166b796a5SThierry Reding  * along with this program; if not, write to the Free Software
2266b796a5SThierry Reding  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
2366b796a5SThierry Reding  * MA 02111-1307 USA
2466b796a5SThierry Reding  */
2566b796a5SThierry Reding 
2666b796a5SThierry Reding #ifndef __CONFIG_H
2766b796a5SThierry Reding #define __CONFIG_H
2866b796a5SThierry Reding 
2966b796a5SThierry Reding #include "tegra20-common.h"
3066b796a5SThierry Reding 
3166b796a5SThierry Reding /* Enable fdt support for Medcom-Wide. Flash the image in u-boot-dtb.bin */
3266b796a5SThierry Reding #define CONFIG_DEFAULT_DEVICE_TREE	tegra20-medcom-wide
3366b796a5SThierry Reding #define CONFIG_OF_CONTROL
3466b796a5SThierry Reding #define CONFIG_OF_SEPARATE
3566b796a5SThierry Reding 
3666b796a5SThierry Reding /* High-level configuration options */
3766b796a5SThierry Reding #define V_PROMPT			"Tegra20 (Medcom-Wide) # "
3866b796a5SThierry Reding #define CONFIG_TEGRA_BOARD_STRING	"Avionic Design Medcom-Wide"
3966b796a5SThierry Reding 
4066b796a5SThierry Reding /* Board-specific serial config */
4166b796a5SThierry Reding #define CONFIG_TEGRA_ENABLE_UARTD	/* UARTD: debug UART */
4266b796a5SThierry Reding #define CONFIG_SYS_NS16550_COM1		NV_PA_APB_UARTD_BASE
4366b796a5SThierry Reding 
4466b796a5SThierry Reding #define CONFIG_BOARD_EARLY_INIT_F
457c3f386dSThierry Reding #define CONFIG_BOARD_LATE_INIT
4666b796a5SThierry Reding 
4766b796a5SThierry Reding /* SD/MMC */
4866b796a5SThierry Reding #define CONFIG_MMC
4966b796a5SThierry Reding #define CONFIG_GENERIC_MMC
5066b796a5SThierry Reding #define CONFIG_TEGRA_MMC
5166b796a5SThierry Reding #define CONFIG_CMD_MMC
5266b796a5SThierry Reding 
53*9dc9caf4SThierry Reding /* NAND support */
54*9dc9caf4SThierry Reding #define CONFIG_CMD_NAND
55*9dc9caf4SThierry Reding #define CONFIG_TEGRA_NAND
56*9dc9caf4SThierry Reding #define CONFIG_SYS_MAX_NAND_DEVICE	1
57*9dc9caf4SThierry Reding 
58*9dc9caf4SThierry Reding /* Environment in NAND, aligned to start of last sector */
59*9dc9caf4SThierry Reding #define CONFIG_ENV_IS_IN_NAND
60*9dc9caf4SThierry Reding #define CONFIG_ENV_OFFSET		(SZ_512M - SZ_128K) /* 128K sectors */
61*9dc9caf4SThierry Reding 
6266b796a5SThierry Reding /* USB host support */
6366b796a5SThierry Reding #define CONFIG_USB_EHCI
6466b796a5SThierry Reding #define CONFIG_USB_EHCI_TEGRA
6566b796a5SThierry Reding #define CONFIG_USB_STORAGE
6666b796a5SThierry Reding #define CONFIG_CMD_USB
6766b796a5SThierry Reding 
6866b796a5SThierry Reding /* USB networking support */
6966b796a5SThierry Reding #define CONFIG_USB_HOST_ETHER
7066b796a5SThierry Reding #define CONFIG_USB_ETHER_SMSC95XX
7166b796a5SThierry Reding 
7266b796a5SThierry Reding /* General networking support */
7366b796a5SThierry Reding #define CONFIG_CMD_NET
7466b796a5SThierry Reding #define CONFIG_CMD_DHCP
7566b796a5SThierry Reding 
767c3f386dSThierry Reding /* LCD support */
777c3f386dSThierry Reding #define CONFIG_LCD
787c3f386dSThierry Reding #define CONFIG_PWM_TEGRA
797c3f386dSThierry Reding #define CONFIG_VIDEO_TEGRA
807c3f386dSThierry Reding #define LCD_BPP LCD_COLOR16
817c3f386dSThierry Reding #define CONFIG_SYS_WHITE_ON_BLACK
827c3f386dSThierry Reding 
83*9dc9caf4SThierry Reding /* support the new (FDT-based) image format */
84*9dc9caf4SThierry Reding #define CONFIG_FIT
85*9dc9caf4SThierry Reding 
8666b796a5SThierry Reding #include "tegra-common-post.h"
8766b796a5SThierry Reding 
8866b796a5SThierry Reding #endif /* __CONFIG_H */
89