xref: /openbmc/u-boot/include/configs/harmony.h (revision 90c08fa0)
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 #define CONFIG_MTD_PARTITIONS
34 #define CONFIG_MTD_DEVICE	/* needed for mtdparts commands */
35 
36 /* Environment in NAND (which is 512M), aligned to start of last sector */
37 #define CONFIG_ENV_OFFSET	(SZ_512M - SZ_128K) /* 128K sector size */
38 
39 /* USB Host support */
40 #define CONFIG_USB_EHCI_TEGRA
41 
42 /* USB networking support */
43 
44 #include "tegra-common-post.h"
45 
46 #endif /* __CONFIG_H */
47