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