xref: /openbmc/u-boot/include/configs/harmony.h (revision da4cfa6b)
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  *  (C) Copyright 2010-2012
4  *  NVIDIA Corporation <www.nvidia.com>
5  */
6 
7 #ifndef __CONFIG_H
8 #define __CONFIG_H
9 
10 #include <linux/sizes.h>
11 #include "tegra20-common.h"
12 
13 /* High-level configuration options */
14 #define CONFIG_TEGRA_BOARD_STRING	"NVIDIA Harmony"
15 
16 /* Board-specific serial config */
17 #define CONFIG_TEGRA_ENABLE_UARTD
18 
19 /* UARTD: keyboard satellite board UART, default */
20 #define CONFIG_SYS_NS16550_COM1		NV_PA_APB_UARTD_BASE
21 #ifdef CONFIG_TEGRA_ENABLE_UARTA
22 /* UARTA: debug board UART */
23 #define CONFIG_SYS_NS16550_COM2		NV_PA_APB_UARTA_BASE
24 #endif
25 
26 #define CONFIG_MACH_TYPE		MACH_TYPE_HARMONY
27 
28 /* NAND support */
29 #define CONFIG_TEGRA_NAND
30 #define CONFIG_SYS_MAX_NAND_DEVICE	1
31 
32 /* Dynamic MTD partition support */
33 
34 /* Environment in NAND (which is 512M), aligned to start of last sector */
35 #define CONFIG_ENV_OFFSET	(SZ_512M - SZ_128K) /* 128K sector size */
36 
37 /* USB Host support */
38 #define CONFIG_USB_EHCI_TEGRA
39 
40 /* USB networking support */
41 
42 #include "tegra-common-post.h"
43 
44 #endif /* __CONFIG_H */
45