Kconfig 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see Documentation/kbuild/kconfig-language.txt.
  4. #
  5. mainmenu "U-Boot $UBOOTVERSION Configuration"
  6. config UBOOTVERSION
  7. string
  8. option env="UBOOTVERSION"
  9. config KCONFIG_OBJDIR
  10. string
  11. option env="KCONFIG_OBJDIR"
  12. menu "General setup"
  13. config LOCALVERSION
  14. string "Local version - append to U-Boot release"
  15. depends on !SPL_BUILD
  16. help
  17. Append an extra string to the end of your U-Boot version.
  18. This will show up on your boot log, for example.
  19. The string you set here will be appended after the contents of
  20. any files with a filename matching localversion* in your
  21. object and source tree, in that order. Your total string can
  22. be a maximum of 64 characters.
  23. config LOCALVERSION_AUTO
  24. bool "Automatically append version information to the version string"
  25. depends on !SPL_BUILD
  26. default y
  27. help
  28. This will try to automatically determine if the current tree is a
  29. release tree by looking for git tags that belong to the current
  30. top of tree revision.
  31. A string of the format -gxxxxxxxx will be added to the localversion
  32. if a git-based tree is found. The string generated by this will be
  33. appended after any matching localversion* files, and after the value
  34. set in CONFIG_LOCALVERSION.
  35. (The actual string used here is the first eight characters produced
  36. by running the command:
  37. $ git rev-parse --verify HEAD
  38. which is done within the script "scripts/setlocalversion".)
  39. config CC_OPTIMIZE_FOR_SIZE
  40. bool "Optimize for size"
  41. depends on !SPL_BUILD
  42. default y
  43. help
  44. Enabling this option will pass "-Os" instead of "-O2" to gcc
  45. resulting in a smaller U-Boot image.
  46. This option is enabled by default for U-Boot.
  47. menuconfig EXPERT
  48. bool "Configure standard U-Boot features (expert users)"
  49. help
  50. This option allows certain base U-Boot options and settings
  51. to be disabled or tweaked. This is for specialized
  52. environments which can tolerate a "non-standard" U-Boot.
  53. Only use this if you really know what you are doing.
  54. endmenu # General setup
  55. menu "Boot images"
  56. config SPL_BUILD
  57. bool
  58. depends on $KCONFIG_OBJDIR="spl" || $KCONFIG_OBJDIR="tpl"
  59. default y
  60. config TPL_BUILD
  61. bool
  62. depends on $KCONFIG_OBJDIR="tpl"
  63. default y
  64. config SUPPORT_SPL
  65. bool
  66. config SUPPORT_TPL
  67. bool
  68. config SPL
  69. bool
  70. depends on SUPPORT_SPL
  71. prompt "Enable SPL" if !SPL_BUILD
  72. default y if SPL_BUILD
  73. help
  74. If you want to build SPL as well as the normal image, say Y.
  75. config TPL
  76. bool
  77. depends on SPL && SUPPORT_TPL
  78. prompt "Enable TPL" if !SPL_BUILD
  79. default y if TPL_BUILD
  80. default n
  81. help
  82. If you want to build TPL as well as the normal image and SPL, say Y.
  83. config FIT
  84. bool "Support Flattened Image Tree"
  85. depends on !SPL_BUILD
  86. help
  87. This option allows to boot the new uImage structrure,
  88. Flattened Image Tree. FIT is formally a FDT, which can include
  89. images of various types (kernel, FDT blob, ramdisk, etc.)
  90. in a single blob. To boot this new uImage structure,
  91. pass the the address of the blob to the "bootm" command.
  92. config FIT_VERBOSE
  93. bool "Display verbose messages on FIT boot"
  94. depends on FIT
  95. config FIT_SIGNATURE
  96. bool "Enabel signature verification of FIT uImages"
  97. depends on FIT
  98. help
  99. This option enables signature verification of FIT uImages,
  100. using a hash signed and verified using RSA.
  101. See doc/uImage.FIT/signature.txt for more details.
  102. config SYS_EXTRA_OPTIONS
  103. string "Extra Options (DEPRECATED)"
  104. depends on !SPL_BUILD
  105. help
  106. The old configuration infrastructure (= mkconfig + boards.cfg)
  107. provided the extra options field. If you have something like
  108. "HAS_BAR,BAZ=64", the optional options
  109. #define CONFIG_HAS
  110. #define CONFIG_BAZ 64
  111. will be defined in include/config.h.
  112. This option was prepared for the smooth migration from the old
  113. configuration to Kconfig. Since this option will be removed sometime,
  114. new boards should not use this option.
  115. config SYS_TEXT_BASE
  116. depends on SPARC
  117. hex "Text Base"
  118. help
  119. TODO: Move CONFIG_SYS_TEXT_BASE for all the architecture
  120. endmenu # Boot images
  121. source "arch/Kconfig"
  122. source "common/Kconfig"
  123. source "dts/Kconfig"
  124. source "net/Kconfig"
  125. source "drivers/Kconfig"
  126. source "fs/Kconfig"
  127. source "lib/Kconfig"