api: Convert to Kconfig
authorEmmanuel Vadot <manu@bidouilliste.com>
Tue, 31 Jan 2017 11:17:05 +0000 (12:17 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 8 Feb 2017 20:56:31 +0000 (15:56 -0500)
Now that we have a Kconfig for the API, convert the two boards that
are using this to Kconfig and remove CONFIG_API from the whitelist.

Signed-off-by: Emmanuel Vadot <manu@bidouilliste.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
configs/PMC440_defconfig
configs/lsxhl_defconfig
include/configs/PMC440.h
include/configs/lsxl.h
scripts/config_whitelist.txt

index 0bcc586..7380ba7 100644 (file)
@@ -24,3 +24,4 @@ CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_OF_LIBFDT=y
+CONFIG_API=y
index 75bd46d..4d974f1 100644 (file)
@@ -23,3 +23,4 @@ CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_OF_LIBFDT=y
+CONFIG_API=y
index 5ea82f8..59ba79e 100644 (file)
 #define CONFIG_KGDB_BAUDRATE   230400  /* speed to run kgdb serial port */
 #endif
 
-#define CONFIG_API             1
-
 #endif /* __CONFIG_H */
index 7ec82cd..ad1adce 100644 (file)
 #define CONFIG_SYS_NO_FLASH
 
 /*
- * Enable u-boot API for standalone programs.
- */
-#define CONFIG_API
-
-/*
  * Commands configuration
  */
 #define CONFIG_CMD_ENV
index d21589b..826d031 100644 (file)
@@ -102,7 +102,6 @@ CONFIG_APBH_DMA_BURST8
 CONFIG_APER_0_BASE
 CONFIG_APER_1_BASE
 CONFIG_APER_SIZE
-CONFIG_API
 CONFIG_APUS_FAST_EXCEPT
 CONFIG_AP_SH4A_4A
 CONFIG_ARCH_ADPAG101P