blob: bb9b5c27fff6da85d4131a72b2cfb1ff0c33fb93 [file] [log] [blame]
Masahiro Yamada51631252014-07-30 14:08:15 +09001#
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
Simon Glass66afaef2015-02-24 22:26:19 +090011# Allow defaults in arch-specific code to override any given here
12source "arch/Kconfig"
13
Masahiro Yamada51631252014-07-30 14:08:15 +090014menu "General setup"
15
Masahiro Yamadae91c3c32014-08-22 19:42:27 +090016config 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
Masahiro Yamada4a8ed8e2014-08-22 19:42:29 +090048config 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 Glassb724bd72015-02-11 16:32:59 -070058config 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
Tom Rini1bf09792014-11-14 09:34:29 +010077menuconfig 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 Yamada40ad4c42014-11-26 18:42:31 +090085endmenu # General setup
86
Masahiro Yamadae91c3c32014-08-22 19:42:27 +090087menu "Boot images"
88
Masahiro Yamada02627352014-10-20 17:45:56 +090089config SUPPORT_SPL
90 bool
91
Masahiro Yamadacf6bbe42014-10-20 17:45:57 +090092config SUPPORT_TPL
93 bool
94
Masahiro Yamada51631252014-07-30 14:08:15 +090095config SPL
96 bool
Masahiro Yamada02627352014-10-20 17:45:56 +090097 depends on SUPPORT_SPL
Masahiro Yamada51631252014-07-30 14:08:15 +090098 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
Masahiro Yamadacf6bbe42014-10-20 17:45:57 +0900105 depends on SPL && SUPPORT_TPL
Masahiro Yamada51631252014-07-30 14:08:15 +0900106 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 Yamadab6cf4432014-11-13 19:29:06 +0900112config 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
Ruchika Guptac4beb222015-01-23 16:01:51 +0530127 bool "Enable signature verification of FIT uImages"
Masahiro Yamadab6cf4432014-11-13 19:29:06 +0900128 depends on FIT
Chris Kuethe90097982015-02-04 19:16:14 -0800129 depends on DM
Ruchika Guptac4beb222015-01-23 16:01:51 +0530130 select RSA
Masahiro Yamadab6cf4432014-11-13 19:29:06 +0900131 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 Yamada51631252014-07-30 14:08:15 +0900136config SYS_EXTRA_OPTIONS
137 string "Extra Options (DEPRECATED)"
138 depends on !SPL_BUILD
139 help
140 The old configuration infrastructure (= mkconfig + boards.cfg)
Masahiro Yamadaed363232014-09-16 16:32:58 +0900141 provided the extra options field. If you have something like
Masahiro Yamada51631252014-07-30 14:08:15 +0900142 "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 Yamada7f7563c2014-10-30 15:30:58 +0900150config SYS_TEXT_BASE
Alexey Brodkin836d2cc2015-02-03 13:58:18 +0300151 depends on SPARC || ARC
Masahiro Yamada7f7563c2014-10-30 15:30:58 +0900152 hex "Text Base"
153 help
154 TODO: Move CONFIG_SYS_TEXT_BASE for all the architecture
155
Alexey Brodkin33d88182015-01-13 18:49:01 +0300156config 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 Yamadae91c3c32014-08-22 19:42:27 +0900162endmenu # Boot images
Masahiro Yamada51631252014-07-30 14:08:15 +0900163
Masahiro Yamadaed363232014-09-16 16:32:58 +0900164source "common/Kconfig"
165
Masahiro Yamada783e6a72014-09-22 19:59:05 +0900166source "dts/Kconfig"
167
Masahiro Yamadaed363232014-09-16 16:32:58 +0900168source "net/Kconfig"
169
170source "drivers/Kconfig"
171
172source "fs/Kconfig"
173
174source "lib/Kconfig"
Simon Glass19679822015-02-05 21:41:37 -0700175
176source "test/Kconfig"