kconfig: Add API kconfig file
authorEmmanuel Vadot <manu@bidouilliste.com>
Tue, 31 Jan 2017 11:17:04 +0000 (12:17 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 8 Feb 2017 20:56:31 +0000 (15:56 -0500)
Add kconfig file to enable API support

Signed-off-by: Emmanuel Vadot <manu@bidouilliste.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Kconfig
api/Kconfig [new file with mode: 0644]

diff --git a/Kconfig b/Kconfig
index 0dd21dfc17f69083293fc5ef2bb8be53e007e04e..81b4226463ae0635c87b87ad0e946fd307e250e3 100644 (file)
--- a/Kconfig
+++ b/Kconfig
@@ -308,6 +308,8 @@ config ARCH_FIXUP_FDT_MEMORY
 
 endmenu                # Boot images
 
+source "api/Kconfig"
+
 source "common/Kconfig"
 
 source "cmd/Kconfig"
diff --git a/api/Kconfig b/api/Kconfig
new file mode 100644 (file)
index 0000000..16731d3
--- /dev/null
@@ -0,0 +1,9 @@
+menu "API"
+
+config API
+       bool "Enable U-Boot API"
+       default n
+       help
+         This option enables the U-Boot API. See api/README for more information.
+
+endmenu