151631259SMasahiro Yamada# 251631259SMasahiro Yamada# For a description of the syntax of this configuration file, 351631259SMasahiro Yamada# see Documentation/kbuild/kconfig-language.txt. 451631259SMasahiro Yamada# 551631259SMasahiro Yamadamainmenu "U-Boot $UBOOTVERSION Configuration" 651631259SMasahiro Yamada 751631259SMasahiro Yamadaconfig UBOOTVERSION 851631259SMasahiro Yamada string 951631259SMasahiro Yamada option env="UBOOTVERSION" 1051631259SMasahiro Yamada 1151631259SMasahiro Yamadaconfig KCONFIG_OBJDIR 1251631259SMasahiro Yamada string 1351631259SMasahiro Yamada option env="KCONFIG_OBJDIR" 1451631259SMasahiro Yamada 1551631259SMasahiro Yamadamenu "General setup" 1651631259SMasahiro Yamada 17*e91c3c33SMasahiro Yamadaconfig LOCALVERSION 18*e91c3c33SMasahiro Yamada string "Local version - append to U-Boot release" 19*e91c3c33SMasahiro Yamada depends on !SPL_BUILD 20*e91c3c33SMasahiro Yamada help 21*e91c3c33SMasahiro Yamada Append an extra string to the end of your U-Boot version. 22*e91c3c33SMasahiro Yamada This will show up on your boot log, for example. 23*e91c3c33SMasahiro Yamada The string you set here will be appended after the contents of 24*e91c3c33SMasahiro Yamada any files with a filename matching localversion* in your 25*e91c3c33SMasahiro Yamada object and source tree, in that order. Your total string can 26*e91c3c33SMasahiro Yamada be a maximum of 64 characters. 27*e91c3c33SMasahiro Yamada 28*e91c3c33SMasahiro Yamadaconfig LOCALVERSION_AUTO 29*e91c3c33SMasahiro Yamada bool "Automatically append version information to the version string" 30*e91c3c33SMasahiro Yamada depends on !SPL_BUILD 31*e91c3c33SMasahiro Yamada default y 32*e91c3c33SMasahiro Yamada help 33*e91c3c33SMasahiro Yamada This will try to automatically determine if the current tree is a 34*e91c3c33SMasahiro Yamada release tree by looking for git tags that belong to the current 35*e91c3c33SMasahiro Yamada top of tree revision. 36*e91c3c33SMasahiro Yamada 37*e91c3c33SMasahiro Yamada A string of the format -gxxxxxxxx will be added to the localversion 38*e91c3c33SMasahiro Yamada if a git-based tree is found. The string generated by this will be 39*e91c3c33SMasahiro Yamada appended after any matching localversion* files, and after the value 40*e91c3c33SMasahiro Yamada set in CONFIG_LOCALVERSION. 41*e91c3c33SMasahiro Yamada 42*e91c3c33SMasahiro Yamada (The actual string used here is the first eight characters produced 43*e91c3c33SMasahiro Yamada by running the command: 44*e91c3c33SMasahiro Yamada 45*e91c3c33SMasahiro Yamada $ git rev-parse --verify HEAD 46*e91c3c33SMasahiro Yamada 47*e91c3c33SMasahiro Yamada which is done within the script "scripts/setlocalversion".) 48*e91c3c33SMasahiro Yamada 49*e91c3c33SMasahiro Yamadaendmenu # General setup 50*e91c3c33SMasahiro Yamada 51*e91c3c33SMasahiro Yamadamenu "Boot images" 52*e91c3c33SMasahiro Yamada 5351631259SMasahiro Yamadaconfig SPL_BUILD 5451631259SMasahiro Yamada bool 5551631259SMasahiro Yamada depends on $KCONFIG_OBJDIR="spl" || $KCONFIG_OBJDIR="tpl" 5651631259SMasahiro Yamada default y 5751631259SMasahiro Yamada 5851631259SMasahiro Yamadaconfig TPL_BUILD 5951631259SMasahiro Yamada bool 6051631259SMasahiro Yamada depends on $KCONFIG_OBJDIR="tpl" 6151631259SMasahiro Yamada default y 6251631259SMasahiro Yamada 6351631259SMasahiro Yamadaconfig SPL 6451631259SMasahiro Yamada bool 6551631259SMasahiro Yamada prompt "Enable SPL" if !SPL_BUILD 6651631259SMasahiro Yamada default y if SPL_BUILD 6751631259SMasahiro Yamada help 6851631259SMasahiro Yamada If you want to build SPL as well as the normal image, say Y. 6951631259SMasahiro Yamada 7051631259SMasahiro Yamadaconfig TPL 7151631259SMasahiro Yamada bool 7251631259SMasahiro Yamada depends on SPL 7351631259SMasahiro Yamada prompt "Enable TPL" if !SPL_BUILD 7451631259SMasahiro Yamada default y if TPL_BUILD 7551631259SMasahiro Yamada default n 7651631259SMasahiro Yamada help 7751631259SMasahiro Yamada If you want to build TPL as well as the normal image and SPL, say Y. 7851631259SMasahiro Yamada 7951631259SMasahiro Yamadaconfig SYS_EXTRA_OPTIONS 8051631259SMasahiro Yamada string "Extra Options (DEPRECATED)" 8151631259SMasahiro Yamada depends on !SPL_BUILD 8251631259SMasahiro Yamada help 8351631259SMasahiro Yamada The old configuration infrastructure (= mkconfig + boards.cfg) 8451631259SMasahiro Yamada provided the extra options field. It you have something like 8551631259SMasahiro Yamada "HAS_BAR,BAZ=64", the optional options 8651631259SMasahiro Yamada #define CONFIG_HAS 8751631259SMasahiro Yamada #define CONFIG_BAZ 64 8851631259SMasahiro Yamada will be defined in include/config.h. 8951631259SMasahiro Yamada This option was prepared for the smooth migration from the old 9051631259SMasahiro Yamada configuration to Kconfig. Since this option will be removed sometime, 9151631259SMasahiro Yamada new boards should not use this option. 9251631259SMasahiro Yamada 93*e91c3c33SMasahiro Yamadaendmenu # Boot images 9451631259SMasahiro Yamada 9551631259SMasahiro Yamadasource "arch/Kconfig" 96