Masahiro Yamada | 5163125 | 2014-07-30 14:08:15 +0900 | [diff] [blame] | 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 | |
| 7 | config UBOOTVERSION |
| 8 | string |
| 9 | option env="UBOOTVERSION" |
| 10 | |
Simon Glass | 66afaef | 2015-02-24 22:26:19 +0900 | [diff] [blame] | 11 | # Allow defaults in arch-specific code to override any given here |
| 12 | source "arch/Kconfig" |
| 13 | |
Masahiro Yamada | 5163125 | 2014-07-30 14:08:15 +0900 | [diff] [blame] | 14 | menu "General setup" |
| 15 | |
Masahiro Yamada | e91c3c3 | 2014-08-22 19:42:27 +0900 | [diff] [blame] | 16 | config LOCALVERSION |
| 17 | string "Local version - append to U-Boot release" |
| 18 | depends on !SPL_BUILD |
| 19 | help |
| 20 | Append an extra string to the end of your U-Boot version. |
| 21 | This will show up on your boot log, for example. |
| 22 | The string you set here will be appended after the contents of |
| 23 | any files with a filename matching localversion* in your |
| 24 | object and source tree, in that order. Your total string can |
| 25 | be a maximum of 64 characters. |
| 26 | |
| 27 | config LOCALVERSION_AUTO |
| 28 | bool "Automatically append version information to the version string" |
| 29 | depends on !SPL_BUILD |
| 30 | default y |
| 31 | help |
| 32 | This will try to automatically determine if the current tree is a |
| 33 | release tree by looking for git tags that belong to the current |
| 34 | top of tree revision. |
| 35 | |
| 36 | A string of the format -gxxxxxxxx will be added to the localversion |
| 37 | if a git-based tree is found. The string generated by this will be |
| 38 | appended after any matching localversion* files, and after the value |
| 39 | set in CONFIG_LOCALVERSION. |
| 40 | |
| 41 | (The actual string used here is the first eight characters produced |
| 42 | by running the command: |
| 43 | |
| 44 | $ git rev-parse --verify HEAD |
| 45 | |
| 46 | which is done within the script "scripts/setlocalversion".) |
| 47 | |
Masahiro Yamada | 4a8ed8e | 2014-08-22 19:42:29 +0900 | [diff] [blame] | 48 | config CC_OPTIMIZE_FOR_SIZE |
| 49 | bool "Optimize for size" |
| 50 | depends on !SPL_BUILD |
| 51 | default y |
| 52 | help |
| 53 | Enabling this option will pass "-Os" instead of "-O2" to gcc |
| 54 | resulting in a smaller U-Boot image. |
| 55 | |
| 56 | This option is enabled by default for U-Boot. |
| 57 | |
Simon Glass | b724bd7 | 2015-02-11 16:32:59 -0700 | [diff] [blame] | 58 | config SYS_MALLOC_F |
| 59 | bool "Enable malloc() pool before relocation" |
| 60 | default 0x400 |
| 61 | help |
| 62 | Before relocation memory is very limited on many platforms. Still, |
| 63 | we can provide a small malloc() pool if needed. Driver model in |
| 64 | particular needs this to operate, so that it can allocate the |
| 65 | initial serial device and any others that are needed. |
| 66 | |
| 67 | config SYS_MALLOC_F_LEN |
| 68 | hex "Size of malloc() pool before relocation" |
| 69 | depends on SYS_MALLOC_F |
| 70 | default 0x400 |
| 71 | help |
| 72 | Before relocation memory is very limited on many platforms. Still, |
| 73 | we can provide a small malloc() pool if needed. Driver model in |
| 74 | particular needs this to operate, so that it can allocate the |
| 75 | initial serial device and any others that are needed. |
| 76 | |
Tom Rini | 1bf0979 | 2014-11-14 09:34:29 +0100 | [diff] [blame] | 77 | menuconfig EXPERT |
| 78 | bool "Configure standard U-Boot features (expert users)" |
| 79 | help |
| 80 | This option allows certain base U-Boot options and settings |
| 81 | to be disabled or tweaked. This is for specialized |
| 82 | environments which can tolerate a "non-standard" U-Boot. |
| 83 | Only use this if you really know what you are doing. |
| 84 | |
Masahiro Yamada | 40ad4c4 | 2014-11-26 18:42:31 +0900 | [diff] [blame] | 85 | endmenu # General setup |
| 86 | |
Masahiro Yamada | e91c3c3 | 2014-08-22 19:42:27 +0900 | [diff] [blame] | 87 | menu "Boot images" |
| 88 | |
Masahiro Yamada | 0262735 | 2014-10-20 17:45:56 +0900 | [diff] [blame] | 89 | config SUPPORT_SPL |
| 90 | bool |
| 91 | |
Masahiro Yamada | cf6bbe4 | 2014-10-20 17:45:57 +0900 | [diff] [blame] | 92 | config SUPPORT_TPL |
| 93 | bool |
| 94 | |
Masahiro Yamada | 5163125 | 2014-07-30 14:08:15 +0900 | [diff] [blame] | 95 | config SPL |
| 96 | bool |
Masahiro Yamada | 0262735 | 2014-10-20 17:45:56 +0900 | [diff] [blame] | 97 | depends on SUPPORT_SPL |
Masahiro Yamada | 5163125 | 2014-07-30 14:08:15 +0900 | [diff] [blame] | 98 | prompt "Enable SPL" if !SPL_BUILD |
| 99 | default y if SPL_BUILD |
| 100 | help |
| 101 | If you want to build SPL as well as the normal image, say Y. |
| 102 | |
| 103 | config TPL |
| 104 | bool |
Masahiro Yamada | cf6bbe4 | 2014-10-20 17:45:57 +0900 | [diff] [blame] | 105 | depends on SPL && SUPPORT_TPL |
Masahiro Yamada | 5163125 | 2014-07-30 14:08:15 +0900 | [diff] [blame] | 106 | prompt "Enable TPL" if !SPL_BUILD |
| 107 | default y if TPL_BUILD |
| 108 | default n |
| 109 | help |
| 110 | If you want to build TPL as well as the normal image and SPL, say Y. |
| 111 | |
Masahiro Yamada | b6cf443 | 2014-11-13 19:29:06 +0900 | [diff] [blame] | 112 | config FIT |
| 113 | bool "Support Flattened Image Tree" |
| 114 | depends on !SPL_BUILD |
| 115 | help |
| 116 | This option allows to boot the new uImage structrure, |
| 117 | Flattened Image Tree. FIT is formally a FDT, which can include |
| 118 | images of various types (kernel, FDT blob, ramdisk, etc.) |
| 119 | in a single blob. To boot this new uImage structure, |
| 120 | pass the the address of the blob to the "bootm" command. |
| 121 | |
| 122 | config FIT_VERBOSE |
| 123 | bool "Display verbose messages on FIT boot" |
| 124 | depends on FIT |
| 125 | |
| 126 | config FIT_SIGNATURE |
Ruchika Gupta | c4beb22 | 2015-01-23 16:01:51 +0530 | [diff] [blame] | 127 | bool "Enable signature verification of FIT uImages" |
Masahiro Yamada | b6cf443 | 2014-11-13 19:29:06 +0900 | [diff] [blame] | 128 | depends on FIT |
Chris Kuethe | 9009798 | 2015-02-04 19:16:14 -0800 | [diff] [blame] | 129 | depends on DM |
Ruchika Gupta | c4beb22 | 2015-01-23 16:01:51 +0530 | [diff] [blame] | 130 | select RSA |
Masahiro Yamada | b6cf443 | 2014-11-13 19:29:06 +0900 | [diff] [blame] | 131 | help |
| 132 | This option enables signature verification of FIT uImages, |
| 133 | using a hash signed and verified using RSA. |
| 134 | See doc/uImage.FIT/signature.txt for more details. |
| 135 | |
Masahiro Yamada | 5163125 | 2014-07-30 14:08:15 +0900 | [diff] [blame] | 136 | config SYS_EXTRA_OPTIONS |
| 137 | string "Extra Options (DEPRECATED)" |
| 138 | depends on !SPL_BUILD |
| 139 | help |
| 140 | The old configuration infrastructure (= mkconfig + boards.cfg) |
Masahiro Yamada | ed36323 | 2014-09-16 16:32:58 +0900 | [diff] [blame] | 141 | provided the extra options field. If you have something like |
Masahiro Yamada | 5163125 | 2014-07-30 14:08:15 +0900 | [diff] [blame] | 142 | "HAS_BAR,BAZ=64", the optional options |
| 143 | #define CONFIG_HAS |
| 144 | #define CONFIG_BAZ 64 |
| 145 | will be defined in include/config.h. |
| 146 | This option was prepared for the smooth migration from the old |
| 147 | configuration to Kconfig. Since this option will be removed sometime, |
| 148 | new boards should not use this option. |
| 149 | |
Masahiro Yamada | 7f7563c | 2014-10-30 15:30:58 +0900 | [diff] [blame] | 150 | config SYS_TEXT_BASE |
Alexey Brodkin | 836d2cc | 2015-02-03 13:58:18 +0300 | [diff] [blame] | 151 | depends on SPARC || ARC |
Masahiro Yamada | 7f7563c | 2014-10-30 15:30:58 +0900 | [diff] [blame] | 152 | hex "Text Base" |
| 153 | help |
| 154 | TODO: Move CONFIG_SYS_TEXT_BASE for all the architecture |
| 155 | |
Alexey Brodkin | 33d8818 | 2015-01-13 18:49:01 +0300 | [diff] [blame] | 156 | config SYS_CLK_FREQ |
| 157 | depends on ARC |
| 158 | int "CPU clock frequency" |
| 159 | help |
| 160 | TODO: Move CONFIG_SYS_CLK_FREQ for all the architecture |
| 161 | |
Masahiro Yamada | e91c3c3 | 2014-08-22 19:42:27 +0900 | [diff] [blame] | 162 | endmenu # Boot images |
Masahiro Yamada | 5163125 | 2014-07-30 14:08:15 +0900 | [diff] [blame] | 163 | |
Masahiro Yamada | ed36323 | 2014-09-16 16:32:58 +0900 | [diff] [blame] | 164 | source "common/Kconfig" |
| 165 | |
Masahiro Yamada | 783e6a7 | 2014-09-22 19:59:05 +0900 | [diff] [blame] | 166 | source "dts/Kconfig" |
| 167 | |
Masahiro Yamada | ed36323 | 2014-09-16 16:32:58 +0900 | [diff] [blame] | 168 | source "net/Kconfig" |
| 169 | |
| 170 | source "drivers/Kconfig" |
| 171 | |
| 172 | source "fs/Kconfig" |
| 173 | |
| 174 | source "lib/Kconfig" |
Simon Glass | 1967982 | 2015-02-05 21:41:37 -0700 | [diff] [blame] | 175 | |
| 176 | source "test/Kconfig" |