Patchwork [U-Boot,v4,3/6] SMDK6400: Fix the mutiple link error

mail settings
Submitter seedshope
Date Jan. 21, 2011, 3:34 p.m.
Message ID <>
Download mbox | patch
Permalink /patch/79854/
State Accepted
Commit fb3527575dce5ced00bf3c2e92ce13a1fc491747
Headers show


seedshope - Jan. 21, 2011, 3:34 p.m.
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/ |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)


diff --git a/board/samsung/smdk6400/ b/board/samsung/smdk6400/
index 6771981..6bf4971 100644
--- a/board/samsung/smdk6400/
+++ b/board/samsung/smdk6400/
@@ -35,7 +35,6 @@  SECTIONS
 	.text      :
 	  arch/arm/cpu/arm1176/start.o	(.text)
-	  arch/arm/cpu/arm1176/s3c64xx/cpu_init.o	(.text)