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 /* Environment in NAND (which is 512M), aligned to start of last sector */
33 
34 #include "tegra-common-post.h"
35 
36 #endif /* __CONFIG_H */
37