From patchwork Fri Jan 21 15:34:10 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: seedshope X-Patchwork-Id: 79854 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 BC79BB708B for ; Sat, 22 Jan 2011 02:36:51 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 681A2281F8; Fri, 21 Jan 2011 16:36:29 +0100 (CET) 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 CxntRkDrlOfm; Fri, 21 Jan 2011 16:36:29 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8A93D281FA; Fri, 21 Jan 2011 16:36:20 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0E17228127 for ; Fri, 21 Jan 2011 16:36:19 +0100 (CET) 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 h724+5rU7qha for ; Fri, 21 Jan 2011 16:36: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 mail-pz0-f44.google.com (mail-pz0-f44.google.com [209.85.210.44]) by theia.denx.de (Postfix) with ESMTPS id 05854281F8 for ; Fri, 21 Jan 2011 16:36:06 +0100 (CET) Received: by pzk5 with SMTP id 5so334156pzk.3 for ; Fri, 21 Jan 2011 07:36:04 -0800 (PST) Received: by 10.142.47.21 with SMTP id u21mr763184wfu.443.1295624164849; Fri, 21 Jan 2011 07:36:04 -0800 (PST) Received: from localhost.localdomain ([114.249.224.174]) by mx.google.com with ESMTPS id w14sm12809970wfd.18.2011.01.21.07.36.02 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 21 Jan 2011 07:36:04 -0800 (PST) From: seedshope To: Minkyu Kang , u-boot@lists.denx.de Date: Fri, 21 Jan 2011 23:34:10 +0800 Message-Id: <1295624053-8060-4-git-send-email-bocui107@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1295624053-8060-1-git-send-email-bocui107@gmail.com> References: <1295624053-8060-1-git-send-email-bocui107@gmail.com> Subject: [U-Boot] [v4 patch 3/6] SMDK6400: Fix the mutiple link error X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de The first, the cpu_init.o have already been link for cmd_link_o_target atfer compile, But, The link script re-link the point file. So the link machine will generate multiple definition error information. The second, Since the first 4kB of nand boot featue code move to nand_spl, So It is not necessary to force the cpu_init.o in non-nand boot. Signed-off-by: seedshope --- board/samsung/smdk6400/u-boot-nand.lds | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/board/samsung/smdk6400/u-boot-nand.lds b/board/samsung/smdk6400/u-boot-nand.lds index 6771981..6bf4971 100644 --- a/board/samsung/smdk6400/u-boot-nand.lds +++ b/board/samsung/smdk6400/u-boot-nand.lds @@ -35,7 +35,6 @@ SECTIONS .text : { arch/arm/cpu/arm1176/start.o (.text) - arch/arm/cpu/arm1176/s3c64xx/cpu_init.o (.text) *(.text) }