From patchwork Mon Dec 19 10:31:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 88452 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp1084356qgi; Mon, 19 Dec 2016 02:31:56 -0800 (PST) X-Received: by 10.28.113.76 with SMTP id m73mr12029961wmc.114.1482143516791; Mon, 19 Dec 2016 02:31:56 -0800 (PST) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id f125si14271457wmf.44.2016.12.19.02.31.54; Mon, 19 Dec 2016 02:31:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D4B66B38A1; Mon, 19 Dec 2016 11:31:48 +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 eg9exUClrhZX; Mon, 19 Dec 2016 11:31:48 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B43E8B38C1; Mon, 19 Dec 2016 11:31:46 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B76D9B38A1 for ; Mon, 19 Dec 2016 11:31:41 +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 Tsv6Bfs0_E8h for ; Mon, 19 Dec 2016 11:31:41 +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 conuserg-12.nifty.com (conuserg-12.nifty.com [210.131.2.79]) by theia.denx.de (Postfix) with ESMTPS id 078ADB3897 for ; Mon, 19 Dec 2016 11:31:40 +0100 (CET) Received: from pug.jp.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id uBJAV6AU021021; Mon, 19 Dec 2016 19:31:08 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com uBJAV6AU021021 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1482143469; bh=O9sXM6BrjCU+y98RiP4E1QjGO1mK56AIWigQcjBoDRY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IZ0aZBXkXDiQNBqT5SWG4MEl+tE+cgUfq2Fx2RhYY5MRDWZcw3fWAVzzR6zgwVf+z cgoRdEf2P/qqV+eBtvGPe5UnleD3p/wjTanT4EvGv1Uc6obo1tCRjAGFP1fJ9u6akv SgGpMjm8XNVmdz3KWjkzGN8ynlfyUYTCkJMhS3hpLf55CkKWyUw905jO9mu+HrM2dK ap3j+2i6C5EZzrECQIi0+JTBKHbieST4gQLUR+ehJ2Y6oENRRtad1BAgtCLyqv+Wmf Uu6B4bPbajjmYd7kPWeUpHJA8cj1VWPuRaN93cCUcTO1AoWT+mXHGCWe9UPiQhHar3 tv+fwrsFyCcMw== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Mon, 19 Dec 2016 19:31:03 +0900 Message-Id: <1482143465-14584-3-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1482143465-14584-1-git-send-email-yamada.masahiro@socionext.com> References: <1482143465-14584-1-git-send-email-yamada.masahiro@socionext.com> Cc: Tom Rini , Albert ARIBAUD , Fabio Estevam Subject: [U-Boot] [PATCH 2/3] common/init: remove meaningless defined(CONFIG_USE_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" CONFIG_USE_ARCH_MEMSET controls nothing about SPL. (it is effective only on U-Boot proper building of ARM). Signed-off-by: Masahiro Yamada --- common/init/board_init.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -- 2.7.4 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot Reviewed-by: Fabio Estevam diff --git a/common/init/board_init.c b/common/init/board_init.c index ef01a9a..a2edb4e 100644 --- a/common/init/board_init.c +++ b/common/init/board_init.c @@ -15,9 +15,7 @@ DECLARE_GLOBAL_DATA_PTR; * It isn't trivial to figure out whether memcpy() exists. The arch-specific * memcpy() is not normally available in SPL due to code size. */ -#if !defined(CONFIG_SPL_BUILD) || \ - (defined(CONFIG_SPL_LIBGENERIC_SUPPORT) && \ - !defined(CONFIG_USE_ARCH_MEMSET)) +#if !defined(CONFIG_SPL_BUILD) || defined(CONFIG_SPL_LIBGENERIC_SUPPORT) #define _USE_MEMCPY #endif