From patchwork Thu Apr 21 05:43:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 612959 X-Patchwork-Delegate: yamada.m@jp.panasonic.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 3qr7Zx5j6cz9t0t for ; Thu, 21 Apr 2016 16:07:53 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.b=PKVt9fVk; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 39248B37FB; Thu, 21 Apr 2016 07:52:56 +0200 (CEST) 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 kvONT7Ik5f7p; Thu, 21 Apr 2016 07:52:56 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9A73CB38ED; Thu, 21 Apr 2016 07:47:09 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6B0B3A7805 for ; Thu, 21 Apr 2016 07:44:23 +0200 (CEST) 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 Jpgh_8JYC3HZ for ; Thu, 21 Apr 2016 07:44:23 +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 conuserg-07.nifty.com (conuserg-07.nifty.com [210.131.2.74]) by theia.denx.de (Postfix) with ESMTPS id AD6F5A786D for ; Thu, 21 Apr 2016 07:42:58 +0200 (CEST) Received: from beagle.diag.org (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-07.nifty.com with ESMTP id u3L5gQcP010871; Thu, 21 Apr 2016 14:42:37 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com u3L5gQcP010871 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1461217358; bh=a2wjJ/T14Ne1jFbxsBovjZdqK5xZKAdTsJrZT+aliVQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PKVt9fVkySKIV4DRZHB9vMNJOpxVJ/b68Up20sNoBmQmf0M+QPRDwe5kQl/qorhMu iBc7jPCR2uEtKGakP0M5ABvcJoPgUOv57iwoniPLml49AMZDTfKMV06B0fHUB3blmB s5kpwquezerCyG8EkDNUNatC3aZ/pH9Y5xgqGZm0ZuTtS1pX4zaMPBlkoBHLAmu8fT uzw/2l2cAQseBy0iJuqAQzMXFo6d7xe1rPv2dRIoh3bwBeGeQDxsJehx7xClKQun8t HRbdNRndATufAZWZEF7bW6R+7r7PaBgy0oySMlE9fFEjevNjZge7PsyO3K9rTLOnJM CjOWVu+30iWtQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Thu, 21 Apr 2016 14:43:22 +0900 Message-Id: <1461217402-25430-14-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1461217402-25430-1-git-send-email-yamada.masahiro@socionext.com> References: <1461217402-25430-1-git-send-email-yamada.masahiro@socionext.com> Subject: [U-Boot] [PATCH v4 13/13] ARM: uniphier: increase image load speed from NOR device 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" Copy the kernel image double-word-wise rather than byte-wise. Signed-off-by: Masahiro Yamada --- Changes in v4: None Changes in v3: None Changes in v2: None include/configs/uniphier.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h index a25ac8d..8ecfc6f 100644 --- a/include/configs/uniphier.h +++ b/include/configs/uniphier.h @@ -214,7 +214,8 @@ "boot_common=setexpr bootm_low $kernel_addr_r '&' fe000000 &&" \ LINUXBOOT_CMD " $kernel_addr_r $ramdisk_addr_r $fdt_addr_r\0" \ "norboot=setexpr kernel_addr $nor_base + $kernel_addr &&" \ - "cp.b $kernel_addr $kernel_addr_r $kernel_size &&" \ + "setexpr kernel_size $kernel_size / 4 &&" \ + "cp $kernel_addr $kernel_addr_r $kernel_size &&" \ "setexpr ramdisk_addr_r $nor_base + $ramdisk_addr &&" \ "setexpr fdt_addr_r $nor_base + $fdt_addr &&" \ "run boot_common\0" \