xref: /openbmc/u-boot/include/configs/venice2.h (revision 66c433ed4342e5761ee9b048c85fe47d31130b2e)
1*83d290c5STom Rini /* SPDX-License-Identifier: GPL-2.0+ */
2f7dc4ac3STom Warren /*
3f7dc4ac3STom Warren  * (C) Copyright 2013-2014
4f7dc4ac3STom Warren  * NVIDIA Corporation <www.nvidia.com>
5f7dc4ac3STom Warren  */
6f7dc4ac3STom Warren 
7f7dc4ac3STom Warren #ifndef __CONFIG_H
8f7dc4ac3STom Warren #define __CONFIG_H
9f7dc4ac3STom Warren 
101ace4022SAlexey Brodkin #include <linux/sizes.h>
11f7dc4ac3STom Warren 
12f7dc4ac3STom Warren #include "tegra124-common.h"
13f7dc4ac3STom Warren 
14f7dc4ac3STom Warren /* High-level configuration options */
15f7dc4ac3STom Warren #define CONFIG_TEGRA_BOARD_STRING	"NVIDIA Venice2"
16f7dc4ac3STom Warren 
17f7dc4ac3STom Warren /* Board-specific serial config */
18f7dc4ac3STom Warren #define CONFIG_TEGRA_ENABLE_UARTA
19f7dc4ac3STom Warren #define CONFIG_SYS_NS16550_COM1		NV_PA_APB_UARTA_BASE
20f7dc4ac3STom Warren 
21f7dc4ac3STom Warren /* Environment in eMMC, at the end of 2nd "boot sector" */
22f7dc4ac3STom Warren #define CONFIG_SYS_MMC_ENV_DEV		0
23f7dc4ac3STom Warren #define CONFIG_SYS_MMC_ENV_PART		2
24f7dc4ac3STom Warren #define CONFIG_ENV_OFFSET		(-CONFIG_ENV_SIZE)
25f7dc4ac3STom Warren 
26f7dc4ac3STom Warren /* SPI */
27f7dc4ac3STom Warren #define CONFIG_SPI_FLASH_SIZE          (4 << 20)
28f7dc4ac3STom Warren 
2939446bceSStephen Warren #include "tegra-common-usb-gadget.h"
30f7dc4ac3STom Warren #include "tegra-common-post.h"
31f7dc4ac3STom Warren 
32f7dc4ac3STom Warren #endif /* __CONFIG_H */
33