Config.in 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. config BR2_TARGET_TI_K3_R5_LOADER
  2. bool "ti-k3-r5-loader"
  3. depends on BR2_aarch64
  4. help
  5. Separate U-Boot SPL build for R5 core on TI's K3 processors.
  6. Usually used to build tiboot3.bin with k3-image-gen.
  7. if BR2_TARGET_TI_K3_R5_LOADER
  8. choice
  9. prompt "U-Boot Version"
  10. help
  11. Select the specific U-Boot version you want to use to build
  12. the initial SPL running on the R5 core. Note that for most
  13. use cases you will want to use the exact same version/source
  14. here as it is used to build the main U-Boot package.
  15. config BR2_TARGET_TI_K3_R5_LOADER_LATEST_VERSION
  16. bool "2022.10"
  17. config BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION
  18. bool "Custom version"
  19. help
  20. This option allows to use a specific official versions
  21. config BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_TARBALL
  22. bool "Custom tarball"
  23. config BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_GIT
  24. bool "Custom Git repository"
  25. config BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_HG
  26. bool "Custom Mercurial repository"
  27. config BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_SVN
  28. bool "Custom Subversion repository"
  29. endchoice
  30. config BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION_VALUE
  31. string "U-Boot version"
  32. depends on BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION
  33. config BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_TARBALL_LOCATION
  34. string "URL of custom U-Boot tarball"
  35. depends on BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_TARBALL
  36. if BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_GIT || BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_HG || BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_SVN
  37. config BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_REPO_URL
  38. string "URL of custom repository"
  39. config BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_REPO_VERSION
  40. string "Custom repository version"
  41. help
  42. Revision to use in the typical format used by
  43. Git/Mercurial/Subversion E.G. a sha id, a tag, branch, ..
  44. endif
  45. config BR2_TARGET_TI_K3_R5_LOADER_VERSION
  46. string
  47. default "2022.10" if BR2_TARGET_TI_K3_R5_LOADER_LATEST_VERSION
  48. default BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION_VALUE \
  49. if BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION
  50. default "custom" if BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_TARBALL
  51. default BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_REPO_VERSION \
  52. if BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_GIT || \
  53. BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_HG || \
  54. BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_SVN
  55. choice
  56. prompt "U-Boot Configuration"
  57. default BR2_TARGET_TI_K3_R5_LOADER_USE_DEFCONFIG
  58. config BR2_TARGET_TI_K3_R5_LOADER_USE_DEFCONFIG
  59. bool "Using an in-tree board defconfig file"
  60. config BR2_TARGET_TI_K3_R5_LOADER_USE_CUSTOM_CONFIG
  61. bool "Using a custom board (def)config file"
  62. endchoice
  63. config BR2_TARGET_TI_K3_R5_LOADER_BOARD_DEFCONFIG
  64. string "Board defconfig"
  65. depends on BR2_TARGET_TI_K3_R5_LOADER_USE_DEFCONFIG
  66. help
  67. Name of the board for which TI K3 R5 Loader should be
  68. built, without the _defconfig suffix.
  69. config BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_CONFIG_FILE
  70. string "Configuration file path"
  71. depends on BR2_TARGET_TI_K3_R5_LOADER_USE_CUSTOM_CONFIG
  72. help
  73. Path to the TI K3 R5 Loader configuration file.
  74. endif