Kconfig 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. if TARGET_COLIBRI_IMX6ULL
  2. choice
  3. prompt "Colibri iMX6ULL variant"
  4. optional
  5. config TARGET_COLIBRI_IMX6ULL_NAND
  6. bool "Support Colibri iMX6ULL 256MB / 512MB (raw NAND) modules"
  7. imply NAND_MXS
  8. help
  9. Choose this option if you build for a Toradex Colibri iMX6ULL
  10. 256MB or 512MB module which do have raw NAND on-module.
  11. config TARGET_COLIBRI_IMX6ULL_EMMC
  12. bool "Support Colibri iMX6ULL 1GB (eMMC) modules"
  13. help
  14. Choose this option if you build for a Toradex Colibri iMX6ULL
  15. 1GB module which does have eMMC on-module.
  16. endchoice
  17. config SYS_BOARD
  18. default "colibri-imx6ull"
  19. config SYS_VENDOR
  20. default "toradex"
  21. config SYS_CONFIG_NAME
  22. default "colibri-imx6ull-tezi-recovery" if (!TARGET_COLIBRI_IMX6ULL_NAND && !TARGET_COLIBRI_IMX6ULL_EMMC)
  23. config TDX_CFG_BLOCK
  24. default y
  25. if TARGET_COLIBRI_IMX6ULL_NAND
  26. config SYS_CONFIG_NAME
  27. default "colibri-imx6ull"
  28. config TDX_HAVE_NAND
  29. default y
  30. config TDX_CFG_BLOCK_OFFSET
  31. default "2048"
  32. config TDX_CFG_BLOCK_OFFSET2
  33. default "133120"
  34. endif
  35. if TARGET_COLIBRI_IMX6ULL_EMMC
  36. config SYS_CONFIG_NAME
  37. default "colibri-imx6ull"
  38. config TDX_HAVE_MMC
  39. default y
  40. config TDX_CFG_BLOCK_DEV
  41. default "0"
  42. config TDX_CFG_BLOCK_PART
  43. default "1"
  44. # Toradex config block in eMMC, at the end of 1st "boot sector"
  45. config TDX_CFG_BLOCK_OFFSET
  46. default "-512"
  47. endif
  48. config TDX_CFG_BLOCK_2ND_ETHADDR
  49. default y
  50. config IMX_CONFIG
  51. default "board/toradex/colibri-imx6ull/imximage.cfg"
  52. source "board/toradex/common/Kconfig"
  53. endif