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 0bcc5866af50c82e950d7f67aec1346963211a24..7380ba7b210d7ee3d6bf03a3138187c567c2b02c 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 75bd46da2fad3f9ad8192272bb8749d116d0d10e..4d974f1e168115c2ff268c3192b9b54c25854d9e 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 5ea82f8e4d9c2d4a908e3044a56a576f695363b3..59ba79e43b4bb9b71eb480badb00d35097f51be5 100644 (file)
 #define CONFIG_KGDB_BAUDRATE   230400  /* speed to run kgdb serial port */
 #endif
 
-#define CONFIG_API             1
-
 #endif /* __CONFIG_H */
index 7ec82cd4bbda4627e68b17858368b250ecfa7c11..ad1adcec8c6166442f8e683a4062dab377863a6b 100644 (file)
 
 #define CONFIG_SYS_NO_FLASH
 
-/*
- * Enable u-boot API for standalone programs.
- */
-#define CONFIG_API
-
 /*
  * Commands configuration
  */
index d21589bc2b1129ba3b992f417071e3d2f7f86bd1..826d03185289aa1f405fac6ad43db57b9a75b57a 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