From patchwork Tue Nov 28 10:24:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 119821 Delivered-To: patch@linaro.org Received: by 10.80.225.132 with SMTP id k4csp2910958edl; Tue, 28 Nov 2017 02:29:52 -0800 (PST) X-Google-Smtp-Source: AGs4zMYxKQjW5SmGheI1HPiLOhsGafh8pnzEIVImiWM3deUqFn0Y+kyCQgrFqdhotJcX5hhMohGW X-Received: by 10.80.146.227 with SMTP id l32mr2049776eda.114.1511864992499; Tue, 28 Nov 2017 02:29:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511864992; cv=none; d=google.com; s=arc-20160816; b=JblZysMc+2AtGoGGLW4sTqZ8qP3U0vlurFZej/gGV7I1xcibZSglNFc+mJ0gbFwbgg 1Yq+Z5HRDdaZlxK10qngqprIR5E/cNlE0LP79nWYnZHwCq5o3Xf7BtG+8KcrEK8/5YMx F94HC/ZPllGMWsZT3wFSuGivpYpDwSQ7IShIOkhWei9YwzM+mgG0JrCqzA+Rq1tzHFWg 1gIUnpj4R8GzkdxxO7g9ucaeoKtg2dM21XBOsfb2eIqnhp0EVv0BSsiwa+V4BOfgvGs5 Xen2yaMn3gJ8ASic59AcI+BvkccjgbZhGzbyTjnedeTUALqVOQjKLKo6Odj8Gnj4laZw F4hw== 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=nguTi4FofPQvrpVsjR9c6Q+SDPvpmx908CyCXM0g7/k=; b=YadarunSZGFODpmaXgMfsUCyHPyQEN8RFA8130Wx1v3V5dsoLNLFMcsRH8BeBqg1mj RmgoNPAhrvksJ+TfdxnD8aFZ2odDCUhBUg3UNP+pYia0rAHSzjieQ8RuMID1h4DhBI19 NbC2RTDlHdo54OArOa0ubvlCdLSXxLwi6Y5G8Vxw6ETQWewCdanYyYwml8zEUlEtmvjw F1bjsbpQ43Ryo5aDT3a809iZOZV74cc2Gp3kqE1hFAWeO1fQmtHpnNndjGCq3WE1ymnO kxFMqsQKrjNpfJxUkxbMh0it6bIheQyiEBBxOcWw98rI692cLEvftp1EO6NNKCRhUUmf Wmjw== 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 q41si2708095eda.93.2017.11.28.02.29.52; Tue, 28 Nov 2017 02:29:52 -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 27237C21DED; Tue, 28 Nov 2017 10:27:26 +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 EAD51C21E3E; Tue, 28 Nov 2017 10:25:08 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id B685FC21E22; Tue, 28 Nov 2017 10:25:01 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id 10733C21DE7 for ; Tue, 28 Nov 2017 10:24:56 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id 64C982081A; Tue, 28 Nov 2017 11:24:55 +0100 (CET) Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id 3C53020380; Tue, 28 Nov 2017 11:24:55 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Tue, 28 Nov 2017 11:24:43 +0100 Message-Id: X-Mailer: git-send-email 2.14.3 In-Reply-To: References: In-Reply-To: References: Cc: Thomas Petazzoni , u-boot@lists.denx.de, Andre Przywara , agraf@suse.de, Maxime Ripard , Jagan Teki Subject: [U-Boot] [PATCH 08/14] 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. Signed-off-by: Maxime Ripard Reviewed-by: Andre Przywara --- env/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/env/common.c b/env/common.c index 70715bb6e756..fb66432bdc81 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\n"); } if (himport_r(&env_htab, (char *)default_environment,