select MXC_OCOTP if CMD_FUSE
select OF_BOARD_SETUP
select OF_LIBFDT
+ select SYS_VSNPRINTF
config TX6_NAND
bool
select MMC
select SUPPORT_EMMC_BOOT
-config TX6UL
+config BOARD_TX6UL
bool
- select SOC_MX6UL
+ select SYS_I2C
+ select SYS_I2C_SOFT
select SYS_SDRAM_BUS_WIDTH_16
+ help
+ Common settings for TX6UL with i.MX6UL and i.MX6ULL.
+ Selected by TARGET_TX6UL_EMMC or TARGET_TX6UL_NAND.
config TX6QP
bool
choice
prompt "TX6 module variant"
-config TARGET_TX6Q_1020
- bool "TX6Q-1020"
+config TARGET_TX6Q_NAND
+ bool "TX6Q modules with NAND flash (TX6Q-1030/TX6Q-1130)"
select SOC_MX6Q
select SYS_I2C
select SYS_I2C_MXC
- select TX6_EMMC
-config TARGET_TX6Q_1036
- bool "TX6Q-1036"
+config TARGET_TX6Q_EMMC
+ bool "TX6Q modules with eMMC (TX6Q-1036)"
select SOC_MX6Q
select SYS_I2C
select SYS_I2C_MXC
select TX6_EMMC
-config TARGET_TX6Q_10X0
- bool "TX6Q-1010 and TX6Q-1030"
- select SOC_MX6Q
- select SYS_I2C
- select SYS_I2C_MXC
-
-config TARGET_TX6Q_11X0
- bool "TX6Q-1110 and TX6Q-1130"
- select SOC_MX6Q
- select SYS_I2C
- select SYS_I2C_MXC
- select SYS_LVDS_IF
-
-config TARGET_TX6S_8034
- bool "TX6S-8034"
+config TARGET_TX6S_NAND
+ bool "TX6S modules with NAND flash (TX6S-8034/TX6S-8134)"
select SOC_MX6S
select SYS_I2C
select SYS_I2C_MXC
- select SYS_SDRAM_BUS_WIDTH_16
-config TARGET_TX6S_8035
- bool "TX6S-8035"
+config TARGET_TX6S_EMMC
+ bool "TX6S modules with eMMC (TX6S-8035/TX6S-8135)"
select SOC_MX6S
select SYS_I2C
select SYS_I2C_MXC
- select SYS_SDRAM_BUS_WIDTH_32
select TX6_EMMC
-config TARGET_TX6U_8011
- bool "TX6U-8011"
- select SOC_MX6DL
- select SYS_I2C
- select SYS_I2C_MXC
- select SYS_SDRAM_BUS_WIDTH_32
-
-config TARGET_TX6U_8012
- bool "TX6U-8012"
+config TARGET_TX6U_NAND
+ bool "TX6U (i.MX6DL) modules with NAND flash (TX6U-8030/TX6U-8032)"
select SOC_MX6DL
select SYS_I2C
select SYS_I2C_MXC
-config TARGET_TX6U_8033
- bool "TX6U-8033"
+config TARGET_TX6U_EMMC
+ bool "TX6U (i.MX6DL) modules with eMMC (TX6U-8033/TX6U-8133)"
select SOC_MX6DL
select SYS_I2C
select SYS_I2C_MXC
select TX6_EMMC
-config TARGET_TX6U_80X0
- bool "TX6U-8010 and TX6U-8030"
- select SOC_MX6DL
- select SYS_I2C
- select SYS_I2C_MXC
+config TARGET_TX6UL_NAND
+ bool "TXUL (i.MX6UL) modules with NAND flash (TXUL-5010)"
+ select BOARD_TX6UL
-config TARGET_TX6U_8111
- bool "TX6U-8111"
- select SOC_MX6DL
- select SYS_I2C
- select SYS_I2C_MXC
- select SYS_LVDS_IF
- select SYS_SDRAM_BUS_WIDTH_32
-
-config TARGET_TX6U_81X0
- bool "TX6U-8110 and TX6U-8130"
- select SOC_MX6DL
- select SYS_I2C
- select SYS_I2C_MXC
- select SYS_LVDS_IF
-
-config TARGET_TX6UL_0010
- bool "TX6U-0010"
- select TX6UL
-
-config TARGET_TX6UL_0011
- bool "TX6U-0011"
- select TX6UL
+config TARGET_TX6UL_EMMC
+ bool "TXUL (i.MX6UL) modules with eMMC (TXUL-5011)"
+ select BOARD_TX6UL
select TX6_EMMC
-config TARGET_TX6QP_8037
- bool "TX6QP-8037"
+config TARGET_TX6QP_EMMC
+ bool "TX6Q modules with i.MX6Q+ and eMMC (TX6QP-8037)"
select SOC_MX6Q
select SYS_I2C
select SYS_I2C_MXC
endchoice
+if BOARD_TX6UL
+
+choice
+ prompt "TX6UL SOC variant"
+
+config TX6UL
+ bool "i.MX6UL"
+ select SOC_MX6UL
+
+config TX6ULL
+ bool "i.MX6ULL"
+ select SOC_MX6ULL
+
+endchoice
+
+endif
+
choice
prompt "U-Boot image variant"
default TX6_UBOOT