Message ID | 20170131111708.12614-3-manu@bidouilliste.com |
---|---|
State | Accepted |
Commit | b569048357495c568cab7dc0d0eb94c3d9b964e9 |
Delegated to: | Tom Rini |
Headers | show |
On Tue, Jan 31, 2017 at 12:17:05PM +0100, Emmanuel Vadot wrote: > 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>
On 31 January 2017 at 03:17, Emmanuel Vadot <manu@bidouilliste.com> wrote: > 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> > --- > configs/PMC440_defconfig | 1 + > configs/lsxhl_defconfig | 1 + > include/configs/PMC440.h | 2 -- > include/configs/lsxl.h | 5 ----- > scripts/config_whitelist.txt | 1 - > 5 files changed, 2 insertions(+), 8 deletions(-) Reviewed-by: Simon Glass <sjg@chromium.org>
On Tue, Jan 31, 2017 at 12:17:05PM +0100, Emmanuel Vadot wrote: > 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> Applied to u-boot/master, thanks!
diff --git a/configs/PMC440_defconfig b/configs/PMC440_defconfig index 0bcc5866af..7380ba7b21 100644 --- a/configs/PMC440_defconfig +++ b/configs/PMC440_defconfig @@ -24,3 +24,4 @@ CONFIG_SYS_NS16550=y CONFIG_USB=y CONFIG_USB_STORAGE=y CONFIG_OF_LIBFDT=y +CONFIG_API=y diff --git a/configs/lsxhl_defconfig b/configs/lsxhl_defconfig index 75bd46da2f..4d974f1e16 100644 --- a/configs/lsxhl_defconfig +++ b/configs/lsxhl_defconfig @@ -23,3 +23,4 @@ CONFIG_SYS_NS16550=y CONFIG_USB=y CONFIG_USB_STORAGE=y CONFIG_OF_LIBFDT=y +CONFIG_API=y diff --git a/include/configs/PMC440.h b/include/configs/PMC440.h index 5ea82f8e4d..59ba79e43b 100644 --- a/include/configs/PMC440.h +++ b/include/configs/PMC440.h @@ -385,6 +385,4 @@ #define CONFIG_KGDB_BAUDRATE 230400 /* speed to run kgdb serial port */ #endif -#define CONFIG_API 1 - #endif /* __CONFIG_H */ diff --git a/include/configs/lsxl.h b/include/configs/lsxl.h index 7ec82cd4bb..ad1adcec8c 100644 --- a/include/configs/lsxl.h +++ b/include/configs/lsxl.h @@ -38,11 +38,6 @@ #define CONFIG_SYS_NO_FLASH /* - * Enable u-boot API for standalone programs. - */ -#define CONFIG_API - -/* * Commands configuration */ #define CONFIG_CMD_ENV diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 37ce51a77f..0019ac72aa 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -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
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> --- configs/PMC440_defconfig | 1 + configs/lsxhl_defconfig | 1 + include/configs/PMC440.h | 2 -- include/configs/lsxl.h | 5 ----- scripts/config_whitelist.txt | 1 - 5 files changed, 2 insertions(+), 8 deletions(-)