blob: d212a7f680fe5c89dee59a0415950c544ace592d [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Thierry Reding60d77aa2011-11-17 00:10:26 +00002/*
3 * (C) Copyright 2010,2011
4 * NVIDIA Corporation <www.nvidia.com>
Thierry Redinge7dbeb02012-06-04 20:02:25 +00005 * (C) Copyright 2011-2012
Thierry Reding60d77aa2011-11-17 00:10:26 +00006 * Avionic Design GmbH <www.avionic-design.de>
Thierry Reding60d77aa2011-11-17 00:10:26 +00007 */
8
9#ifndef __CONFIG_H
10#define __CONFIG_H
11
Allen Martin55d98a12012-08-31 08:30:00 +000012#include "tegra20-common.h"
Thierry Reding60d77aa2011-11-17 00:10:26 +000013
14/* High-level configuration options */
Thierry Reding98a2a7a2012-09-19 00:37:21 +000015#define CONFIG_TEGRA_BOARD_STRING "Avionic Design Medcom-Wide"
Thierry Reding60d77aa2011-11-17 00:10:26 +000016
17/* Board-specific serial config */
Tom Warren22562a42012-09-04 17:00:24 -070018#define CONFIG_TEGRA_ENABLE_UARTD /* UARTD: debug UART */
Thierry Reding60d77aa2011-11-17 00:10:26 +000019#define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTD_BASE
20
Thierry Reding1195dae2013-04-03 04:52:43 +000021/* NAND support */
Thierry Reding1195dae2013-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 Reding1195dae2013-04-03 04:52:43 +000026#define CONFIG_ENV_OFFSET (SZ_512M - SZ_128K) /* 128K sectors */
27
Tom Warren22562a42012-09-04 17:00:24 -070028#include "tegra-common-post.h"
Stephen Warrende17c292012-05-16 06:21:00 +000029
Thierry Reding60d77aa2011-11-17 00:10:26 +000030#endif /* __CONFIG_H */