xref: /openbmc/u-boot/Kconfig (revision 51631259)
1*51631259SMasahiro Yamada#
2*51631259SMasahiro Yamada# For a description of the syntax of this configuration file,
3*51631259SMasahiro Yamada# see Documentation/kbuild/kconfig-language.txt.
4*51631259SMasahiro Yamada#
5*51631259SMasahiro Yamadamainmenu "U-Boot $UBOOTVERSION Configuration"
6*51631259SMasahiro Yamada
7*51631259SMasahiro Yamadaconfig UBOOTVERSION
8*51631259SMasahiro Yamada	string
9*51631259SMasahiro Yamada	option env="UBOOTVERSION"
10*51631259SMasahiro Yamada
11*51631259SMasahiro Yamadaconfig KCONFIG_OBJDIR
12*51631259SMasahiro Yamada	string
13*51631259SMasahiro Yamada	option env="KCONFIG_OBJDIR"
14*51631259SMasahiro Yamada
15*51631259SMasahiro Yamadaconfig DEFCONFIG_LIST
16*51631259SMasahiro Yamada	string
17*51631259SMasahiro Yamada	depends on !SPL_BUILD
18*51631259SMasahiro Yamada	option defconfig_list
19*51631259SMasahiro Yamada	default "configs/sandbox_defconfig"
20*51631259SMasahiro Yamada
21*51631259SMasahiro Yamadamenu "General setup"
22*51631259SMasahiro Yamada
23*51631259SMasahiro Yamadaconfig SPL_BUILD
24*51631259SMasahiro Yamada	bool
25*51631259SMasahiro Yamada	depends on $KCONFIG_OBJDIR="spl" || $KCONFIG_OBJDIR="tpl"
26*51631259SMasahiro Yamada	default y
27*51631259SMasahiro Yamada
28*51631259SMasahiro Yamadaconfig TPL_BUILD
29*51631259SMasahiro Yamada	bool
30*51631259SMasahiro Yamada	depends on $KCONFIG_OBJDIR="tpl"
31*51631259SMasahiro Yamada	default y
32*51631259SMasahiro Yamada
33*51631259SMasahiro Yamadaconfig SPL
34*51631259SMasahiro Yamada	bool
35*51631259SMasahiro Yamada	prompt "Enable SPL" if !SPL_BUILD
36*51631259SMasahiro Yamada	default y if SPL_BUILD
37*51631259SMasahiro Yamada	help
38*51631259SMasahiro Yamada	  If you want to build SPL as well as the normal image, say Y.
39*51631259SMasahiro Yamada
40*51631259SMasahiro Yamadaconfig TPL
41*51631259SMasahiro Yamada	bool
42*51631259SMasahiro Yamada	depends on SPL
43*51631259SMasahiro Yamada	prompt "Enable TPL" if !SPL_BUILD
44*51631259SMasahiro Yamada	default y if TPL_BUILD
45*51631259SMasahiro Yamada	default n
46*51631259SMasahiro Yamada	help
47*51631259SMasahiro Yamada	  If you want to build TPL as well as the normal image and SPL, say Y.
48*51631259SMasahiro Yamada
49*51631259SMasahiro Yamadaconfig SYS_EXTRA_OPTIONS
50*51631259SMasahiro Yamada	string "Extra Options (DEPRECATED)"
51*51631259SMasahiro Yamada	depends on !SPL_BUILD
52*51631259SMasahiro Yamada	help
53*51631259SMasahiro Yamada	  The old configuration infrastructure (= mkconfig + boards.cfg)
54*51631259SMasahiro Yamada	  provided the extra options field. It you have something like
55*51631259SMasahiro Yamada	  "HAS_BAR,BAZ=64", the optional options
56*51631259SMasahiro Yamada	    #define CONFIG_HAS
57*51631259SMasahiro Yamada	    #define CONFIG_BAZ	64
58*51631259SMasahiro Yamada	  will be defined in include/config.h.
59*51631259SMasahiro Yamada	  This option was prepared for the smooth migration from the old
60*51631259SMasahiro Yamada	  configuration to Kconfig. Since this option will be removed sometime,
61*51631259SMasahiro Yamada	  new boards should not use this option.
62*51631259SMasahiro Yamada
63*51631259SMasahiro Yamadaendmenu		# General setup
64*51631259SMasahiro Yamada
65*51631259SMasahiro Yamadasource "arch/Kconfig"
66