blob: d9dd9bdcd4bcb4561f7519f7e4e5157577618392 [file] [log] [blame]
Stephen Warren2996e2d2012-01-06 12:14:42 +00001/*
Stephen Warren00a55ad2012-05-21 10:04:37 +00002 * Copyright (c) 2010-2012 NVIDIA CORPORATION. All rights reserved.
Stephen Warren2996e2d2012-01-06 12:14:42 +00003 *
4 * See file CREDITS for list of people who contributed to this
5 * project.
6 *
Tom Rini5b8031c2016-01-14 22:05:13 -05007 * SPDX-License-Identifier: GPL-2.0
Stephen Warren2996e2d2012-01-06 12:14:42 +00008 */
9
10#ifndef __CONFIG_H
11#define __CONFIG_H
12
Alexey Brodkin1ace4022014-02-26 17:47:58 +040013#include <linux/sizes.h>
Allen Martin00a27492012-08-31 08:30:00 +000014#include "tegra20-common.h"
Stephen Warren2996e2d2012-01-06 12:14:42 +000015
16/* High-level configuration options */
Tom Warren29f3e3f2012-09-04 17:00:24 -070017#define CONFIG_TEGRA_BOARD_STRING "Compal Paz00"
Stephen Warren2996e2d2012-01-06 12:14:42 +000018
19/* Board-specific serial config */
Tom Warren29f3e3f2012-09-04 17:00:24 -070020#define CONFIG_TEGRA_ENABLE_UARTA
Stephen Warren2996e2d2012-01-06 12:14:42 +000021#define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTA_BASE
22
23#define CONFIG_MACH_TYPE MACH_TYPE_PAZ00
Stephen Warren2996e2d2012-01-06 12:14:42 +000024
Stephen Warren2996e2d2012-01-06 12:14:42 +000025/* SD/MMC */
26#define CONFIG_MMC
27#define CONFIG_GENERIC_MMC
Tom Warren3f82d892012-05-22 11:44:48 +000028#define CONFIG_TEGRA_MMC
Stephen Warren2996e2d2012-01-06 12:14:42 +000029#define CONFIG_CMD_MMC
30
Stephen Warrene87c2bd2012-05-24 11:38:38 +000031/* Environment in eMMC, at the end of 2nd "boot sector" */
32#define CONFIG_ENV_IS_IN_MMC
Stephen Warren91171092013-06-11 15:14:03 -060033#define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE)
Stephen Warrene87c2bd2012-05-24 11:38:38 +000034#define CONFIG_SYS_MMC_ENV_DEV 0
Stephen Warren573668a2012-07-30 10:55:45 +000035#define CONFIG_SYS_MMC_ENV_PART 2
Stephen Warrenbea26742012-05-16 06:21:00 +000036
Stephen Warren00a55ad2012-05-21 10:04:37 +000037/* USB Host support */
38#define CONFIG_USB_EHCI
39#define CONFIG_USB_EHCI_TEGRA
40#define CONFIG_USB_STORAGE
41#define CONFIG_CMD_USB
42
43/* USB networking support */
44#define CONFIG_USB_HOST_ETHER
Stephen Warren00a55ad2012-05-21 10:04:37 +000045#define CONFIG_USB_ETHER_ASIX
46
47/* General networking support */
Stephen Warren00a55ad2012-05-21 10:04:37 +000048#define CONFIG_CMD_DHCP
49
Marc Dietrich25dccd62012-11-25 11:26:12 +000050/* LCD support */
51#define CONFIG_LCD
52#define CONFIG_PWM_TEGRA
53#define CONFIG_VIDEO_TEGRA
54#define LCD_BPP LCD_COLOR16
55#define CONFIG_SYS_WHITE_ON_BLACK
56#define CONFIG_CONSOLE_SCROLL_LINES 10
57
Tom Warren29f3e3f2012-09-04 17:00:24 -070058#include "tegra-common-post.h"
Stephen Warrenbea26742012-05-16 06:21:00 +000059
Stephen Warren2996e2d2012-01-06 12:14:42 +000060#endif /* __CONFIG_H */