aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-03-03 23:31:22 +0100
committerTom Rini <trini@konsulko.com>2023-03-30 15:09:58 -0400
commitfef0f1cc38a19f68e215fcc2504b4f60005179a2 (patch)
tree515bd5bf0feb7c4bfc1e069542b11a61996b44a0
parent66e49f047651f6e104d36db12e835b423d456108 (diff)
downloadu-boot-fef0f1cc38a19f68e215fcc2504b4f60005179a2.zip
u-boot-fef0f1cc38a19f68e215fcc2504b4f60005179a2.tar.gz
u-boot-fef0f1cc38a19f68e215fcc2504b4f60005179a2.tar.bz2
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>
-rw-r--r--Kconfig8
-rw-r--r--api/Kconfig11
2 files changed, 10 insertions, 9 deletions
diff --git a/Kconfig b/Kconfig
index 7d04c5a..7a8c190 100644
--- a/Kconfig
+++ b/Kconfig
@@ -575,14 +575,6 @@ config MP
This provides an option to bringup different processors
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
source "api/Kconfig"
diff --git a/api/Kconfig b/api/Kconfig
index d936272..6072288 100644
--- a/api/Kconfig
+++ b/api/Kconfig
@@ -10,9 +10,16 @@ config SYS_MMC_MAX_DEVICE
depends on API
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
+ depends on EXAMPLES
hex "Address in memory to link standalone applications to"
default 0xffffffff80200000 if MIPS && 64BIT
default 0x8c000000 if SH
@@ -30,3 +37,5 @@ config STANDALONE_LOAD_ADDR
This option defines a board specific value for the address where
standalone program gets loaded, thus overwriting the architecture
dependent default settings.
+
+endmenu