From patchwork Fri Feb 20 11:06:14 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Przemyslaw Marczak X-Patchwork-Id: 441914 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 330CC140293 for ; Fri, 20 Feb 2015 22:08:22 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B873E4B6DE; Fri, 20 Feb 2015 12:07:51 +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 AS7Dzqur2Xrz; Fri, 20 Feb 2015 12:07:51 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A65234B7CD; Fri, 20 Feb 2015 12:07:47 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E38E34B719 for ; Fri, 20 Feb 2015 12:07:17 +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 Osa5EczgD5Fo for ; Fri, 20 Feb 2015 12:07:17 +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 mailout1.w1.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) by theia.denx.de (Postfix) with ESMTPS id 61ED14B734 for ; Fri, 20 Feb 2015 12:07:17 +0100 (CET) Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NK2005SJHQU8F10@mailout1.w1.samsung.com> for u-boot@lists.denx.de; Fri, 20 Feb 2015 11:11:18 +0000 (GMT) X-AuditID: cbfec7f4-b7f126d000001e9a-15-54e714cf1d5c Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id F9.7C.07834.FC417E45; Fri, 20 Feb 2015 11:04:47 +0000 (GMT) Received: from AMDC1186.digital.local ([106.116.147.185]) by eusync3.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0NK20002RHJVJD90@eusync3.samsung.com>; Fri, 20 Feb 2015 11:07:12 +0000 (GMT) From: Przemyslaw Marczak To: u-boot@lists.denx.de Date: Fri, 20 Feb 2015 12:06:14 +0100 Message-id: <1424430379-12599-2-git-send-email-p.marczak@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1424430379-12599-1-git-send-email-p.marczak@samsung.com> References: <1424099601-14979-1-git-send-email-p.marczak@samsung.com> <1424430379-12599-1-git-send-email-p.marczak@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrHLMWRmVeSWpSXmKPExsVy+t/xq7rnRZ6HGFyfz2xx6s9jRotPC0+w Wrx5uJnR4uiee8wWHUdaGC12XL7BYrHr9mQWi29btjFaTD/+ltXixvQWVovJi4Ha3u7tZLc4 +uUamwOvx7yfE5k8Phy9xuYxu+Eii8ff59dZPHbOusvuMW3iR2aPs3d2MHr0Nr9j8+jbsorR 4/iN7UwBXFFcNimpOZllqUX6dglcGbueH2IqWM5ZsXDyE9YGxtfsXYycHBICJhKf2jezQdhi EhfurQeyuTiEBJYySmy/2wfl9DFJPDp9hQmkik3AQGLPpTPMILaIgITEr/6rjCA2s8AHZokL 04pAbGEBL4mJz2eATWURUJX4dWQ52DZeAVeJPf86oDbLSZw8NpkVxOYUcJNo2HAYbKaQQCOj xIIl3BMYeRcwMqxiFE0tTS4oTkrPNdQrTswtLs1L10vOz93ECAnjLzsYFx+zOsQowMGoxMP7 Y8+zECHWxLLiytxDjBIczEoivPHCz0OEeFMSK6tSi/Lji0pzUosPMTJxcEo1MKYYn8sqPNia yHelcoeKxCW1gB8iJSI7nZ7+OcHxKcX0nPq9eXu2mZYEsdoVMa5dENR56/K1tr8bm+d4Zavx ZWbO9/vsYuG0rSO6cvHH447doncSNu3u3Z2ndPVt4vQV5l9552+SCff5uEuvvPa2n+Xh5Sop 3ZIHhTyLfhVabb3w7LuGYrlZsBJLcUaioRZzUXEiAC0hBuRBAgAA Cc: Akshay Saraswat , Stephen Warren , Pantelis Antoniou , Przemyslaw Marczak , Tom Rini Subject: [U-Boot] [PATCH v3 1/6] exynos: config: enable arch memcpy and arch memset 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" This commit enables the following configs: - CONFIG_USE_ARCH_MEMCPY - CONFIG_USE_ARCH_MEMSET This increases the performance of memcpy/memset and also reduces the boot time. This was tested on Trats2. A quick test with trace. Boot time from start to main_loop() entry: - ~1527ms - before this change (arch memset enabled for .bss clear) - ~1384ms - after this change Signed-off-by: Przemyslaw Marczak Reviewed-by: Simon Glass Cc: Minkyu Kang Cc: Akshay Saraswat Cc: Simon Glass Cc: Sjoerd Simons --- Changes V3 - none --- include/configs/exynos-common.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/exynos-common.h b/include/configs/exynos-common.h index 59676ae..87f8db0 100644 --- a/include/configs/exynos-common.h +++ b/include/configs/exynos-common.h @@ -24,6 +24,9 @@ #define CONFIG_SKIP_LOWLEVEL_INIT #define CONFIG_BOARD_EARLY_INIT_F +#define CONFIG_USE_ARCH_MEMCPY +#define CONFIG_USE_ARCH_MEMSET + /* Keep L2 Cache Disabled */ #define CONFIG_CMD_CACHE