xref: /openbmc/u-boot/include/configs/trimslice.h (revision 06b070e3)
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  *  (C) Copyright 2010-2012
4  *  NVIDIA Corporation <www.nvidia.com>
5  */
6 
7 #ifndef __CONFIG_H
8 #define __CONFIG_H
9 
10 #include <linux/sizes.h>
11 #include "tegra20-common.h"
12 
13 /* High-level configuration options */
14 #define CONFIG_TEGRA_BOARD_STRING	"Compulab Trimslice"
15 
16 /* Board-specific serial config */
17 #define CONFIG_TEGRA_ENABLE_UARTA
18 #define CONFIG_TEGRA_UARTA_GPU
19 #define CONFIG_SYS_NS16550_COM1		NV_PA_APB_UARTA_BASE
20 
21 #define CONFIG_MACH_TYPE		MACH_TYPE_TRIMSLICE
22 
23 /* SPI */
24 #define CONFIG_SF_DEFAULT_MODE		SPI_MODE_0
25 
26 /* Environment in SPI */
27 #define CONFIG_ENV_SPI_MAX_HZ		48000000
28 #define CONFIG_ENV_SPI_MODE		SPI_MODE_0
29 #define CONFIG_ENV_SECT_SIZE		CONFIG_ENV_SIZE
30 /* 1MiB flash, environment located as high as possible */
31 #define CONFIG_ENV_OFFSET		(SZ_1M - CONFIG_ENV_SIZE)
32 
33 #include "tegra-common-post.h"
34 
35 #endif /* __CONFIG_H */
36