Emmanuel Vadot | 4db98d3 | 2017-01-31 12:17:04 +0100 | [diff] [blame] | 1 | menu "API" |
| 2 | |
| 3 | config API |
| 4 | bool "Enable U-Boot API" |
Emmanuel Vadot | 4db98d3 | 2017-01-31 12:17:04 +0100 | [diff] [blame] | 5 | help |
| 6 | This option enables the U-Boot API. See api/README for more information. |
| 7 | |
Tom Rini | 9ba938e | 2022-10-28 20:27:06 -0400 | [diff] [blame] | 8 | config SYS_MMC_MAX_DEVICE |
| 9 | int "Maximum number of MMC devices exposed via the API" |
| 10 | depends on API |
| 11 | default 1 |
| 12 | |
Heinrich Schuchardt | fef0f1c | 2023-03-03 23:31:22 +0100 | [diff] [blame] | 13 | config 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 Rini | 32b7e39 | 2022-12-02 16:42:44 -0500 | [diff] [blame] | 20 | |
| 21 | config STANDALONE_LOAD_ADDR |
Heinrich Schuchardt | fef0f1c | 2023-03-03 23:31:22 +0100 | [diff] [blame] | 22 | depends on EXAMPLES |
Tom Rini | 32b7e39 | 2022-12-02 16:42:44 -0500 | [diff] [blame] | 23 | 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 Schuchardt | fef0f1c | 2023-03-03 23:31:22 +0100 | [diff] [blame] | 40 | |
| 41 | endmenu |