1if TARGET_APALIS_IMX6
2
3config SYS_BOARD
4	default "apalis_imx6"
5
6config SYS_CONFIG_NAME
7	default "apalis_imx6"
8
9config SYS_CPU
10	default "armv7"
11
12config SYS_SOC
13	default "mx6"
14
15config SYS_VENDOR
16	default "toradex"
17
18config TDX_CFG_BLOCK
19	default y
20
21config TDX_HAVE_MMC
22	default y
23
24config TDX_CFG_BLOCK_DEV
25	default "0"
26
27config TDX_CFG_BLOCK_PART
28	default "1"
29
30# Toradex config block in eMMC, at the end of 1st "boot sector"
31config TDX_CFG_BLOCK_OFFSET
32	default "-512"
33
34config TDX_CMD_IMX_MFGR
35	bool "Enable factory testing commands for Toradex iMX 6 modules"
36	help
37	  This adds the commands
38	    pf0100_otp_prog - Program the OTP fuses on the PMIC PF0100
39	  If executed on already fused modules it doesn't change any fuse setting.
40	default y
41
42config TDX_APALIS_IMX6_V1_0
43	bool "Apalis iMX6 V1.0 HW"
44	help
45	  Apalis iMX6 V1.0 HW has a different pinout for the UART.
46	    The UARTs must be used in DCE mode, RTS/CTS are swapped and
47	    thus unusable on standard carrier boards.
48	    This option configures DCE mode unconditionally. Whithout this
49	    option the config block stating V1.0 HW selects DCE mode,
50	    otherwise the UARTs are configuered in DTE mode.
51	default n
52
53source "board/toradex/common/Kconfig"
54
55endif
56