blob: d212a7f680fe5c89dee59a0415950c544ace592d [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Thierry Redingc91915e2011-11-17 00:10:26 +00002/*
3 * (C) Copyright 2010,2011
4 * NVIDIA Corporation <www.nvidia.com>
Thierry Reding1cbdf2d2012-06-04 20:02:25 +00005 * (C) Copyright 2011-2012
Thierry Redingc91915e2011-11-17 00:10:26 +00006 * Avionic Design GmbH <www.avionic-design.de>
Thierry Redingc91915e2011-11-17 00:10:26 +00007 */
8
9#ifndef __CONFIG_H
10#define __CONFIG_H
11
Allen Martin00a27492012-08-31 08:30:00 +000012#include "tegra20-common.h"
Thierry Redingc91915e2011-11-17 00:10:26 +000013
14/* High-level configuration options */
Thierry Reding66b796a2012-09-19 00:37:21 +000015#define CONFIG_TEGRA_BOARD_STRING "Avionic Design Medcom-Wide"
Thierry Redingc91915e2011-11-17 00:10:26 +000016
17/* Board-specific serial config */
Tom Warren29f3e3f2012-09-04 17:00:24 -070018#define CONFIG_TEGRA_ENABLE_UARTD /* UARTD: debug UART */
Thierry Redingc91915e2011-11-17 00:10:26 +000019#define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTD_BASE
20
Thierry Reding9dc9caf2013-04-03 04:52:43 +000021/* NAND support */
Thierry Reding9dc9caf2013-04-03 04:52:43 +000022#define CONFIG_TEGRA_NAND
23#define CONFIG_SYS_MAX_NAND_DEVICE 1
24
25/* Environment in NAND, aligned to start of last sector */
Thierry Reding9dc9caf2013-04-03 04:52:43 +000026#define CONFIG_ENV_OFFSET (SZ_512M - SZ_128K) /* 128K sectors */
27
Tom Warren29f3e3f2012-09-04 17:00:24 -070028#include "tegra-common-post.h"
Stephen Warrenbea26742012-05-16 06:21:00 +000029
Thierry Redingc91915e2011-11-17 00:10:26 +000030#endif /* __CONFIG_H */