]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - include/configs/trimslice.h
kconfig: move CONFIG_OF_* to Kconfig
[karo-tx-uboot.git] / include / configs / trimslice.h
1 /*
2  *  (C) Copyright 2010-2012
3  *  NVIDIA Corporation <www.nvidia.com>
4  *
5  * SPDX-License-Identifier:     GPL-2.0+
6  */
7
8 #ifndef __CONFIG_H
9 #define __CONFIG_H
10
11 #include <linux/sizes.h>
12 #include "tegra20-common.h"
13
14 /* Enable fdt support for TrimSlice. Flash the image in u-boot-dtb.bin */
15 #define CONFIG_DEFAULT_DEVICE_TREE      tegra20-trimslice
16
17 /* High-level configuration options */
18 #define V_PROMPT                "Tegra20 (TrimSlice) # "
19 #define CONFIG_TEGRA_BOARD_STRING       "Compulab Trimslice"
20
21 /* Board-specific serial config */
22 #define CONFIG_TEGRA_ENABLE_UARTA
23 #define CONFIG_TEGRA_UARTA_GPU
24 #define CONFIG_SYS_NS16550_COM1         NV_PA_APB_UARTA_BASE
25
26 #define CONFIG_MACH_TYPE                MACH_TYPE_TRIMSLICE
27
28 #define CONFIG_BOARD_EARLY_INIT_F
29
30 /* SPI */
31 #define CONFIG_TEGRA20_SFLASH
32 #define CONFIG_SPI_FLASH
33 #define CONFIG_SPI_FLASH_WINBOND
34 #define CONFIG_SF_DEFAULT_MODE          SPI_MODE_0
35 #define CONFIG_CMD_SPI
36 #define CONFIG_CMD_SF
37
38 /* I2C */
39 #define CONFIG_SYS_I2C_TEGRA
40 #define CONFIG_SYS_I2C_INIT_BOARD
41 #define CONFIG_SYS_I2C_SPEED            100000
42 #define CONFIG_CMD_I2C
43 #define CONFIG_SYS_I2C
44
45 /* SD/MMC */
46 #define CONFIG_MMC
47 #define CONFIG_GENERIC_MMC
48 #define CONFIG_TEGRA_MMC
49 #define CONFIG_CMD_MMC
50
51 /* Environment in SPI */
52 #define CONFIG_ENV_IS_IN_SPI_FLASH
53 #define CONFIG_ENV_SPI_MAX_HZ           48000000
54 #define CONFIG_ENV_SPI_MODE             SPI_MODE_0
55 #define CONFIG_ENV_SECT_SIZE            CONFIG_ENV_SIZE
56 #define CONFIG_ENV_OFFSET               (512 * 1024)
57
58 /* USB Host support */
59 #define CONFIG_USB_MAX_CONTROLLER_COUNT 3
60 #define CONFIG_USB_EHCI
61 #define CONFIG_USB_EHCI_TEGRA
62 #define CONFIG_USB_STORAGE
63 #define CONFIG_CMD_USB
64
65 /* USB networking support */
66 #define CONFIG_USB_HOST_ETHER
67 #define CONFIG_USB_ETHER_ASIX
68
69 /* General networking support */
70 #define CONFIG_CMD_NET
71 #define CONFIG_CMD_DHCP
72
73 #include "tegra-common-post.h"
74
75 #endif /* __CONFIG_H */