2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
5 mainmenu "U-Boot $UBOOTVERSION Configuration"
9 option env="UBOOTVERSION"
11 # Allow defaults in arch-specific code to override any given here
17 string "Local version - append to U-Boot release"
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.
27 config LOCALVERSION_AUTO
28 bool "Automatically append version information to the version string"
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
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.
41 (The actual string used here is the first eight characters produced
42 by running the command:
44 $ git rev-parse --verify HEAD
46 which is done within the script "scripts/setlocalversion".)
48 config CC_OPTIMIZE_FOR_SIZE
49 bool "Optimize for size"
53 Enabling this option will pass "-Os" instead of "-O2" to gcc
54 resulting in a smaller U-Boot image.
56 This option is enabled by default for U-Boot.
59 bool "Enable malloc() pool before relocation"
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.
67 config SYS_MALLOC_F_LEN
68 hex "Size of malloc() pool before relocation"
69 depends on SYS_MALLOC_F
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.
78 bool "Configure standard U-Boot features (expert users)"
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.
85 endmenu # General setup
97 depends on SUPPORT_SPL
98 prompt "Enable SPL" if !SPL_BUILD
99 default y if SPL_BUILD
101 If you want to build SPL as well as the normal image, say Y.
105 depends on SPL && SUPPORT_TPL
106 prompt "Enable TPL" if !SPL_BUILD
107 default y if TPL_BUILD
110 If you want to build TPL as well as the normal image and SPL, say Y.
113 bool "Support Flattened Image Tree"
114 depends on !SPL_BUILD
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.
123 bool "Display verbose messages on FIT boot"
127 bool "Enable signature verification of FIT uImages"
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.
136 config SYS_EXTRA_OPTIONS
137 string "Extra Options (DEPRECATED)"
138 depends on !SPL_BUILD
140 The old configuration infrastructure (= mkconfig + boards.cfg)
141 provided the extra options field. If you have something like
142 "HAS_BAR,BAZ=64", the optional options
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.
151 depends on SPARC || ARC
154 TODO: Move CONFIG_SYS_TEXT_BASE for all the architecture
158 int "CPU clock frequency"
160 TODO: Move CONFIG_SYS_CLK_FREQ for all the architecture
162 endmenu # Boot images
164 source "common/Kconfig"
170 source "drivers/Kconfig"
176 source "test/Kconfig"