From patchwork Thu Jun 28 12:32:32 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_Bie=C3=9Fmann?= X-Patchwork-Id: 167864 X-Patchwork-Delegate: andreas.biessmann@googlemail.com 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 71A8CB6FBE for ; Thu, 28 Jun 2012 22:33:19 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A2AED28090; Thu, 28 Jun 2012 14:33:09 +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 CIv3jexXaloL; Thu, 28 Jun 2012 14:33:09 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1987A28089; Thu, 28 Jun 2012 14:32:56 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2208E28085 for ; Thu, 28 Jun 2012 14:32:51 +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 GJZ4602vB8Yd for ; Thu, 28 Jun 2012 14:32:44 +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-bk0-f44.google.com (mail-bk0-f44.google.com [209.85.214.44]) by theia.denx.de (Postfix) with ESMTPS id 353902807F for ; Thu, 28 Jun 2012 14:32:42 +0200 (CEST) Received: by bkty8 with SMTP id y8so1865844bkt.3 for ; Thu, 28 Jun 2012 05:32:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=oiKj5ts14AnLLUvULj6O0pSoJ5stR7lPN4g1Gso5+oA=; b=dsBjRrxBLuZpTNWlo1XxmyhjlVTKCinl7wCJGWhwmOZNI5QNSws7fJL9TlfHiu7Ebi MKJhIq1bCg7lqpSj28hXSVDEdAAwVls/ApWmP8bgx3Vq3U7hOyFVhl28qydbw6mCqcAd 5JS7OI6YzS31l15faViCAeqGyicKeXVi+JeLchDs3zUUihhwa8SwL8Q+aa38NGpzlKol 7h3jT28g575eTHXL3V6ueuJulJeeWlg9jmtsI17XZmYZ0fp42r7PSNOijfNLN69/b6BJ ppZbmqCE3PBg8LJbAZXgRdMl1/R21j197V9OBgDaNFti7w/kgMqgO2UWi5JWmeEQXU7/ TKTg== Received: by 10.204.154.193 with SMTP id p1mr999774bkw.102.1340886760571; Thu, 28 Jun 2012 05:32:40 -0700 (PDT) Received: from azuregos.er.corscience.de (DSL01.212.114.252.242.ip-pool.NEFkom.net. [212.114.252.242]) by mx.google.com with ESMTPS id n5sm6016908bkv.14.2012.06.28.05.32.39 (version=SSLv3 cipher=OTHER); Thu, 28 Jun 2012 05:32:39 -0700 (PDT) From: =?UTF-8?q?Andreas=20Bie=C3=9Fmann?= To: u-boot@lists.denx.de Date: Thu, 28 Jun 2012 14:32:32 +0200 Message-Id: <1340886752-31199-2-git-send-email-andreas.devel@googlemail.com> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1340886752-31199-1-git-send-email-andreas.devel@googlemail.com> References: <1340886752-31199-1-git-send-email-andreas.devel@googlemail.com> MIME-Version: 1.0 Cc: Stelian Pop Subject: [U-Boot] [PATCH 2/2] at91sam9263ek: fix 'update' script 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: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de The old update script uses 'load_addr' which is never set. Use 'fileaddr' instead whic his automagically set by e.g. dhcp. Signed-off-by: Andreas Bießmann cc: Stelian Pop --- include/configs/at91sam9263ek.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/at91sam9263ek.h b/include/configs/at91sam9263ek.h index 2d46502..f93a436 100644 --- a/include/configs/at91sam9263ek.h +++ b/include/configs/at91sam9263ek.h @@ -163,7 +163,7 @@ "update=" \ "protect off ${monitor_base} +${filesize};" \ "erase ${monitor_base} +${filesize};" \ - "cp.b ${load_addr} ${monitor_base} ${filesize};" \ + "cp.b ${fileaddr} ${monitor_base} ${filesize};" \ "protect on ${monitor_base} +${filesize}\0" #ifndef CONFIG_SKIP_LOWLEVEL_INIT