blob: 24cda4839ee6ed99e74c3c5a6835e769bdee974d [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 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms and conditions of the GNU General Public License,
9 * version 2, as published by the Free Software Foundation.
10 *
11 * This program is distributed in the hope it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 * more details.
15 */
16
17#ifndef __CONFIG_H
18#define __CONFIG_H
19
20#include <asm/sizes.h>
Allen Martin55d98a12012-08-31 08:30:00 +000021#include "tegra20-common.h"
Stephen Warrenf5dc27a2012-01-06 12:14:42 +000022
Stephen Warren24bfee62012-05-21 10:04:37 +000023/* Enable fdt support for Paz00. Flash the image in u-boot-dtb.bin */
Allen Martin55d98a12012-08-31 08:30:00 +000024#define CONFIG_DEFAULT_DEVICE_TREE tegra20-paz00
Stephen Warren24bfee62012-05-21 10:04:37 +000025#define CONFIG_OF_CONTROL
26#define CONFIG_OF_SEPARATE
27
Stephen Warrenf5dc27a2012-01-06 12:14:42 +000028/* High-level configuration options */
Allen Martin55d98a12012-08-31 08:30:00 +000029#define V_PROMPT "Tegra20 (Paz00) MOD # "
Tom Warren22562a42012-09-04 17:00:24 -070030#define CONFIG_TEGRA_BOARD_STRING "Compal Paz00"
Stephen Warrenf5dc27a2012-01-06 12:14:42 +000031
32/* Board-specific serial config */
33#define CONFIG_SERIAL_MULTI
Tom Warren22562a42012-09-04 17:00:24 -070034#define CONFIG_TEGRA_ENABLE_UARTA
Stephen Warrenf5dc27a2012-01-06 12:14:42 +000035#define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTA_BASE
36
37#define CONFIG_MACH_TYPE MACH_TYPE_PAZ00
Stephen Warrenf5dc27a2012-01-06 12:14:42 +000038
39#define CONFIG_BOARD_EARLY_INIT_F
40
41/* SD/MMC */
42#define CONFIG_MMC
43#define CONFIG_GENERIC_MMC
Tom Warren8c57e962012-05-22 11:44:48 +000044#define CONFIG_TEGRA_MMC
Stephen Warrenf5dc27a2012-01-06 12:14:42 +000045#define CONFIG_CMD_MMC
46
47#define CONFIG_DOS_PARTITION
48#define CONFIG_EFI_PARTITION
49#define CONFIG_CMD_EXT2
50#define CONFIG_CMD_FAT
51
Stephen Warren40e6fd12012-05-24 11:38:38 +000052/* Environment in eMMC, at the end of 2nd "boot sector" */
53#define CONFIG_ENV_IS_IN_MMC
Stephen Warren20da39b2012-07-30 10:55:45 +000054#define CONFIG_ENV_OFFSET ((1024 * 1024) - CONFIG_ENV_SIZE)
Stephen Warren40e6fd12012-05-24 11:38:38 +000055#define CONFIG_SYS_MMC_ENV_DEV 0
Stephen Warren20da39b2012-07-30 10:55:45 +000056#define CONFIG_SYS_MMC_ENV_PART 2
Stephen Warrende17c292012-05-16 06:21:00 +000057
Stephen Warren24bfee62012-05-21 10:04:37 +000058/* USB Host support */
59#define CONFIG_USB_EHCI
60#define CONFIG_USB_EHCI_TEGRA
61#define CONFIG_USB_STORAGE
62#define CONFIG_CMD_USB
63
64/* USB networking support */
65#define CONFIG_USB_HOST_ETHER
Stephen Warren24bfee62012-05-21 10:04:37 +000066#define CONFIG_USB_ETHER_ASIX
67
68/* General networking support */
69#define CONFIG_CMD_NET
70#define CONFIG_CMD_DHCP
71
Tom Warren22562a42012-09-04 17:00:24 -070072#include "tegra-common-post.h"
Stephen Warrende17c292012-05-16 06:21:00 +000073
Stephen Warrenf5dc27a2012-01-06 12:14:42 +000074#endif /* __CONFIG_H */