2017-01-31 11:17:04 +00:00
|
|
|
menu "API"
|
|
|
|
|
|
|
|
config API
|
|
|
|
bool "Enable U-Boot API"
|
|
|
|
help
|
|
|
|
This option enables the U-Boot API. See api/README for more information.
|
|
|
|
|
2022-10-29 00:27:06 +00:00
|
|
|
config SYS_MMC_MAX_DEVICE
|
|
|
|
int "Maximum number of MMC devices exposed via the API"
|
|
|
|
depends on API
|
|
|
|
default 1
|
|
|
|
|
2023-03-03 22:31:22 +00:00
|
|
|
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/.
|
2022-12-02 21:42:44 +00:00
|
|
|
|
|
|
|
config STANDALONE_LOAD_ADDR
|
2023-03-03 22:31:22 +00:00
|
|
|
depends on EXAMPLES
|
2022-12-02 21:42:44 +00:00
|
|
|
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.
|
2023-03-03 22:31:22 +00:00
|
|
|
|
|
|
|
endmenu
|