blob: cdf50e30babb22e7e3f01eb0fcc9ae0fb958de8c [file] [log] [blame]
Stephen Warrenffac82e2011-10-31 06:51:37 +00001/*
2 * (C) Copyright 2010,2011
3 * NVIDIA Corporation <www.nvidia.com>
4 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005 * SPDX-License-Identifier: GPL-2.0+
Stephen Warrenffac82e2011-10-31 06:51:37 +00006 */
7
8#ifndef __CONFIG_H
9#define __CONFIG_H
10
Alexey Brodkin267d8e22014-02-26 17:47:58 +040011#include <linux/sizes.h>
Allen Martin55d98a12012-08-31 08:30:00 +000012#include "tegra20-common.h"
Stephen Warrenffac82e2011-10-31 06:51:37 +000013
14/* High-level configuration options */
Tom Warren22562a42012-09-04 17:00:24 -070015#define CONFIG_TEGRA_BOARD_STRING "NVIDIA Ventana"
Stephen Warrenffac82e2011-10-31 06:51:37 +000016
17/* Board-specific serial config */
Tom Warren22562a42012-09-04 17:00:24 -070018#define CONFIG_TEGRA_ENABLE_UARTD
Stephen Warrenffac82e2011-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 Warrenffac82e2011-10-31 06:51:37 +000022
Stephen Warrenffac82e2011-10-31 06:51:37 +000023/* SD/MMC */
24#define CONFIG_MMC
25#define CONFIG_GENERIC_MMC
Tom Warren8c57e962012-05-22 11:44:48 +000026#define CONFIG_TEGRA_MMC
Stephen Warrenffac82e2011-10-31 06:51:37 +000027
Stephen Warren2ca13f42012-05-24 11:38:35 +000028/* Environment in eMMC, at the end of 2nd "boot sector" */
29#define CONFIG_ENV_IS_IN_MMC
Stephen Warren46597a32013-06-11 15:14:03 -060030#define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE)
Stephen Warren2ca13f42012-05-24 11:38:35 +000031#define CONFIG_SYS_MMC_ENV_DEV 0
Stephen Warren20da39b2012-07-30 10:55:45 +000032#define CONFIG_SYS_MMC_ENV_PART 2
Stephen Warrende17c292012-05-16 06:21:00 +000033
Stephen Warren82252762012-05-23 07:46:15 +000034/* USB Host support */
35#define CONFIG_USB_EHCI
36#define CONFIG_USB_EHCI_TEGRA
37#define CONFIG_USB_STORAGE
Stephen Warren82252762012-05-23 07:46:15 +000038
39/* USB networking support */
40#define CONFIG_USB_HOST_ETHER
41#define CONFIG_USB_ETHER_ASIX
42
43/* General networking support */
Stephen Warren82252762012-05-23 07:46:15 +000044
Allen Martinfec01a02012-10-24 08:32:06 +000045/* USB keyboard */
46#define CONFIG_USB_KEYBOARD
47
Stephen Warrenc3836f32013-06-18 09:46:52 -060048/* LCD support */
Stephen Warrenc3836f32013-06-18 09:46:52 -060049#define CONFIG_SYS_WHITE_ON_BLACK
50#define CONFIG_CONSOLE_SCROLL_LINES 10
51
Tom Warren22562a42012-09-04 17:00:24 -070052#include "tegra-common-post.h"
Stephen Warrende17c292012-05-16 06:21:00 +000053
Stephen Warrenffac82e2011-10-31 06:51:37 +000054#endif /* __CONFIG_H */