Browse Source

kconfig: Add API kconfig file

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>
Emmanuel Vadot 7 years ago
parent
commit
4db98d3d92
2 changed files with 11 additions and 0 deletions
  1. 2 0
      Kconfig
  2. 9 0
      api/Kconfig

+ 2 - 0
Kconfig

@@ -308,6 +308,8 @@ config ARCH_FIXUP_FDT_MEMORY
 
 endmenu		# Boot images
 
+source "api/Kconfig"
+
 source "common/Kconfig"
 
 source "cmd/Kconfig"

+ 9 - 0
api/Kconfig

@@ -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