1if TARGET_COLIBRI_IMX7
2
3choice
4	prompt "Colibri iMX7S/D variant"
5
6config TARGET_COLIBRI_IMX7_NAND
7	bool "Support Colibri iMX7 Solo 256MB/Dual 512MB (raw NAND) modules"
8	imply NAND_MXS
9	help
10	  Choose this option if you build for a Toradex Colibri iMX7S
11	  256MB or Colibri iMX7D 512MB module which do have raw NAND
12	  on-module.
13
14config TARGET_COLIBRI_IMX7_EMMC
15	bool "Support Colibri iMX7 Dual 1GB (eMMC) modules"
16	help
17	  Choose this option if you build for a Toradex Colibri iMX7D
18	  1GB module which does have eMMC on-module.
19
20endchoice
21
22config SYS_BOARD
23	default "colibri_imx7"
24
25config SYS_VENDOR
26	default "toradex"
27
28config SYS_CONFIG_NAME
29	default "colibri_imx7"
30
31config COLIBRI_IMX7_EXT_PHYCLK
32	bool "External oscillator for Ethernet PHY clock provided"
33	help
34	  Select this if your module provides a external Ethernet PHY
35	  clock source.
36	default y
37
38config TDX_CFG_BLOCK
39	default y
40
41config TDX_CFG_BLOCK_2ND_ETHADDR
42	default y
43
44if TARGET_COLIBRI_IMX7_NAND
45
46config TDX_HAVE_NAND
47	default y
48
49config TDX_CFG_BLOCK_OFFSET
50	default "2048"
51
52config TDX_CFG_BLOCK_OFFSET2
53	default "133120"
54
55endif
56
57if TARGET_COLIBRI_IMX7_EMMC
58
59config TDX_HAVE_MMC
60	default y
61
62config TDX_CFG_BLOCK_DEV
63	default "0"
64
65config TDX_CFG_BLOCK_PART
66	default "1"
67
68# Toradex config block in eMMC, at the end of 1st "boot sector"
69config TDX_CFG_BLOCK_OFFSET
70	default "-512"
71
72endif
73
74source "board/toradex/common/Kconfig"
75
76endif
77