]>
Commit | Line | Data |
---|---|---|
83d290c5 | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
efc05ae1 | 2 | /* |
f3d93309 | 3 | * (C) Copyright 2010-2012 |
efc05ae1 | 4 | * NVIDIA Corporation <www.nvidia.com> |
efc05ae1 TW |
5 | */ |
6 | ||
7 | #ifndef __CONFIG_H | |
8 | #define __CONFIG_H | |
9 | ||
1ace4022 | 10 | #include <linux/sizes.h> |
00a2749d | 11 | #include "tegra20-common.h" |
efc05ae1 TW |
12 | |
13 | /* High-level configuration options */ | |
29f3e3f2 | 14 | #define CONFIG_TEGRA_BOARD_STRING "NVIDIA Harmony" |
efc05ae1 TW |
15 | |
16 | /* Board-specific serial config */ | |
29f3e3f2 | 17 | #define CONFIG_TEGRA_ENABLE_UARTD |
efc05ae1 TW |
18 | |
19 | /* UARTD: keyboard satellite board UART, default */ | |
20 | #define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTD_BASE | |
29f3e3f2 | 21 | #ifdef CONFIG_TEGRA_ENABLE_UARTA |
efc05ae1 TW |
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 | |
efc05ae1 | 27 | |
9614a1e9 | 28 | /* NAND support */ |
9614a1e9 SW |
29 | #define CONFIG_TEGRA_NAND |
30 | #define CONFIG_SYS_MAX_NAND_DEVICE 1 | |
9614a1e9 | 31 | |
fa91fda8 MZ |
32 | /* Dynamic MTD partition support */ |
33 | #define CONFIG_MTD_PARTITIONS | |
34 | #define CONFIG_MTD_DEVICE /* needed for mtdparts commands */ | |
35 | ||
9614a1e9 | 36 | /* Environment in NAND (which is 512M), aligned to start of last sector */ |
9614a1e9 | 37 | #define CONFIG_ENV_OFFSET (SZ_512M - SZ_128K) /* 128K sector size */ |
bea2674c | 38 | |
f3d93309 | 39 | /* USB Host support */ |
f3d93309 | 40 | #define CONFIG_USB_EHCI_TEGRA |
f3d93309 SW |
41 | |
42 | /* USB networking support */ | |
f3d93309 | 43 | |
29f3e3f2 | 44 | #include "tegra-common-post.h" |
bea2674c | 45 | |
efc05ae1 | 46 | #endif /* __CONFIG_H */ |