9b25a9d59d6385a658a7a97fb26c0fa984db08d2
[oweals/u-boot.git] / include / configs / dalmore.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (c) 2010-2013, NVIDIA CORPORATION.  All rights reserved.
4  */
5
6 #ifndef __CONFIG_H
7 #define __CONFIG_H
8
9 #include <linux/sizes.h>
10
11 #include "tegra114-common.h"
12
13 /* High-level configuration options */
14 #define CONFIG_TEGRA_BOARD_STRING       "NVIDIA Dalmore"
15
16 /* Board-specific serial config */
17 #define CONFIG_TEGRA_ENABLE_UARTD
18 #define CONFIG_SYS_NS16550_COM1         NV_PA_APB_UARTD_BASE
19
20 #define CONFIG_MACH_TYPE                MACH_TYPE_DALMORE
21
22 /* Environment in eMMC, at the end of 2nd "boot sector" */
23 #define CONFIG_SYS_MMC_ENV_DEV          0
24 #define CONFIG_SYS_MMC_ENV_PART         2
25 #define CONFIG_ENV_OFFSET               (-CONFIG_ENV_SIZE)
26
27 /* SPI */
28 #define CONFIG_SF_DEFAULT_MODE         SPI_MODE_0
29 #define CONFIG_SF_DEFAULT_SPEED        24000000
30 #define CONFIG_SPI_FLASH_SIZE          (4 << 20)
31
32 #include "tegra-common-usb-gadget.h"
33 #include "tegra-common-post.h"
34
35 #endif /* __CONFIG_H */