xref: /openbmc/u-boot/include/configs/paz00.h (revision 23ff8633)
1 /*
2  * Copyright (c) 2010-2012 NVIDIA CORPORATION.  All rights reserved.
3  *
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 <linux/sizes.h>
21 #include "tegra20-common.h"
22 
23 /* High-level configuration options */
24 #define CONFIG_TEGRA_BOARD_STRING	"Compal Paz00"
25 
26 /* Board-specific serial config */
27 #define CONFIG_TEGRA_ENABLE_UARTA
28 #define CONFIG_SYS_NS16550_COM1		NV_PA_APB_UARTA_BASE
29 
30 #define CONFIG_MACH_TYPE		MACH_TYPE_PAZ00
31 
32 /* SD/MMC */
33 #define CONFIG_MMC
34 #define CONFIG_GENERIC_MMC
35 #define CONFIG_TEGRA_MMC
36 #define CONFIG_CMD_MMC
37 
38 /* Environment in eMMC, at the end of 2nd "boot sector" */
39 #define CONFIG_ENV_IS_IN_MMC
40 #define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE)
41 #define CONFIG_SYS_MMC_ENV_DEV 0
42 #define CONFIG_SYS_MMC_ENV_PART 2
43 
44 /* USB Host support */
45 #define CONFIG_USB_EHCI
46 #define CONFIG_USB_EHCI_TEGRA
47 #define CONFIG_USB_STORAGE
48 #define CONFIG_CMD_USB
49 
50 /* USB networking support */
51 #define CONFIG_USB_HOST_ETHER
52 #define CONFIG_USB_ETHER_ASIX
53 
54 /* General networking support */
55 #define CONFIG_CMD_DHCP
56 
57 /* LCD support */
58 #define CONFIG_LCD
59 #define CONFIG_PWM_TEGRA
60 #define CONFIG_VIDEO_TEGRA
61 #define LCD_BPP				LCD_COLOR16
62 #define CONFIG_SYS_WHITE_ON_BLACK
63 #define CONFIG_CONSOLE_SCROLL_LINES	10
64 
65 #include "tegra-common-post.h"
66 
67 #endif /* __CONFIG_H */
68