blob: b5a7399d7f3c5cb6de776d6e1c2ee53654e8b864 [file] [log] [blame]
Emmanuel Vadot4db98d32017-01-31 12:17:04 +01001config API
2 bool "Enable U-Boot API"
Tom Riniac44c6c2023-04-06 09:48:58 -04003 depends on CC_IS_GCC
Emmanuel Vadot4db98d32017-01-31 12:17:04 +01004 help
5 This option enables the U-Boot API. See api/README for more information.
6
Tom Riniac44c6c2023-04-06 09:48:58 -04007menu "API"
8 depends on API
9
Tom Rini9ba938e2022-10-28 20:27:06 -040010config SYS_MMC_MAX_DEVICE
11 int "Maximum number of MMC devices exposed via the API"
Tom Rini9ba938e2022-10-28 20:27:06 -040012 default 1
13
Heinrich Schuchardtfef0f1c2023-03-03 23:31:22 +010014config 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/.
Tom Rini32b7e392022-12-02 16:42:44 -050021
22config STANDALONE_LOAD_ADDR
Heinrich Schuchardtfef0f1c2023-03-03 23:31:22 +010023 depends on EXAMPLES
Tom Rini32b7e392022-12-02 16:42:44 -050024 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.
Heinrich Schuchardtfef0f1c2023-03-03 23:31:22 +010041
42endmenu