1
0
Fork 0

Kconfig: Simple aesthetic/grammar fixes to top-level Kconfig

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
utp
Robert P. J. Day 2016-04-16 05:53:07 -04:00 committed by Tom Rini
parent 724219a65f
commit 59d7c34bfc
1 changed files with 11 additions and 10 deletions

21
Kconfig
View File

@ -1,6 +1,7 @@
# #
# For a description of the syntax of this configuration file, # For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.txt. # see the file Documentation/kbuild/kconfig-language.txt in the
# Linux kernel source tree.
# #
mainmenu "U-Boot $UBOOTVERSION Configuration" mainmenu "U-Boot $UBOOTVERSION Configuration"
@ -17,7 +18,7 @@ config LOCALVERSION
string "Local version - append to U-Boot release" string "Local version - append to U-Boot release"
help help
Append an extra string to the end of your U-Boot version. Append an extra string to the end of your U-Boot version.
This will show up on your boot log, for example. This will show up in your boot log, for example.
The string you set here will be appended after the contents of The string you set here will be appended after the contents of
any files with a filename matching localversion* in your any files with a filename matching localversion* in your
object and source tree, in that order. Your total string can object and source tree, in that order. Your total string can
@ -28,11 +29,11 @@ config LOCALVERSION_AUTO
default y default y
help help
This will try to automatically determine if the current tree is a This will try to automatically determine if the current tree is a
release tree by looking for git tags that belong to the current release tree by looking for Git tags that belong to the current
top of tree revision. top of tree revision.
A string of the format -gxxxxxxxx will be added to the localversion A string of the format -gxxxxxxxx will be added to the localversion
if a git-based tree is found. The string generated by this will be if a Git-based tree is found. The string generated by this will be
appended after any matching localversion* files, and after the value appended after any matching localversion* files, and after the value
set in CONFIG_LOCALVERSION. set in CONFIG_LOCALVERSION.
@ -56,7 +57,7 @@ config SYS_MALLOC_F
bool "Enable malloc() pool before relocation" bool "Enable malloc() pool before relocation"
default y if DM default y if DM
help help
Before relocation memory is very limited on many platforms. Still, Before relocation, memory is very limited on many platforms. Still,
we can provide a small malloc() pool if needed. Driver model in we can provide a small malloc() pool if needed. Driver model in
particular needs this to operate, so that it can allocate the particular needs this to operate, so that it can allocate the
initial serial device and any others that are needed. initial serial device and any others that are needed.
@ -66,7 +67,7 @@ config SYS_MALLOC_F_LEN
depends on SYS_MALLOC_F depends on SYS_MALLOC_F
default 0x400 default 0x400
help help
Before relocation memory is very limited on many platforms. Still, Before relocation, memory is very limited on many platforms. Still,
we can provide a small malloc() pool if needed. Driver model in we can provide a small malloc() pool if needed. Driver model in
particular needs this to operate, so that it can allocate the particular needs this to operate, so that it can allocate the
initial serial device and any others that are needed. initial serial device and any others that are needed.
@ -78,7 +79,7 @@ menuconfig EXPERT
This option allows certain base U-Boot options and settings This option allows certain base U-Boot options and settings
to be disabled or tweaked. This is for specialized to be disabled or tweaked. This is for specialized
environments which can tolerate a "non-standard" U-Boot. environments which can tolerate a "non-standard" U-Boot.
Only use this if you really know what you are doing. Use this only if you really know what you are doing.
if EXPERT if EXPERT
config SYS_MALLOC_CLEAR_ON_INIT config SYS_MALLOC_CLEAR_ON_INIT
@ -95,7 +96,7 @@ if EXPERT
Then the boot time can be significantly reduced. Then the boot time can be significantly reduced.
Warning: Warning:
When disabling this, please check if malloc calls, maybe When disabling this, please check if malloc calls, maybe
should be replaced by calloc - if expects zeroed memory. should be replaced by calloc - if one expects zeroed memory.
endif endif
endmenu # General setup endmenu # General setup
@ -117,10 +118,10 @@ config SPL
config SPL_SYS_MALLOC_SIMPLE config SPL_SYS_MALLOC_SIMPLE
bool bool
depends on SPL depends on SPL
prompt "Only use malloc_simple functions in the spl" prompt "Only use malloc_simple functions in the SPL"
help help
Say Y here to only use the *_simple malloc functions from Say Y here to only use the *_simple malloc functions from
malloc_simple.c, rather then using the versions from dlmalloc.c malloc_simple.c, rather then using the versions from dlmalloc.c;
this will make the SPL binary smaller at the cost of more heap this will make the SPL binary smaller at the cost of more heap
usage as the *_simple malloc functions do not re-use free-ed mem. usage as the *_simple malloc functions do not re-use free-ed mem.