blob: 6072288f9bc26ab3313104bbd7427708283379c0 [file] [log] [blame]
Emmanuel Vadot4db98d32017-01-31 12:17:04 +01001menu "API"
2
3config API
4 bool "Enable U-Boot API"
Emmanuel Vadot4db98d32017-01-31 12:17:04 +01005 help
6 This option enables the U-Boot API. See api/README for more information.
7
Tom Rini9ba938e2022-10-28 20:27:06 -04008config SYS_MMC_MAX_DEVICE
9 int "Maximum number of MMC devices exposed via the API"
10 depends on API
11 default 1
12
Heinrich Schuchardtfef0f1c2023-03-03 23:31:22 +010013config EXAMPLES
14 bool "Compile API examples"
15 depends on !SANDBOX
16 default y if ARCH_QEMU
17 help
18 U-Boot provides an API for standalone applications. Examples are
19 provided in directory examples/.
Tom Rini32b7e392022-12-02 16:42:44 -050020
21config STANDALONE_LOAD_ADDR
Heinrich Schuchardtfef0f1c2023-03-03 23:31:22 +010022 depends on EXAMPLES
Tom Rini32b7e392022-12-02 16:42:44 -050023 hex "Address in memory to link standalone applications to"
24 default 0xffffffff80200000 if MIPS && 64BIT
25 default 0x8c000000 if SH
26 default 0x82000000 if ARC
27 default 0x80f00000 if MICROBLAZE
28 default 0x80300000 if ARCH_OMAP2PLUS || FSL_LSCH2 || FSL_LSCH3
29 default 0x80200000 if MIPS && 32BIT
30 default 0x0c100000 if ARM
31 default 0x02000000 if NIOS2
32 default 0x00040000 if PPC || X86
33 default 0x00020000 if M68K
34 default 0x0 if RISCV
35 default SYS_LOAD_ADDR
36 help
37 This option defines a board specific value for the address where
38 standalone program gets loaded, thus overwriting the architecture
39 dependent default settings.
Heinrich Schuchardtfef0f1c2023-03-03 23:31:22 +010040
41endmenu