2018-05-30 17:01:48 +00:00
|
|
|
if TARGET_COLIBRI_IMX6ULL
|
|
|
|
|
2021-10-06 16:55:36 +00:00
|
|
|
choice
|
|
|
|
prompt "Colibri iMX6ULL variant"
|
|
|
|
optional
|
|
|
|
|
|
|
|
config TARGET_COLIBRI_IMX6ULL_NAND
|
|
|
|
bool "Support Colibri iMX6ULL 256MB / 512MB (raw NAND) modules"
|
|
|
|
imply NAND_MXS
|
|
|
|
help
|
|
|
|
Choose this option if you build for a Toradex Colibri iMX6ULL
|
|
|
|
256MB or 512MB module which do have raw NAND on-module.
|
|
|
|
|
|
|
|
config TARGET_COLIBRI_IMX6ULL_EMMC
|
|
|
|
bool "Support Colibri iMX6ULL 1GB (eMMC) modules"
|
|
|
|
help
|
|
|
|
Choose this option if you build for a Toradex Colibri iMX6ULL
|
|
|
|
1GB module which does have eMMC on-module.
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2018-05-30 17:01:48 +00:00
|
|
|
config SYS_BOARD
|
|
|
|
default "colibri-imx6ull"
|
|
|
|
|
|
|
|
config SYS_VENDOR
|
|
|
|
default "toradex"
|
|
|
|
|
|
|
|
config SYS_CONFIG_NAME
|
2021-10-06 16:55:36 +00:00
|
|
|
default "colibri-imx6ull-tezi-recovery" if (!TARGET_COLIBRI_IMX6ULL_NAND && !TARGET_COLIBRI_IMX6ULL_EMMC)
|
2018-05-30 17:01:48 +00:00
|
|
|
|
|
|
|
config TDX_CFG_BLOCK
|
|
|
|
default y
|
|
|
|
|
2021-10-06 16:55:36 +00:00
|
|
|
if TARGET_COLIBRI_IMX6ULL_NAND
|
|
|
|
|
|
|
|
config SYS_CONFIG_NAME
|
|
|
|
default "colibri-imx6ull"
|
|
|
|
|
2018-05-30 17:01:48 +00:00
|
|
|
config TDX_HAVE_NAND
|
|
|
|
default y
|
|
|
|
|
|
|
|
config TDX_CFG_BLOCK_OFFSET
|
|
|
|
default "2048"
|
|
|
|
|
|
|
|
config TDX_CFG_BLOCK_OFFSET2
|
|
|
|
default "133120"
|
|
|
|
|
2021-10-06 16:55:36 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
if TARGET_COLIBRI_IMX6ULL_EMMC
|
|
|
|
|
|
|
|
config SYS_CONFIG_NAME
|
|
|
|
default "colibri-imx6ull"
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2018-05-30 17:01:48 +00:00
|
|
|
config TDX_CFG_BLOCK_2ND_ETHADDR
|
|
|
|
default y
|
|
|
|
|
2021-08-25 00:41:00 +00:00
|
|
|
config IMX_CONFIG
|
|
|
|
default "board/toradex/colibri-imx6ull/imximage.cfg"
|
|
|
|
|
2018-05-30 17:01:48 +00:00
|
|
|
source "board/toradex/common/Kconfig"
|
|
|
|
|
|
|
|
endif
|