2016-07-21 04:27:49 +00:00
|
|
|
if TARGET_COLIBRI_IMX7
|
|
|
|
|
2018-08-06 07:19:19 +00:00
|
|
|
choice
|
|
|
|
prompt "Colibri iMX7S/D variant"
|
|
|
|
|
|
|
|
config TARGET_COLIBRI_IMX7_NAND
|
|
|
|
bool "Support Colibri iMX7 Solo 256MB/Dual 512MB (raw NAND) modules"
|
|
|
|
imply NAND_MXS
|
|
|
|
help
|
|
|
|
Choose this option if you build for a Toradex Colibri iMX7S
|
|
|
|
256MB or Colibri iMX7D 512MB module which do have raw NAND
|
|
|
|
on-module.
|
|
|
|
|
|
|
|
config TARGET_COLIBRI_IMX7_EMMC
|
|
|
|
bool "Support Colibri iMX7 Dual 1GB (eMMC) modules"
|
|
|
|
help
|
|
|
|
Choose this option if you build for a Toradex Colibri iMX7D
|
|
|
|
1GB module which does have eMMC on-module.
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2016-07-21 04:27:49 +00:00
|
|
|
config SYS_BOARD
|
|
|
|
default "colibri_imx7"
|
|
|
|
|
|
|
|
config SYS_VENDOR
|
|
|
|
default "toradex"
|
|
|
|
|
|
|
|
config SYS_CONFIG_NAME
|
|
|
|
default "colibri_imx7"
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2016-11-16 16:49:23 +00:00
|
|
|
config TDX_CFG_BLOCK
|
|
|
|
default y
|
|
|
|
|
2018-08-06 07:19:19 +00:00
|
|
|
config TDX_CFG_BLOCK_2ND_ETHADDR
|
|
|
|
default y
|
|
|
|
|
|
|
|
if TARGET_COLIBRI_IMX7_NAND
|
|
|
|
|
2016-11-16 16:49:23 +00:00
|
|
|
config TDX_HAVE_NAND
|
|
|
|
default y
|
|
|
|
|
|
|
|
config TDX_CFG_BLOCK_OFFSET
|
|
|
|
default "2048"
|
|
|
|
|
|
|
|
config TDX_CFG_BLOCK_OFFSET2
|
|
|
|
default "133120"
|
|
|
|
|
2018-08-06 07:19:19 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
if TARGET_COLIBRI_IMX7_EMMC
|
|
|
|
|
|
|
|
config TDX_HAVE_MMC
|
2016-11-16 16:49:23 +00:00
|
|
|
default y
|
|
|
|
|
2018-08-06 07:19:19 +00:00
|
|
|
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
|
|
|
|
|
2021-08-25 00:41:00 +00:00
|
|
|
config IMX_CONFIG
|
|
|
|
default "board/toradex/colibri_imx7/imximage.cfg"
|
|
|
|
|
2016-11-16 16:49:23 +00:00
|
|
|
source "board/toradex/common/Kconfig"
|
2016-07-21 04:27:49 +00:00
|
|
|
|
|
|
|
endif
|