From patchwork Thu Oct 4 01:47:04 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Troy Kisky X-Patchwork-Id: 188982 X-Patchwork-Delegate: sbabic@denx.de 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 9F9532C0327 for ; Thu, 4 Oct 2012 11:48:09 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id AB4B32829B; Thu, 4 Oct 2012 03:48:05 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 LtS-r36wUZi5; Thu, 4 Oct 2012 03:48:04 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 335BC281DA; Thu, 4 Oct 2012 03:47:45 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 701DB281D4 for ; Thu, 4 Oct 2012 03:47:38 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 xFFcbkfDlCXh for ; Thu, 4 Oct 2012 03:47:37 +0200 (CEST) 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-pa0-f44.google.com (mail-pa0-f44.google.com [209.85.220.44]) by theia.denx.de (Postfix) with ESMTPS id 5BB3A281DC for ; Thu, 4 Oct 2012 03:47:36 +0200 (CEST) Received: by padfb11 with SMTP id fb11so7087334pad.3 for ; Wed, 03 Oct 2012 18:47:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=l0Y8/FM1Iz3o/XtkfacR4V4sXVWsw/8PFv8ugQbIqYM=; b=l4R7zPQ0WUUykbpqCwWY5AI3BXLQFNk8Zl70mnPNxxqwq5QXJEJMYtpRWzfKsGjsd7 hz0REuGoRlZjAsYzeLB6VOqGV6cNgiXMIJGVb+BlPJO42tCFUfobEMfyFD4von6pUl+Q gieM181QjH401/INl1yAuhF8P8p7K0i+suUlt/IP60qdQc+w/h1b0bXll8UDqVuMXdX0 HSQXv1F/mcsOs1/WeC5jtlcv/RdjaFBZQxYCRKSl64x1yumWjogT5RBdss8uleYrOp0Q fyUwmem+e6u12BjV6+Jj9mLp8j9RggOg7NPQ8TtdmuQK8vtwZCvgfaSbkAPH4sCGjvn4 +Vbw== Received: by 10.66.88.40 with SMTP id bd8mr9356637pab.36.1349315254447; Wed, 03 Oct 2012 18:47:34 -0700 (PDT) Received: from officeserver-2 ([70.96.116.236]) by mx.google.com with ESMTPS id wo9sm84381pbc.53.2012.10.03.18.47.31 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 03 Oct 2012 18:47:32 -0700 (PDT) Received: from tkisky by officeserver-2 with local (Exim 4.76) (envelope-from ) id 1TJaXb-0005WJ-T0; Wed, 03 Oct 2012 18:47:55 -0700 From: Troy Kisky To: sbabic@denx.de Date: Wed, 3 Oct 2012 18:47:04 -0700 Message-Id: <1349315254-21151-3-git-send-email-troy.kisky@boundarydevices.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1349315254-21151-1-git-send-email-troy.kisky@boundarydevices.com> References: <1348281558-19520-1-git-send-email-troy.kisky@boundarydevices.com> <1349315254-21151-1-git-send-email-troy.kisky@boundarydevices.com> X-Gm-Message-State: ALoCoQkv5xxkn2Z8l2DZO9nZkyPR4pQYIRftX/OkzAckbC55IAw4DUhcW8qsK2/hJI/a5VxrQr5+ Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH V3 02/32] imximage: remove redundant setting of app_dest_ptr X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Signed-off-by: Troy Kisky Acked-by: Stefano Babic --- v3: split into its own patch --- tools/imximage.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/imximage.c b/tools/imximage.c index c917036..bda1a75 100644 --- a/tools/imximage.c +++ b/tools/imximage.c @@ -213,7 +213,6 @@ static void set_imx_hdr_v1(struct imx_header *imxhdr, uint32_t dcd_len, /* Set magic number */ fhdr_v1->app_code_barker = APP_CODE_BARKER; - fhdr_v1->app_dest_ptr = params->addr; fhdr_v1->app_dest_ptr = params->ep - imxhdr->flash_offset - sizeof(struct imx_header); fhdr_v1->app_code_jump_vector = params->ep;