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