Config.in 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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 "3.9.3"
  18. config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT
  19. bool "Custom Git repository"
  20. help
  21. This option allows Buildroot to get the AT91 Bootstrap 3
  22. source code from a Git repository.
  23. config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL
  24. bool "Custom tarball"
  25. endchoice
  26. config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION
  27. string "URL of custom AT91Bootstrap tarball"
  28. depends on BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL
  29. if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT
  30. config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL
  31. string "URL of custom repository"
  32. config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION
  33. string "Custom repository version"
  34. help
  35. Revision to use in the typical format used by Git
  36. E.G. a sha id, a tag, branch, ..
  37. endif
  38. config BR2_TARGET_AT91BOOTSTRAP3_VERSION
  39. string
  40. default "v3.9.3" if BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION
  41. default BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION \
  42. if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT
  43. default "custom" if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL
  44. config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_PATCH_DIR
  45. string "custom patch dir"
  46. help
  47. If your board requires custom patches, add the path to the
  48. directory containing the patches here. The patches must be
  49. named at91bootstrap3-<something>.patch.
  50. Most users may leave this empty
  51. #
  52. # Configuration selection
  53. #
  54. choice
  55. prompt "AT91 Bootstrap 3 configuration"
  56. default BR2_TARGET_AT91BOOTSTRAP3_USE_DEFCONFIG
  57. config BR2_TARGET_AT91BOOTSTRAP3_USE_DEFCONFIG
  58. bool "Using a defconfig"
  59. config BR2_TARGET_AT91BOOTSTRAP3_USE_CUSTOM_CONFIG
  60. bool "Using a custom config file"
  61. endchoice
  62. config BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG
  63. string "Defconfig name"
  64. depends on BR2_TARGET_AT91BOOTSTRAP3_USE_DEFCONFIG
  65. help
  66. Name of the at91bootstrap3 defconfig file to use, without the
  67. trailing _defconfig. The defconfig is located at
  68. board/<processor>/<board>_defconfig in the at91bootstrap3
  69. tree.
  70. config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE
  71. string "Configuration file path"
  72. depends on BR2_TARGET_AT91BOOTSTRAP3_USE_CUSTOM_CONFIG
  73. help
  74. Path to the at91bootstrap3 configuration file
  75. endif # BR2_TARGET_AT91BOOTSTRAP3