]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/karo/tx6/Kconfig
karo: tx6: general cleanups
[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 CMD_BMP if LCD
19         select CMD_BOOTCE
20         select CMD_BOOTZ
21         select CMD_CACHE
22         select CMD_I2C if I2C
23         select CMD_MEMTEST
24         select CMD_MMC
25         select CMD_TIME
26         select DM
27         select DM_GPIO
28         select LIB_RAND
29         select PHYLIB
30         select SYS_I2C
31         select SYS_I2C_MXC
32         select GET_FEC_MAC_ADDR_FROM_IIM
33         select OF_BOARD_SETUP
34         select OF_LIBFDT
35
36 config TX6_NAND
37         bool
38         default ! TX6_EMMC
39         select CMD_NAND
40         select CMD_NAND_TRIMFFS
41         select CMD_MTDPARTS
42         select CMD_ROMUPDATE
43         select FDT_FIXUP_PARTITIONS if OF_LIBFDT
44         select MTD_PARTITIONS
45         select NAND
46         select NAND_MXS
47         select NAND_MXS_NO_BBM_SWAP
48         select SYS_NAND_USE_FLASH_BBT
49         select APBH_DMA
50         select APBH_DMA_BURST
51         select APBH_DMA_BURST8
52         select MTD_DEVICE
53
54 config TX6_EMMC
55         bool
56         select SUPPORT_EMMC_BOOT
57
58 #
59 # variables selected depending on module variant
60 #
61 config SYS_LVDS_IF
62         bool
63
64 config SYS_SDRAM_BUS_WIDTH_16
65         bool
66
67 config SYS_SDRAM_BUS_WIDTH_32
68         bool
69
70
71 choice
72         prompt "TX6 module variant"
73
74 config TARGET_TX6Q_10X0
75         bool "TX6Q-1010 and TX6Q-1030"
76         select SOC_MX6Q
77
78 config TARGET_TX6Q_1020
79         bool "TX6Q-1020"
80         select SOC_MX6Q
81         select TX6_EMMC
82
83 config TARGET_TX6Q_11X0
84         bool "TX6Q-1110 and TX6Q-1130"
85         select SOC_MX6Q
86         select SYS_LVDS_IF
87         
88 config TARGET_TX6S_8034
89         bool "TX6S-8034"
90         select SOC_MX6S
91         select SYS_SDRAM_BUS_WIDTH_16
92
93 config TARGET_TX6S_8035
94         bool "TX6S-8035"
95         select SOC_MX6S
96         select TX6_EMMC
97         select SYS_SDRAM_BUS_WIDTH_32
98
99 config TARGET_TX6U_80X0
100         bool "TX6U-8010 and TX6U-8030"
101         select SOC_MX6DL
102
103 config TARGET_TX6U_8011
104         bool "TX6U-8011"
105         select SOC_MX6DL
106         select SYS_SDRAM_BUS_WIDTH_32
107
108 config TARGET_TX6U_8012
109         bool "TX6U-8012"
110         select SOC_MX6DL
111
112 config TARGET_TX6U_81X0
113         bool "TX6U-8110 and TX6U-8130"
114         select SOC_MX6DL
115         select SYS_LVDS_IF
116
117 config TARGET_TX6U_8111
118         bool "TX6U-8111"
119         select SOC_MX6DL
120         select SYS_SDRAM_BUS_WIDTH_32
121         select SYS_LVDS_IF
122
123 config TARGET_TX6U_8033
124         bool "TX6U-8033"
125         select SOC_MX6DL
126         select TX6_EMMC
127
128 endchoice
129
130 choice
131         prompt "U-Boot image variant"
132         default TX6_UBOOT
133
134 config TX6_UBOOT
135         bool "Standard U-Boot image"
136
137 config TX6_UBOOT_MFG
138         bool "U-Boot image for use with Freescale's MfGTool"
139
140 config TX6_UBOOT_NOENV
141         bool "U-Boot using only built-in environment"
142
143 endchoice
144
145 endif