Kconfig 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  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. # Allow defaults in arch-specific code to override any given here
  10. source "arch/Kconfig"
  11. menu "General setup"
  12. config LOCALVERSION
  13. string "Local version - append to U-Boot release"
  14. help
  15. Append an extra string to the end of your U-Boot version.
  16. This will show up on your boot log, for example.
  17. The string you set here will be appended after the contents of
  18. any files with a filename matching localversion* in your
  19. object and source tree, in that order. Your total string can
  20. be a maximum of 64 characters.
  21. config LOCALVERSION_AUTO
  22. bool "Automatically append version information to the version string"
  23. default y
  24. help
  25. This will try to automatically determine if the current tree is a
  26. release tree by looking for git tags that belong to the current
  27. top of tree revision.
  28. A string of the format -gxxxxxxxx will be added to the localversion
  29. if a git-based tree is found. The string generated by this will be
  30. appended after any matching localversion* files, and after the value
  31. set in CONFIG_LOCALVERSION.
  32. (The actual string used here is the first eight characters produced
  33. by running the command:
  34. $ git rev-parse --verify HEAD
  35. which is done within the script "scripts/setlocalversion".)
  36. config CC_OPTIMIZE_FOR_SIZE
  37. bool "Optimize for size"
  38. default y
  39. help
  40. Enabling this option will pass "-Os" instead of "-O2" to gcc
  41. resulting in a smaller U-Boot image.
  42. This option is enabled by default for U-Boot.
  43. config SYS_MALLOC_F
  44. bool "Enable malloc() pool before relocation"
  45. default 0x400
  46. help
  47. Before relocation memory is very limited on many platforms. Still,
  48. we can provide a small malloc() pool if needed. Driver model in
  49. particular needs this to operate, so that it can allocate the
  50. initial serial device and any others that are needed.
  51. config SYS_MALLOC_F_LEN
  52. hex "Size of malloc() pool before relocation"
  53. depends on SYS_MALLOC_F
  54. default 0x400
  55. help
  56. Before relocation memory is very limited on many platforms. Still,
  57. we can provide a small malloc() pool if needed. Driver model in
  58. particular needs this to operate, so that it can allocate the
  59. initial serial device and any others that are needed.
  60. menuconfig EXPERT
  61. bool "Configure standard U-Boot features (expert users)"
  62. help
  63. This option allows certain base U-Boot options and settings
  64. to be disabled or tweaked. This is for specialized
  65. environments which can tolerate a "non-standard" U-Boot.
  66. Only use this if you really know what you are doing.
  67. endmenu # General setup
  68. menu "Boot images"
  69. config SUPPORT_SPL
  70. bool
  71. config SUPPORT_TPL
  72. bool
  73. config SPL
  74. bool
  75. depends on SUPPORT_SPL
  76. prompt "Enable SPL"
  77. help
  78. If you want to build SPL as well as the normal image, say Y.
  79. config TPL
  80. bool
  81. depends on SPL && SUPPORT_TPL
  82. prompt "Enable TPL"
  83. help
  84. If you want to build TPL as well as the normal image and SPL, say Y.
  85. config FIT
  86. bool "Support Flattened Image Tree"
  87. help
  88. This option allows to boot the new uImage structrure,
  89. Flattened Image Tree. FIT is formally a FDT, which can include
  90. images of various types (kernel, FDT blob, ramdisk, etc.)
  91. in a single blob. To boot this new uImage structure,
  92. pass the the address of the blob to the "bootm" command.
  93. config FIT_VERBOSE
  94. bool "Display verbose messages on FIT boot"
  95. depends on FIT
  96. config FIT_SIGNATURE
  97. bool "Enable signature verification of FIT uImages"
  98. depends on FIT
  99. depends on DM
  100. select RSA
  101. help
  102. This option enables signature verification of FIT uImages,
  103. using a hash signed and verified using RSA. If
  104. CONFIG_SHA_PROG_HW_ACCEL is defined, i.e support for progressive
  105. hashing is available using hardware, RSA library will use it.
  106. See doc/uImage.FIT/signature.txt for more details.
  107. config SYS_EXTRA_OPTIONS
  108. string "Extra Options (DEPRECATED)"
  109. help
  110. The old configuration infrastructure (= mkconfig + boards.cfg)
  111. provided the extra options field. If you have something like
  112. "HAS_BAR,BAZ=64", the optional options
  113. #define CONFIG_HAS
  114. #define CONFIG_BAZ 64
  115. will be defined in include/config.h.
  116. This option was prepared for the smooth migration from the old
  117. configuration to Kconfig. Since this option will be removed sometime,
  118. new boards should not use this option.
  119. config SYS_TEXT_BASE
  120. depends on SPARC || ARC
  121. hex "Text Base"
  122. help
  123. TODO: Move CONFIG_SYS_TEXT_BASE for all the architecture
  124. config SYS_CLK_FREQ
  125. depends on ARC
  126. int "CPU clock frequency"
  127. help
  128. TODO: Move CONFIG_SYS_CLK_FREQ for all the architecture
  129. endmenu # Boot images
  130. source "common/Kconfig"
  131. source "dts/Kconfig"
  132. source "net/Kconfig"
  133. source "drivers/Kconfig"
  134. source "fs/Kconfig"
  135. source "lib/Kconfig"
  136. source "test/Kconfig"