blob: 0cefee398e0f9d93c748dc48d35ca237f1ca2516 [file] [log] [blame]
Stephen Warrenf5dc27a2012-01-06 12:14:42 +00001/*
Stephen Warren24bfee62012-05-21 10:04:37 +00002 * Copyright (c) 2010-2012 NVIDIA CORPORATION. All rights reserved.
Stephen Warrenf5dc27a2012-01-06 12:14:42 +00003 *
4 * See file CREDITS for list of people who contributed to this
5 * project.
6 *
Tom Rinie2378802016-01-14 22:05:13 -05007 * SPDX-License-Identifier: GPL-2.0
Stephen Warrenf5dc27a2012-01-06 12:14:42 +00008 */
9
10#ifndef __CONFIG_H
11#define __CONFIG_H
12
Alexey Brodkin267d8e22014-02-26 17:47:58 +040013#include <linux/sizes.h>
Allen Martin55d98a12012-08-31 08:30:00 +000014#include "tegra20-common.h"
Stephen Warrenf5dc27a2012-01-06 12:14:42 +000015
16/* High-level configuration options */
Tom Warren22562a42012-09-04 17:00:24 -070017#define CONFIG_TEGRA_BOARD_STRING "Compal Paz00"
Stephen Warrenf5dc27a2012-01-06 12:14:42 +000018
19/* Board-specific serial config */
Tom Warren22562a42012-09-04 17:00:24 -070020#define CONFIG_TEGRA_ENABLE_UARTA
Stephen Warrenf5dc27a2012-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 Warrenf5dc27a2012-01-06 12:14:42 +000024
Stephen Warrenf5dc27a2012-01-06 12:14:42 +000025/* SD/MMC */
Stephen Warrenf5dc27a2012-01-06 12:14:42 +000026#define CONFIG_GENERIC_MMC
Tom Warren8c57e962012-05-22 11:44:48 +000027#define CONFIG_TEGRA_MMC
Stephen Warrenf5dc27a2012-01-06 12:14:42 +000028
Stephen Warren40e6fd12012-05-24 11:38:38 +000029/* Environment in eMMC, at the end of 2nd "boot sector" */
30#define CONFIG_ENV_IS_IN_MMC
Stephen Warren46597a32013-06-11 15:14:03 -060031#define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE)
Stephen Warren40e6fd12012-05-24 11:38:38 +000032#define CONFIG_SYS_MMC_ENV_DEV 0
Stephen Warren20da39b2012-07-30 10:55:45 +000033#define CONFIG_SYS_MMC_ENV_PART 2
Stephen Warrende17c292012-05-16 06:21:00 +000034
Stephen Warren24bfee62012-05-21 10:04:37 +000035/* USB Host support */
36#define CONFIG_USB_EHCI
37#define CONFIG_USB_EHCI_TEGRA
Stephen Warren24bfee62012-05-21 10:04:37 +000038
39/* USB networking support */
40#define CONFIG_USB_HOST_ETHER
Stephen Warren24bfee62012-05-21 10:04:37 +000041#define CONFIG_USB_ETHER_ASIX
42
43/* General networking support */
Stephen Warren24bfee62012-05-21 10:04:37 +000044
Marc Dietrichb81dfe12012-11-25 11:26:12 +000045/* LCD support */
Marc Dietrichb81dfe12012-11-25 11:26:12 +000046#define CONFIG_SYS_WHITE_ON_BLACK
Marc Dietrichb81dfe12012-11-25 11:26:12 +000047
Tom Warren22562a42012-09-04 17:00:24 -070048#include "tegra-common-post.h"
Stephen Warrende17c292012-05-16 06:21:00 +000049
Stephen Warrenf5dc27a2012-01-06 12:14:42 +000050#endif /* __CONFIG_H */