From patchwork Tue Jan 16 09:16:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 124642 Delivered-To: patch@linaro.org Received: by 10.46.64.148 with SMTP id r20csp948628lje; Tue, 16 Jan 2018 01:25:20 -0800 (PST) X-Google-Smtp-Source: ACJfBouT0Em+/ifDj12HHjwr/ws2siH4SLGnH6KyxOHon2b2h9aY4/g32ITre9Etc5Fcwt1/9geQ X-Received: by 10.80.131.67 with SMTP id 61mr533970edh.16.1516094720595; Tue, 16 Jan 2018 01:25:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516094720; cv=none; d=google.com; s=arc-20160816; b=Cml60HUyHzagAir3cxDkfhnRX+Dx8x8rb1zzwgFxdYzSPyrCWTkQQwdApDTm9XLyC+ xFuPulXqLiKCJCbt+Anprvk9NRPGncDjOVJmE+2XGLs0OvdnoW4PH/gBHEDMrFSV79y+ m3FTxDqB8wUYSq1n5dEWbHcgHGq2jNLZfcgZevtvyBwhHSYfrdcGhxJJiJIneut3++7a ed792PtlmnYeDPsFaX6ljYmtyP+xESrYlr28ZAW6kF91zPxyetxMikIb2h5FBRMtAIs3 Vz/n6CUSfFneyIM6biPcAci0as2Sz7/z1X7gdp5T+0Cyr9SV/RFUEoiiF9ffldQlpMhz 47Fw== 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=moGpK2o6SUX/RJEE+tgxT13LxM2lWnXU+AzzkSee2/M=; b=BEIqfxJWYNugRgmeD8+474/C0i/vsx23bhWAhlC95wTtl9sbjkDG/HZgJEcxTllnJB VMO+DFLGhasZ/tw/Gm7aQA/CTrHn7CnN8vwkquMtCA+wR01EswTU4b8RbKzQ8jwfvUk8 +4EM82Rp0mAHqUy3uM//vbRKGTjGaJItjWkQTSDlo1MZ/Ty11ZTInJEZ9RJq1EhiOUwK JFiXLu/9HIrAH4y0tVn5ZRbnKMqro15Lrnx9A6+5j4lKD+LymTbp/PRRh/Ltu2ldkQIg QWWgrWBgCai1NfG3uAwNazI+Jj+qBy3lvNdAqzI6Hpb7A0EeGkDdOt0zYXns3umBPOB+ iOgQ== 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 a4si1831028ede.29.2018.01.16.01.25.20; Tue, 16 Jan 2018 01:25:20 -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 3D57AC21CA6; Tue, 16 Jan 2018 09:20:25 +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 D7145C21E64; Tue, 16 Jan 2018 09:17:28 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id A528AC21CA6; Tue, 16 Jan 2018 09:17:03 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id D885BC21E24 for ; Tue, 16 Jan 2018 09:16:57 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id B24E0208BE; Tue, 16 Jan 2018 10:16:56 +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 853EF20725; Tue, 16 Jan 2018 10:16:56 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Tue, 16 Jan 2018 10:16:44 +0100 Message-Id: <15353dc08b0e32deaef9722f68cdc0f81a43752c.1516094113.git-series.maxime.ripard@free-electrons.com> 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 v2 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 Signed-off-by: Maxime Ripard Reviewed-by: Simon Glass --- 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,