diff mbox

[U-Boot] kconfig: remove unneeded U-Boot extension code

Message ID 1425051926-13498-1-git-send-email-yamada.m@jp.panasonic.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Masahiro Yamada Feb. 27, 2015, 3:45 p.m. UTC
This code was introduced to support the multiple .config
configuration in U-Boot.  We do not need it any more.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
---

 scripts/kconfig/confdata.c | 8 --------
 1 file changed, 8 deletions(-)

Comments

Tom Rini March 2, 2015, 3:29 p.m. UTC | #1
On Sat, Feb 28, 2015 at 12:45:26AM +0900, Masahiro Yamada wrote:

> This code was introduced to support the multiple .config
> configuration in U-Boot.  We do not need it any more.
> 
> Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>

Applied to u-boot/master, thanks!
Simon Glass March 2, 2015, 4:03 p.m. UTC | #2
On 27 February 2015 at 08:45, Masahiro Yamada <yamada.m@jp.panasonic.com> wrote:
> This code was introduced to support the multiple .config
> configuration in U-Boot.  We do not need it any more.
>
> Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
> ---
>
>  scripts/kconfig/confdata.c | 8 --------
>  1 file changed, 8 deletions(-)

Reviewed-by: Simon Glass <sjg@chromium.org>
diff mbox

Patch

diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c
index ae6ce66..f88d90f 100644
--- a/scripts/kconfig/confdata.c
+++ b/scripts/kconfig/confdata.c
@@ -951,14 +951,6 @@  int conf_write_autoconf(void)
 	FILE *out, *tristate, *out_h;
 	int i;
 
-	/*
-	 * Added for U-Boot SPL/TPL
-	 */
-	name = getenv("KCONFIG_OBJDIR");
-	if (name && name[0])
-		if (chdir(name))
-			return 1;
-
 	sym_clear_all_valid();
 
 	file_write_dep("include/config/auto.conf.cmd");