From patchwork Tue Dec 29 12:22:44 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 561545 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 8023B1400CB for ; Tue, 29 Dec 2015 23:24:52 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b=ZF7rPvBD; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id AC6CB4BA0A; Tue, 29 Dec 2015 13:24:47 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wkl7rPYYE0yj; Tue, 29 Dec 2015 13:24:47 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 296654BA01; Tue, 29 Dec 2015 13:24:33 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 162904B99D for ; Tue, 29 Dec 2015 13:24:26 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PE1_7RfjU48G for ; Tue, 29 Dec 2015 13:24:26 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-oi0-f51.google.com (mail-oi0-f51.google.com [209.85.218.51]) by theia.denx.de (Postfix) with ESMTPS id 0F1244B9C9 for ; Tue, 29 Dec 2015 13:24:18 +0100 (CET) Received: by mail-oi0-f51.google.com with SMTP id o124so187008947oia.1 for ; Tue, 29 Dec 2015 04:24:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=JbPqAdZ9sipgCuaW7UmBI1tW81aAsu71PcX8rQNonK8=; b=ZF7rPvBDcHciJCqGIy7p+0i2H0iCBb/kLU8fJGju5KtwggjQufcpwRKR3jr7ufGAWy ftRue0G44J9A2vfUvKMLM28CIAiqCddxvXQvIFMv6b3i3E0HPqYHhgkWPI92sTRIGWEm lFuSry4dOqetrYYlpf0uQQvtsecF5hQ5yeuk3e5XoM9oWkVszgoTT89lTBojIaxj8Lh9 SUNelKsDL52CXUzIdni7/H1lRAGXtj+gUjrIC7858ffqPaV3/g9J2t1fJYkMHf8CtAiU FtK01+AZJ8SOjdF/82gNRZVPYGkQz7+UitmPaefdvd6Ss7o4xQ2TkcCjqlLrCUDxCfKX erhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=JbPqAdZ9sipgCuaW7UmBI1tW81aAsu71PcX8rQNonK8=; b=S72cfP7YnS5J4h9lchhCKqCOAjsI3UX9lQMawqbXCA5g5hE3uRIM2VG/zRY944IqHp 3vIqafxmNIbdFZu3cnFXaYsHNh7DT6k6B1JHKtssO8iaQDrKWz89BOUYlTXfQgnRLiHh nwy27r9ECr0H8jmXt7llSW60YDjMix6PsTQ33oqf1mKUnatJppV+X+Y/XJwE2LjGLpAV PE/uDjWGokb83atzYwi3dGm/5HNedk79QmTT/BL6imTfW55iL2hikA768VfenmXLRxWb n9yFneaboCppzptaXesHGoLt9UgoD0Ev8je7N4lHSmuziqr2XLoFs7sAPf82aq6o0HIq gC8w== X-Gm-Message-State: ALoCoQlerQf3PHRmDnHJKVF4Y1krjUMsg3sYZlE71M4L2Cq3XyG1rD21eogB9uxR8FpLAFOmMTzZTK/eaPpAG6MbF50fHwUe/g== X-Received: by 10.202.58.136 with SMTP id h130mr29338585oia.89.1451391857702; Tue, 29 Dec 2015 04:24:17 -0800 (PST) Received: from kaki.bld.corp.google.com ([172.29.216.32]) by smtp.gmail.com with ESMTPSA id l188sm21005094oia.14.2015.12.29.04.24.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Dec 2015 04:24:15 -0800 (PST) Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id 8D9DD22133C; Tue, 29 Dec 2015 05:24:13 -0700 (MST) From: Simon Glass To: U-Boot Mailing List Date: Tue, 29 Dec 2015 05:22:44 -0700 Message-Id: <1451391772-6203-3-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.6.0.rc2.230.g3dd15c0 In-Reply-To: <1451391772-6203-1-git-send-email-sjg@chromium.org> References: <1451391772-6203-1-git-send-email-sjg@chromium.org> Cc: Jeffy Chen Subject: [U-Boot] [PATCH 02/10] rockchip: Drop a debug message when outputing SPI images X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 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" There is an unnecessary sector count displayed. Drop it. Signed-off-by: Simon Glass --- tools/rkspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/rkspi.c b/tools/rkspi.c index 800e235..a0b0051 100644 --- a/tools/rkspi.c +++ b/tools/rkspi.c @@ -54,7 +54,7 @@ static void rkspi_set_header(void *buf, struct stat *sbuf, int ifd, * boot ROM. Its rationale is unknown. */ for (sector = size / RKSPI_SECT_LEN - 1; sector >= 0; sector--) { - printf("sector %u\n", sector); + debug("sector %u\n", sector); memmove(buf + sector * RKSPI_SECT_LEN * 2, buf + sector * RKSPI_SECT_LEN, RKSPI_SECT_LEN);