Files
u-boot/legacy_api/Kconfig
Simon Glass c0a60ee3e9 Kconfig: Split the EXAMPLES option into its own file
We want to build examples for things other than the legacy API. As a
first step, create a Kconfig file in examples/ and move CONFIG_EXAMPLES
into it.

Signed-off-by: Simon Glass <sjg@chromium.org>
2025-09-05 15:22:18 -06:00

39 lines
1.1 KiB
Plaintext

config LEGACY_API
bool "Enable Legacy U-Boot API"
depends on CC_IS_GCC
help
This option enables the legcay U-Boot API. See legacy_api/README for
more information.
Note that this is deprecated and not intended to be used. It will be
removed by the end of 2027.
menu "LEGACY API"
depends on LEGACY_API
config SYS_MMC_MAX_DEVICE
int "Maximum number of MMC devices exposed via the legacy API"
default 1
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
default 0x82000000 if ARC
default 0x80f00000 if MICROBLAZE
default 0x80300000 if ARCH_OMAP2PLUS || FSL_LSCH2 || FSL_LSCH3
default 0x80200000 if MIPS && 32BIT
default 0x0c100000 if ARM
default 0x02000000 if NIOS2
default 0x00040000 if PPC || X86
default 0x00020000 if M68K
default 0x0 if RISCV
default SYS_LOAD_ADDR
help
This option defines a board specific value for the address where
standalone program gets loaded, thus overwriting the architecture
dependent default settings.
endmenu