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