xref: /rk3399_rockchip-uboot/include/configs/paz00.h (revision 52a8b82074d1c3a3dcde8e3d90e6a04f7eb3a1f8)
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 <asm/sizes.h>
21 #include "tegra2-common.h"
22 
23 /* Enable fdt support for Paz00. Flash the image in u-boot-dtb.bin */
24 #define CONFIG_DEFAULT_DEVICE_TREE	tegra2-paz00
25 #define CONFIG_OF_CONTROL
26 #define CONFIG_OF_SEPARATE
27 
28 /* High-level configuration options */
29 #define V_PROMPT		"Tegra2 (Paz00) MOD # "
30 #define CONFIG_TEGRA2_BOARD_STRING	"Compal Paz00"
31 
32 /* Board-specific serial config */
33 #define CONFIG_SERIAL_MULTI
34 #define CONFIG_TEGRA2_ENABLE_UARTA
35 #define CONFIG_SYS_NS16550_COM1		NV_PA_APB_UARTA_BASE
36 
37 #define CONFIG_MACH_TYPE		MACH_TYPE_PAZ00
38 #define CONFIG_SYS_BOARD_ODMDATA	0x800c0085 /* lp1, 512MB */
39 
40 #define CONFIG_BOARD_EARLY_INIT_F
41 
42 /* SD/MMC */
43 #define CONFIG_MMC
44 #define CONFIG_GENERIC_MMC
45 #define CONFIG_TEGRA_MMC
46 #define CONFIG_CMD_MMC
47 
48 #define CONFIG_DOS_PARTITION
49 #define CONFIG_EFI_PARTITION
50 #define CONFIG_CMD_EXT2
51 #define CONFIG_CMD_FAT
52 
53 /* Environment not stored */
54 #define CONFIG_ENV_IS_NOWHERE
55 
56 /* USB Host support */
57 #define CONFIG_USB_EHCI
58 #define CONFIG_USB_EHCI_TEGRA
59 #define CONFIG_USB_STORAGE
60 #define CONFIG_CMD_USB
61 
62 /* USB networking support */
63 #define CONFIG_USB_HOST_ETHER
64 #define CONFIG_USB_ETHER_ASIX
65 
66 /* General networking support */
67 #define CONFIG_CMD_NET
68 #define CONFIG_CMD_DHCP
69 
70 #include "tegra2-common-post.h"
71 
72 #endif /* __CONFIG_H */
73