]> git.ipfire.org Git - people/ms/u-boot.git/blame - Kconfig
kconfig: switch to single .config configuration
[people/ms/u-boot.git] / Kconfig
CommitLineData
51631259
MY
1#
2# For a description of the syntax of this configuration file,
3# see Documentation/kbuild/kconfig-language.txt.
4#
5mainmenu "U-Boot $UBOOTVERSION Configuration"
6
7config UBOOTVERSION
8 string
9 option env="UBOOTVERSION"
10
66afaef2
SG
11# Allow defaults in arch-specific code to override any given here
12source "arch/Kconfig"
13
51631259
MY
14menu "General setup"
15
e91c3c33
MY
16config 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
27config 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
4a8ed8e2
MY
48config 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
b724bd7d
SG
58config 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
67config 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
1bf0979f
TR
77menuconfig 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
40ad4c4b
MY
85endmenu # General setup
86
e91c3c33
MY
87menu "Boot images"
88
02627356
MY
89config SUPPORT_SPL
90 bool
91
cf6bbe4c
MY
92config SUPPORT_TPL
93 bool
94
51631259
MY
95config SPL
96 bool
02627356 97 depends on SUPPORT_SPL
51631259
MY
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
103config TPL
104 bool
cf6bbe4c 105 depends on SPL && SUPPORT_TPL
51631259
MY
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
b6cf4439
MY
112config 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
122config FIT_VERBOSE
123 bool "Display verbose messages on FIT boot"
124 depends on FIT
125
126config FIT_SIGNATURE
c4beb22f 127 bool "Enable signature verification of FIT uImages"
b6cf4439 128 depends on FIT
9009798d 129 depends on DM
c4beb22f 130 select RSA
b6cf4439
MY
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
51631259
MY
136config SYS_EXTRA_OPTIONS
137 string "Extra Options (DEPRECATED)"
138 depends on !SPL_BUILD
139 help
140 The old configuration infrastructure (= mkconfig + boards.cfg)
ed36323f 141 provided the extra options field. If you have something like
51631259
MY
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
7f7563ce 150config SYS_TEXT_BASE
836d2cc2 151 depends on SPARC || ARC
7f7563ce
MY
152 hex "Text Base"
153 help
154 TODO: Move CONFIG_SYS_TEXT_BASE for all the architecture
155
33d88183
AB
156config 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
e91c3c33 162endmenu # Boot images
51631259 163
ed36323f
MY
164source "common/Kconfig"
165
783e6a72
MY
166source "dts/Kconfig"
167
ed36323f
MY
168source "net/Kconfig"
169
170source "drivers/Kconfig"
171
172source "fs/Kconfig"
173
174source "lib/Kconfig"
1967982a
SG
175
176source "test/Kconfig"