api: move API related config options into submenu
Kconfig settings that are related to the API for standalone applications should be in the API sub-menu and not on the top level. CONFIG_STANDALONE_LOAD_ADDR is only relevant if standalone example applications are built. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
This commit is contained in:
parent
66e49f0476
commit
fef0f1cc38
2 changed files with 10 additions and 9 deletions
8
Kconfig
8
Kconfig
|
@ -575,14 +575,6 @@ config MP
|
||||||
This provides an option to bringup different processors
|
This provides an option to bringup different processors
|
||||||
in multiprocessor cases.
|
in multiprocessor cases.
|
||||||
|
|
||||||
config EXAMPLES
|
|
||||||
bool "Compile API examples"
|
|
||||||
depends on !SANDBOX
|
|
||||||
default y if ARCH_QEMU
|
|
||||||
help
|
|
||||||
U-Boot provides an API for standalone applications. Examples are
|
|
||||||
provided in directory examples/.
|
|
||||||
|
|
||||||
endmenu # General setup
|
endmenu # General setup
|
||||||
|
|
||||||
source "api/Kconfig"
|
source "api/Kconfig"
|
||||||
|
|
11
api/Kconfig
11
api/Kconfig
|
@ -10,9 +10,16 @@ config SYS_MMC_MAX_DEVICE
|
||||||
depends on API
|
depends on API
|
||||||
default 1
|
default 1
|
||||||
|
|
||||||
endmenu
|
config EXAMPLES
|
||||||
|
bool "Compile API examples"
|
||||||
|
depends on !SANDBOX
|
||||||
|
default y if ARCH_QEMU
|
||||||
|
help
|
||||||
|
U-Boot provides an API for standalone applications. Examples are
|
||||||
|
provided in directory examples/.
|
||||||
|
|
||||||
config STANDALONE_LOAD_ADDR
|
config STANDALONE_LOAD_ADDR
|
||||||
|
depends on EXAMPLES
|
||||||
hex "Address in memory to link standalone applications to"
|
hex "Address in memory to link standalone applications to"
|
||||||
default 0xffffffff80200000 if MIPS && 64BIT
|
default 0xffffffff80200000 if MIPS && 64BIT
|
||||||
default 0x8c000000 if SH
|
default 0x8c000000 if SH
|
||||||
|
@ -30,3 +37,5 @@ config STANDALONE_LOAD_ADDR
|
||||||
This option defines a board specific value for the address where
|
This option defines a board specific value for the address where
|
||||||
standalone program gets loaded, thus overwriting the architecture
|
standalone program gets loaded, thus overwriting the architecture
|
||||||
dependent default settings.
|
dependent default settings.
|
||||||
|
|
||||||
|
endmenu
|
||||||
|
|
Loading…
Reference in a new issue