From patchwork Tue Jan 23 20:16:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 125577 Delivered-To: patch@linaro.org Received: by 10.46.66.141 with SMTP id h13csp1984445ljf; Tue, 23 Jan 2018 12:24:23 -0800 (PST) X-Google-Smtp-Source: AH8x227OjKKhJq8oqWD7oon/MtBsTnOKwHsVGwhPhQR755j5rmlCLQcBBc7UCy8nCA2n0j7Iu3MF X-Received: by 10.80.189.139 with SMTP id y11mr9616427edh.122.1516739063405; Tue, 23 Jan 2018 12:24:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516739063; cv=none; d=google.com; s=arc-20160816; b=qese2YJWTwTdtXRNv6WnVoHFJ0fksKxX60kT4OfP9liXNYzMRkYEov8Eak9Ql+tKAG UDnbaD04dgaG5pO242dMRJ+jZDyty5dFiu9hjQQVGNcnR/8vlAvDbzkIr5Pl4wsW6nP0 AuPM/0mSgPUu/W4n4K3XQLfboxDhPxoHgWsG71Ubiuh6NZA/EnpZAges9CXo9rZ89jVK GrEpK/zXePag83tjeLr9R5XWW5e8uTKJ97JUdcWmsd8TYrbEhKI9nWg5aQ+C7k1eW4EP 6Q0Ah+o6epIV9KlhbYoaubQrByL/qoJazwX/Rs9pPrs6aIRBgZutGaeC4wFVJ1WX6SUB ohEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:references :in-reply-to:message-id:date:to:from:arc-authentication-results; bh=5qRcAdtvKa5l9j6gakknoGARKjG7dR2lqm+qPHLpiKw=; b=vH2SKpryC9HyXvWDj1TYgLRgOuapn3v3m2HQ/HUeYq1BVMMW9UfEr7r5NQY0Jk7mTI cjJA2LPjhABkrmTooOzHQOSFAuh0WJ0foo0UBOlfRFZHGY+F2Y6j1iapgWK1u1NmA3uI Ye4M0M/5KtskghSKFfNDGdVjceXcLyQzUQGFVt5XXhmenFYNv4Dopg4eUdU9t72zn+T3 Gsbt7FzsMcWJoal67poiDLKRrzjabOJ7G027Jzx1g1V+fYonDqfrsynApO8kn6qw2hUc f6CVsPgggfaJ7CutP7NuwTs6DVDM3rv716wpxztSNRq/M75nj6ipIKYnpSwGi54hRJz1 hTyQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id w28si5568439edl.405.2018.01.23.12.24.23; Tue, 23 Jan 2018 12:24:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 03BEDC21E85; Tue, 23 Jan 2018 20:19:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id D1B0BC2213B; Tue, 23 Jan 2018 20:17:22 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 78907C21EF1; Tue, 23 Jan 2018 20:17:14 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id 827BBC21E76 for ; Tue, 23 Jan 2018 20:17:10 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id 5D9BC20C92; Tue, 23 Jan 2018 21:17:10 +0100 (CET) Received: from localhost (LFbn-1-2035-97.w90-76.abo.wanadoo.fr [90.76.104.97]) by mail.free-electrons.com (Postfix) with ESMTPSA id 2E473207A8; Tue, 23 Jan 2018 21:17:10 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Tue, 23 Jan 2018 21:16:57 +0100 Message-Id: X-Mailer: git-send-email 2.14.3 In-Reply-To: References: In-Reply-To: References: Cc: Andre Przywara , agraf@suse.de, u-boot@lists.denx.de, Maxime Ripard , Jagan Teki Subject: [U-Boot] [PATCH v3 08/15] env: common: Make the debug messages play a little nicer X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Since we have global messages to indicate what's going on, the custom messages in the environment drivers only make the output less readable. Make the common code play a little nicer by removing all the extra output in the standard case. Reviewed-by: Andre Przywara Reviewed-by: Simon Glass Signed-off-by: Maxime Ripard --- env/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/env/common.c b/env/common.c index 8167ea299264..c633502d68bb 100644 --- a/env/common.c +++ b/env/common.c @@ -78,7 +78,7 @@ void set_default_env(const char *s) puts(s); } } else { - puts("Using default environment\n\n"); + debug("Using default environment\n"); } if (himport_r(&env_htab, (char *)default_environment,