Message ID | 1424711811-3442-2-git-send-email-p.marczak@samsung.com |
---|---|
State | Changes Requested |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> 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 9686E1400F1 for <incoming@patchwork.ozlabs.org>; Tue, 24 Feb 2015 04:18:08 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 38FD64A032; Mon, 23 Feb 2015 18:18:04 +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 7CL1daogpJSP; Mon, 23 Feb 2015 18:18:04 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 198E14A03A; Mon, 23 Feb 2015 18:17:59 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B0AB64A020 for <u-boot@lists.denx.de>; Mon, 23 Feb 2015 18:17:52 +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 wzIKEUkmjzG1 for <u-boot@lists.denx.de>; Mon, 23 Feb 2015 18:17:52 +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 669C44A01C for <u-boot@lists.denx.de>; Mon, 23 Feb 2015 18:17:50 +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 <0NK8007PGIWIND60@mailout1.w1.samsung.com> for u-boot@lists.denx.de; Mon, 23 Feb 2015 17:21:54 +0000 (GMT) X-AuditID: cbfec7f4-b7f126d000001e9a-e9-54eb602ac677 Received: from eusync4.samsung.com ( [203.254.199.214]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id CA.B2.07834.A206BE45; Mon, 23 Feb 2015 17:15:22 +0000 (GMT) Received: from AMDC1186.digital.local ([106.116.147.185]) by eusync4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NK8006SPIPIE360@eusync4.samsung.com>; Mon, 23 Feb 2015 17:17:47 +0000 (GMT) From: Przemyslaw Marczak <p.marczak@samsung.com> To: u-boot@lists.denx.de Date: Mon, 23 Feb 2015 18:16:46 +0100 Message-id: <1424711811-3442-2-git-send-email-p.marczak@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1424711811-3442-1-git-send-email-p.marczak@samsung.com> References: <1424430379-12599-1-git-send-email-p.marczak@samsung.com> <1424711811-3442-1-git-send-email-p.marczak@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrKLMWRmVeSWpSXmKPExsVy+t/xa7paCa9DDA5t1bA49ecxo8WnhSdY Ld483MxocXTPPWaLjiMtjBY7Lt9gsdh1ezKLxbct2xgtph9/y2pxY3oLq8XkxfOZLd7u7WR3 4PGY93Mik8eHo9fYPGY3XGTx+Pv8OovHzll32T3O3tnB6NHb/I7No2/LKkaP4ze2MwVwRnHZ pKTmZJalFunbJXBlXL20gq1gAmdF87JlTA2MF9m7GDk5JARMJPrXHWGGsMUkLtxbz9bFyMUh JLCUUeLRpG5GCKePSeLu3w5GkCo2AQOJPZfOgHWICEhI/Oq/ClbELHCQWWLismlA7RwcwgJe EjsWWoHUsAioSjzrWAFWzyvgIrH7aRsTxDY5iZPHJrOC2JwCrhJdk0+wQixrYJSYcH0m2wRG 3gWMDKsYRVNLkwuKk9JzDfWKE3OLS/PS9ZLzczcxQoL2yw7GxcesDjEKcDAq8fA+KHsVIsSa WFZcmXuIUYKDWUmE943u6xAh3pTEyqrUovz4otKc1OJDjEwcnFINjGneXiKv13Qf+buwjPnw yRlxnV2d6Zd9KsV3XrtfF/NJsmbqceHEyf6m/q5c0/6cUL/0aNXy0xMmbIjVXME+e1pRz+GC bYa+M224RFffzE/iuXo8kYO1L3+D+w2J5XWad46cOPBKi/PU/3kR2k8dzj24O8d6Y/wGSS+f fBaWUxxF704pOa5+clCJpTgj0VCLuag4EQBwl2WvOAIAAA== Cc: Akshay Saraswat <akshay.s@samsung.com>, Stephen Warren <swarren@nvidia.com>, Pantelis Antoniou <panto@antoniou-consulting.com>, Przemyslaw Marczak <p.marczak@samsung.com>, Tom Rini <trini@ti.com> Subject: [U-Boot] [PATCH v4 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 <u-boot.lists.denx.de> List-Unsubscribe: <http://lists.denx.de/mailman/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <http://lists.denx.de/mailman/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
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
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 <p.marczak@samsung.com> Cc: Minkyu Kang <mk7.kang@samsung.com> Cc: Akshay Saraswat <akshay.s@samsung.com> Cc: Simon Glass <sjg@chromium.org> Cc: Sjoerd Simons <sjoerd.simons@collabora.co.uk> --- Changes V3 - none Changes V4 - none --- include/configs/exynos-common.h | 3 +++ 1 file changed, 3 insertions(+)