arm: imx: initial support for apalis imx6
[oweals/u-boot.git] / board / toradex / apalis_imx6 / Kconfig
1 if TARGET_APALIS_IMX6
2
3 config SYS_BOARD
4         default "apalis_imx6"
5
6 config SYS_CONFIG_NAME
7         default "apalis_imx6"
8
9 config SYS_CPU
10         default "armv7"
11
12 config SYS_SOC
13         default "mx6"
14
15 config SYS_VENDOR
16         default "toradex"
17
18 config TDX_CFG_BLOCK
19         default y
20
21 config TDX_HAVE_MMC
22         default y
23
24 config TDX_CFG_BLOCK_DEV
25         default "0"
26
27 config TDX_CFG_BLOCK_PART
28         default "1"
29
30 # Toradex config block in eMMC, at the end of 1st "boot sector"
31 config TDX_CFG_BLOCK_OFFSET
32         default "-512"
33
34 config 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
42 config 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
53 source "board/toradex/common/Kconfig"
54
55 endif