blob: 87c416ac2facf3bad19b4d97e5b632f3ccd4e9b0 [file] [log] [blame]
Stefan Agner41f75bb2016-07-20 21:27:49 -07001if TARGET_COLIBRI_IMX7
2
Stefan Agnercbd59fe2018-08-06 09:19:19 +02003choice
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
Stefan Agner41f75bb2016-07-20 21:27:49 -070022config 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
Marcel Ziswilerd92dee52016-11-16 17:49:23 +010038config TDX_CFG_BLOCK
39 default y
40
Stefan Agnercbd59fe2018-08-06 09:19:19 +020041config TDX_CFG_BLOCK_2ND_ETHADDR
42 default y
43
44if TARGET_COLIBRI_IMX7_NAND
45
Marcel Ziswilerd92dee52016-11-16 17:49:23 +010046config 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
Stefan Agnercbd59fe2018-08-06 09:19:19 +020055endif
56
57if TARGET_COLIBRI_IMX7_EMMC
58
59config TDX_HAVE_MMC
Marcel Ziswilerd92dee52016-11-16 17:49:23 +010060 default y
61
Stefan Agnercbd59fe2018-08-06 09:19:19 +020062config 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
Tom Rini57b93812021-08-24 20:41:00 -040074config IMX_CONFIG
75 default "board/toradex/colibri_imx7/imximage.cfg"
76
Marcel Ziswilerd92dee52016-11-16 17:49:23 +010077source "board/toradex/common/Kconfig"
Stefan Agner41f75bb2016-07-20 21:27:49 -070078
79endif