blob: f5459a8949067d7d6cd08f897d812414d68bbeb8 [file] [log] [blame]
Stephen Warrend5ef19b2011-10-31 06:51:37 +00001/*
2 * (C) Copyright 2010,2011
3 * NVIDIA Corporation <www.nvidia.com>
4 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02005 * SPDX-License-Identifier: GPL-2.0+
Stephen Warrend5ef19b2011-10-31 06:51:37 +00006 */
7
8#ifndef __CONFIG_H
9#define __CONFIG_H
10
Alexey Brodkin1ace4022014-02-26 17:47:58 +040011#include <linux/sizes.h>
Allen Martin00a27492012-08-31 08:30:00 +000012#include "tegra20-common.h"
Stephen Warrend5ef19b2011-10-31 06:51:37 +000013
14/* High-level configuration options */
Tom Warren29f3e3f2012-09-04 17:00:24 -070015#define CONFIG_TEGRA_BOARD_STRING "NVIDIA Ventana"
Stephen Warrend5ef19b2011-10-31 06:51:37 +000016
17/* Board-specific serial config */
Tom Warren29f3e3f2012-09-04 17:00:24 -070018#define CONFIG_TEGRA_ENABLE_UARTD
Stephen Warrend5ef19b2011-10-31 06:51:37 +000019#define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTD_BASE
20
21#define CONFIG_MACH_TYPE MACH_TYPE_VENTANA
Stephen Warrend5ef19b2011-10-31 06:51:37 +000022
Stephen Warrend5ef19b2011-10-31 06:51:37 +000023/* SD/MMC */
Stephen Warrend5ef19b2011-10-31 06:51:37 +000024#define CONFIG_GENERIC_MMC
Tom Warren3f82d892012-05-22 11:44:48 +000025#define CONFIG_TEGRA_MMC
Stephen Warrend5ef19b2011-10-31 06:51:37 +000026
Stephen Warren294cd672012-05-24 11:38:35 +000027/* Environment in eMMC, at the end of 2nd "boot sector" */
28#define CONFIG_ENV_IS_IN_MMC
Stephen Warren91171092013-06-11 15:14:03 -060029#define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE)
Stephen Warren294cd672012-05-24 11:38:35 +000030#define CONFIG_SYS_MMC_ENV_DEV 0
Stephen Warren573668a2012-07-30 10:55:45 +000031#define CONFIG_SYS_MMC_ENV_PART 2
Stephen Warrenbea26742012-05-16 06:21:00 +000032
Stephen Warrenb1b9e4c2012-05-23 07:46:15 +000033/* USB Host support */
34#define CONFIG_USB_EHCI
35#define CONFIG_USB_EHCI_TEGRA
Stephen Warrenb1b9e4c2012-05-23 07:46:15 +000036
37/* USB networking support */
38#define CONFIG_USB_HOST_ETHER
39#define CONFIG_USB_ETHER_ASIX
40
41/* General networking support */
Stephen Warrenb1b9e4c2012-05-23 07:46:15 +000042
Allen Martin5ddcc382012-10-24 08:32:06 +000043/* USB keyboard */
Allen Martin5ddcc382012-10-24 08:32:06 +000044
Stephen Warrend035fcf2013-06-18 09:46:52 -060045/* LCD support */
Stephen Warrend035fcf2013-06-18 09:46:52 -060046#define CONFIG_SYS_WHITE_ON_BLACK
Stephen Warrend035fcf2013-06-18 09:46:52 -060047
Tom Warren29f3e3f2012-09-04 17:00:24 -070048#include "tegra-common-post.h"
Stephen Warrenbea26742012-05-16 06:21:00 +000049
Stephen Warrend5ef19b2011-10-31 06:51:37 +000050#endif /* __CONFIG_H */