Config.in 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. config BR2_TARGET_AT91BOOTSTRAP3
  2. bool "AT91 Bootstrap 3+"
  3. depends on BR2_arm926t || BR2_cortex_a5 || BR2_cortex_a7
  4. help
  5. AT91Bootstrap is a first level bootloader for the Atmel AT91
  6. devices. It integrates algorithms for:
  7. - Device initialization such as clock configuration, PIO
  8. settings...
  9. - Peripheral drivers such as PIO, PMC or SDRAMC...
  10. - Physical media algorithm such as DataFlash, NandFlash, NOR
  11. Flash...
  12. https://www.at91.com/linux4sam/bin/view/Linux4SAM/AT91Bootstrap
  13. if BR2_TARGET_AT91BOOTSTRAP3
  14. choice
  15. prompt "AT91 Bootstrap 3+ version"
  16. config BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION
  17. bool "4.0.0"
  18. config BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION_3X
  19. bool "3.10.3"
  20. config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT
  21. bool "Custom Git repository"
  22. help
  23. This option allows Buildroot to get the AT91 Bootstrap 3
  24. source code from a Git repository.
  25. config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL
  26. bool "Custom tarball"
  27. endchoice
  28. config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION
  29. string "URL of custom AT91Bootstrap tarball"
  30. depends on BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL
  31. if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT
  32. config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL
  33. string "URL of custom repository"
  34. config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION
  35. string "Custom repository version"
  36. help
  37. Revision to use in the typical format used by Git
  38. E.G. a sha id, a tag, branch, ..
  39. endif
  40. config BR2_TARGET_AT91BOOTSTRAP3_VERSION
  41. string
  42. default "v4.0.0" if BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION
  43. default "v3.10.3" if BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION_3X
  44. default BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION \
  45. if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT
  46. default "custom" if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL
  47. config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_PATCH_DIR
  48. string "custom patch dir"
  49. help
  50. If your board requires custom patches, add the path to the
  51. directory containing the patches here. The patches must be
  52. named at91bootstrap3-<something>.patch.
  53. Most users may leave this empty
  54. #
  55. # Configuration selection
  56. #
  57. choice
  58. prompt "AT91 Bootstrap 3 configuration"
  59. default BR2_TARGET_AT91BOOTSTRAP3_USE_DEFCONFIG
  60. config BR2_TARGET_AT91BOOTSTRAP3_USE_DEFCONFIG
  61. bool "Using a defconfig"
  62. config BR2_TARGET_AT91BOOTSTRAP3_USE_CUSTOM_CONFIG
  63. bool "Using a custom config file"
  64. endchoice
  65. config BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG
  66. string "Defconfig name"
  67. depends on BR2_TARGET_AT91BOOTSTRAP3_USE_DEFCONFIG
  68. help
  69. Name of the at91bootstrap3 defconfig file to use, without the
  70. trailing _defconfig. The defconfig is located at
  71. board/<processor>/<board>_defconfig in the at91bootstrap3
  72. tree.
  73. config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE
  74. string "Configuration file path"
  75. depends on BR2_TARGET_AT91BOOTSTRAP3_USE_CUSTOM_CONFIG
  76. help
  77. Path to the at91bootstrap3 configuration file
  78. config BR2_TARGET_AT91BOOTSTRAP3_NEEDS_PYTHON3
  79. bool "needs host-python3"
  80. help
  81. Enable this option if the at91bootstrap build process needs
  82. Python 3.x to be available on the host. This is needed in
  83. some at91bootstrap configurations to use NAND/PMECC Python
  84. scripts.
  85. endif # BR2_TARGET_AT91BOOTSTRAP3