1270096Straszconfig API
2270096Strasz	bool "Enable U-Boot API"
3270096Strasz	depends on CC_IS_GCC
4270096Strasz	help
5283224Strasz	  This option enables the U-Boot API. See api/README for more information.
6283223Strasz
7283223Straszmenu "API"
8283223Strasz	depends on API
9283242Strasz
10config SYS_MMC_MAX_DEVICE
11	int  "Maximum number of MMC devices exposed via the API"
12	default 1
13
14config EXAMPLES
15	bool "Compile API examples"
16	depends on !SANDBOX
17	default y if ARCH_QEMU
18	help
19	  U-Boot provides an API for standalone applications. Examples are
20	  provided in directory examples/.
21
22config STANDALONE_LOAD_ADDR
23	depends on EXAMPLES
24	hex "Address in memory to link standalone applications to"
25	default 0xffffffff80200000 if MIPS && 64BIT
26	default 0x8c000000 if SH
27	default 0x82000000 if ARC
28	default 0x80f00000 if MICROBLAZE
29	default 0x80300000 if ARCH_OMAP2PLUS || FSL_LSCH2 || FSL_LSCH3
30	default 0x80200000 if MIPS && 32BIT
31	default 0x0c100000 if ARM
32	default 0x02000000 if NIOS2
33	default 0x00040000 if PPC || X86
34	default 0x00020000 if M68K
35	default 0x0 if RISCV
36	default SYS_LOAD_ADDR
37	help
38	  This option defines a board specific value for the address where
39	  standalone program gets loaded, thus overwriting the architecture
40	  dependent default settings.
41
42endmenu
43