xref: /openbmc/u-boot/include/configs/tec-ng.h (revision 1e46d0bc)
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * (C) Copyright 2013
4  * Avionic Design GmbH <www.avionic-design.de>
5  */
6 
7 #ifndef __CONFIG_H
8 #define __CONFIG_H
9 
10 #include "tegra30-common.h"
11 
12 /* High-level configuration options */
13 #define CONFIG_TEGRA_BOARD_STRING	"Avionic Design Tamonten™ NG Evaluation Carrier"
14 
15 /* Board-specific serial config */
16 #define CONFIG_TEGRA_ENABLE_UARTD
17 #define CONFIG_SYS_NS16550_COM1		NV_PA_APB_UARTD_BASE
18 
19 /* Environment in eMMC, at the end of 2nd "boot sector" */
20 #define CONFIG_ENV_OFFSET		(-CONFIG_ENV_SIZE)
21 #define CONFIG_SYS_MMC_ENV_DEV		0
22 #define CONFIG_SYS_MMC_ENV_PART		2
23 
24 /* SPI */
25 #define CONFIG_TEGRA_SLINK_CTRLS       6
26 #define CONFIG_SF_DEFAULT_MODE         SPI_MODE_0
27 #define CONFIG_SF_DEFAULT_SPEED        24000000
28 #define CONFIG_SPI_FLASH_SIZE          (4 << 20)
29 
30 /* Tag support */
31 #define CONFIG_CMDLINE_TAG
32 #define CONFIG_SETUP_MEMORY_TAGS
33 #define CONFIG_INITRD_TAG
34 
35 #include "tegra-common-post.h"
36 
37 #endif /* __CONFIG_H */
38