]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/karo/tx6/Kconfig
be2cfd82294ad770cc9b38541927085b78ec3219
[karo-tx-uboot.git] / board / karo / tx6 / Kconfig
1 if TARGET_TX6
2
3 config SYS_BOARD
4         default "tx6"
5
6 config SYS_VENDOR
7         default "karo"
8
9 config SYS_SOC
10         default "mx6"
11
12 config SYS_CONFIG_NAME
13         default "tx6"
14
15 config TX6
16         bool
17         default y
18         select APBH_DMA
19         select APBH_DMA_BURST
20         select APBH_DMA_BURST8
21         select CC_OPTIMIZE_LIBS_FOR_SPEED
22         select DM
23         select DM_GPIO
24         select DM_THERMAL
25         select FSL_ESDHC if MMC
26         select FSL_USDHC if MMC
27         select IMX6_THERMAL
28         select LIB_RAND
29         select PHYLIB
30         select GET_FEC_MAC_ADDR_FROM_IIM if FEC_MXC
31         select MXC_OCOTP if CMD_FUSE
32         select OF_BOARD_SETUP
33         select OF_LIBFDT
34
35 config TX6_NAND
36         bool
37         default ! TX6_EMMC
38         select CMD_NAND_TRIMFFS if CMD_NAND
39         select CMD_ROMUPDATE
40         select FDT_FIXUP_PARTITIONS
41         select MTD_DEVICE
42         select MTD_PARTITIONS
43         select NAND
44         select NAND_MXS
45         select NAND_MXS_NO_BBM_SWAP
46         select SYS_NAND_USE_FLASH_BBT
47
48 config TX6_EMMC
49         bool
50         select CMD_MMC
51         select MMC
52         select SUPPORT_EMMC_BOOT
53
54 config TX6UL
55         bool
56         select SOC_MX6UL
57         select SYS_I2C
58         select SYS_I2C_SOFT
59         select SYS_SDRAM_BUS_WIDTH_16
60
61 config TX6QP
62         bool
63
64 #
65 # variables selected depending on module variant
66 #
67 config SYS_LVDS_IF
68         bool
69
70 config SYS_SDRAM_BUS_WIDTH_16
71         bool
72
73 config SYS_SDRAM_BUS_WIDTH_32
74         bool
75
76 config SYS_SDRAM_CHIP_SIZE
77         int "SDRAM chip size in MiB"
78
79 choice
80         prompt "TX6 module variant"
81
82 config TARGET_TX6Q_NAND
83         bool "TX6Q modules with NAND flash (TX6Q-1030/TX6Q-1130)"
84         select SOC_MX6Q
85         select SYS_I2C
86         select SYS_I2C_MXC
87
88 config TARGET_TX6Q_EMMC
89         bool "TX6Q modules with eMMC (TX6Q-1036)"
90         select SOC_MX6Q
91         select SYS_I2C
92         select SYS_I2C_MXC
93         select TX6_EMMC
94
95 config TARGET_TX6S_NAND
96         bool "TX6S modules with NAND flash (TX6S-8034/TX6S-8134)"
97         select SOC_MX6S
98         select SYS_I2C
99         select SYS_I2C_MXC
100
101 config TARGET_TX6S_EMMC
102         bool "TX6S modules with eMMC (TX6S-8035/TX6S-8135)"
103         select SOC_MX6S
104         select SYS_I2C
105         select SYS_I2C_MXC
106         select TX6_EMMC
107
108 config TARGET_TX6U_NAND
109         bool "TX6U (i.MX6DL) modules with NAND flash (TX6U-8030/TX6U-8032)"
110         select SOC_MX6DL
111         select SYS_I2C
112         select SYS_I2C_MXC
113
114 config TARGET_TX6U_EMMC
115         bool "TX6U (i.MX6DL) modules with eMMC (TX6U-8033/TX6U-8133)"
116         select SOC_MX6DL
117         select SYS_I2C
118         select SYS_I2C_MXC
119         select TX6_EMMC
120
121 config TARGET_TX6UL_NAND
122         bool "TXUL (i.MX6UL) modules with NAND flash (TXUL-5010)"
123         select TX6UL
124
125 config TARGET_TX6UL_EMMC
126         bool "TXUL (i.MX6UL) modules with eMMC (TXUL-5011)"
127         select TX6UL
128         select TX6_EMMC
129
130 config TARGET_TX6QP_EMMC
131         bool "TX6Q modules with i.MX6Q+ and eMMC (TX6QP-8037)"
132         select SOC_MX6Q
133         select SYS_I2C
134         select SYS_I2C_MXC
135         select TX6_EMMC
136         select TX6QP
137
138 endchoice
139
140 choice
141         prompt "U-Boot image variant"
142         default TX6_UBOOT
143
144 config TX6_UBOOT
145         bool "Standard U-Boot image"
146
147 config TX6_UBOOT_MFG
148         bool "U-Boot image for use with Freescale's MfGTool"
149
150 config TX6_UBOOT_NOENV
151         bool "U-Boot using only built-in environment"
152         select UBOOT_IGNORE_ENV
153
154 endchoice
155
156 endif