blob: b637832a5ee767ace17fc975a9415d2bb679273f [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Alban Bedelcad39662013-11-14 10:58:30 +01002/*
3 * (C) Copyright 2013
4 * Avionic Design GmbH <www.avionic-design.de>
Alban Bedelcad39662013-11-14 10:58:30 +01005 */
6
7#ifndef __CONFIG_H
8#define __CONFIG_H
9
10#include "tegra30-common.h"
11
Alban Bedelcad39662013-11-14 10:58:30 +010012/* High-level configuration options */
Alban Bedelcad39662013-11-14 10:58:30 +010013#define CONFIG_TEGRA_BOARD_STRING "Avionic Design Tamonten™ NG Evaluation Carrier"
14
15/* Board-specific serial config */
Alban Bedelcad39662013-11-14 10:58:30 +010016#define CONFIG_TEGRA_ENABLE_UARTD
17#define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTD_BASE
18
Alban Bedelcad39662013-11-14 10:58:30 +010019/* Environment in eMMC, at the end of 2nd "boot sector" */
Alban Bedelcad39662013-11-14 10:58:30 +010020#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 */
Alban Bedelcad39662013-11-14 10:58:30 +010025#define CONFIG_TEGRA_SLINK_CTRLS 6
Alban Bedelcad39662013-11-14 10:58:30 +010026#define CONFIG_SPI_FLASH_SIZE (4 << 20)
27
Alban Bedelcad39662013-11-14 10:58:30 +010028/* Tag support */
29#define CONFIG_CMDLINE_TAG
30#define CONFIG_SETUP_MEMORY_TAGS
31#define CONFIG_INITRD_TAG
Alban Bedelcad39662013-11-14 10:58:30 +010032
33#include "tegra-common-post.h"
34
35#endif /* __CONFIG_H */