1/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright (C) 2012 Lucas Stach
4 *
5 * Configuration settings for the Toradex Colibri T20 modules.
6 */
7
8#ifndef __CONFIG_H
9#define __CONFIG_H
10
11#include "tegra20-common.h"
12
13/* Board-specific serial config */
14#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTA_BASE
15
16/* NAND support */
17
18#define UBOOT_UPDATE \
19	"update_uboot=nand erase.part u-boot && " \
20		"nand write ${loadaddr} u-boot ${filesize}\0" \
21
22/* Environment in NAND, 64K is a bit excessive but erase block is 512K anyway */
23#define BOARD_EXTRA_ENV_SETTINGS \
24	"boot_script_dhcp=boot.scr\0" \
25	UBOOT_UPDATE
26
27#include "tegra-common-post.h"
28
29#endif /* __CONFIG_H */
30