summaryrefslogtreecommitdiff
path: root/board/toradex/colibri_imx7/Kconfig
blob: e958c35e84e3d7df96b1ce1f12b1cc0269658459 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
if TARGET_COLIBRI_IMX7

choice
	prompt "Colibri iMX7S/D variant"

config TARGET_COLIBRI_IMX7_NAND
	bool "Support Colibri iMX7 Solo 256MB/Dual 512MB (raw NAND) modules"

config TARGET_COLIBRI_IMX7_EMMC
	bool "Support Colibri iMX7 Dual 1GB (eMMC) modules"

endchoice

config SYS_BOARD
	default "colibri_imx7"

config SYS_VENDOR
	default "toradex"

config COLIBRI_IMX7_EXT_PHYCLK
	bool "External oscillator for Ethernet PHY clock provided"
	help
	  Select this if your module provides a external Ethernet PHY
	  clock source.
	default y

config TDX_CFG_BLOCK
	default y

config TDX_CFG_BLOCK_2ND_ETHADDR
	default y

if TARGET_COLIBRI_IMX7_NAND

config SYS_CONFIG_NAME
	default "colibri_imx7"

config TDX_HAVE_NAND
	default y

config TDX_CFG_BLOCK_OFFSET
	default "2048"

config TDX_CFG_BLOCK_OFFSET2
	default "133120"

endif

if TARGET_COLIBRI_IMX7_EMMC

config SYS_CONFIG_NAME
	default "colibri_imx7_emmc"

config TDX_HAVE_MMC
	default y

config TDX_CFG_BLOCK_DEV
	default "0"

config TDX_CFG_BLOCK_PART
	default "1"

# Toradex config block in eMMC, at the end of 1st "boot sector"
config TDX_CFG_BLOCK_OFFSET
	default "-512"

endif

source "board/toradex/common/Kconfig"

endif