From patchwork Wed Sep 11 11:28:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1160924 X-Patchwork-Delegate: monstr@monstr.eu Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="Nlrh4FrC"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 46T0Bj2dcHz9sDB for ; Wed, 11 Sep 2019 21:33:01 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 24AFEC21DED; Wed, 11 Sep 2019 11:31:10 +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=RCVD_IN_MSPIKE_H2, T_DKIM_INVALID 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 9C19AC21E0D; Wed, 11 Sep 2019 11:31:08 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 60F4BC21DA1; Wed, 11 Sep 2019 11:28:50 +0000 (UTC) Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by lists.denx.de (Postfix) with ESMTPS id A9A70C21E47 for ; Wed, 11 Sep 2019 11:28:50 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id t16so24113775wra.6 for ; Wed, 11 Sep 2019 04:28:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=V8YtnY/WprQslKf3oZqoIhoDVcHJgt/YGF1hxxC0UrA=; b=Nlrh4FrCfbCaaHcrOCLDey7S6/7gvyME//GfoP5umH+R3zB6qksmz9YLuxvE2GO1uL sIx2xftODSwwStdMfRy4VjRVIwwTVGqZZJEAMJgIFcDvnwmwNVjM/k4jdPrfN/yPwJbV sfdGPlDzC0gdg7M+wrwLqVyP7j6S6TEX3fqIv5YDCRtBVGC957yQ0RtW1guic+XGOaYN sCpqRBO4JVdeh73UdVsNXKr3QDGnT9do8W+Yk4UYK9qQNTAiQR8+YUYQ2pweG7uT5goN m68+yUFXgcz5L1TnL2IDqxXSZbrCkw284IG9gShmup1TYzNFWLyzkMFi9q/7lndf2eZa A3Sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:in-reply-to:references; bh=V8YtnY/WprQslKf3oZqoIhoDVcHJgt/YGF1hxxC0UrA=; b=fBTdG9q52rFRsieFVz7GVaJ/SVrel5GXUXy0VJjI00i20AKBHj50+/Y5ciZybQUXjr QxaAg99FDq6T0ceaeNf4SSWd+hTLxH9XRPfwx8hEtWhGcwFkIPfdNdeYEbLqaOZk6Nnl 2MnhJqn7D2aIdJE+8U4+rmn1yTyZSHHN9Dxn4Z/eOUXVcOwz1F6yrvyIZu3GrNUqmoSr KQmekckYa0Jzk1EqxYHEOOUaEj2TdoUCIT03+cc7Ma/hHD/wPBZJb3fdx+4w7LIQRyoF wxy0JG4eRfdLM1NtRJurUGp0URdnc+w84l9KHsJEEzzo9+qfoHq7gp6oXeDMttk8waBb 5j5A== X-Gm-Message-State: APjAAAXWvumc7TUTOfiCxOTO4nr6qGLhe5CxVtFPQ2xHxkf92NzQtl7I FwLdl/++wX8KNsyFWYE5qYCclDm1tWQb1Q== X-Google-Smtp-Source: APXvYqwMiJ5dKxUi4iSFK35VCEyVgnixQilsCfnh+bn3zj600h0CBrR8qNOuVovP2smcQA5BERjIoA== X-Received: by 2002:adf:fd41:: with SMTP id h1mr11193359wrs.315.1568201330059; Wed, 11 Sep 2019 04:28:50 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id q10sm42689351wrd.39.2019.09.11.04.28.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Sep 2019 04:28:49 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Date: Wed, 11 Sep 2019 13:28:37 +0200 Message-Id: X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Subject: [U-Boot] [PATCH 4/5] ARM: zynq: Use {} around variables for qspi and nand boot cmds 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" Follow conventions and used {} around variables. Fixes: 90e97ab31e02 ("arm: zynq: Define distro boot commnads for qspi, nand and nor") Signed-off-by: Michal Simek --- include/configs/zynq-common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index 09eada39023c..4b12be30c8aa 100644 --- a/include/configs/zynq-common.h +++ b/include/configs/zynq-common.h @@ -160,7 +160,7 @@ #define BOOTENV_DEV_QSPI(devtypeu, devtypel, instance) \ "bootcmd_qspi=sf probe 0 0 0 && " \ - "sf read $scriptaddr $script_offset_f $script_size_f && " \ + "sf read ${scriptaddr} ${script_offset_f} ${script_size_f} && " \ "source ${scriptaddr}; echo SCRIPT FAILED: continuing...;\0" #define BOOTENV_DEV_NAME_QSPI(devtypeu, devtypel, instance) \ @@ -168,7 +168,7 @@ #define BOOTENV_DEV_NAND(devtypeu, devtypel, instance) \ "bootcmd_nand=nand info && " \ - "nand read $scriptaddr $script_offset_f $script_size_f && " \ + "nand read ${scriptaddr} ${script_offset_f} ${script_size_f} && " \ "source ${scriptaddr}; echo SCRIPT FAILED: continuing...;\0" #define BOOTENV_DEV_NAME_NAND(devtypeu, devtypel, instance) \