SMDK6400: Fix the mutiple link error
authorseedshope <bocui107@gmail.com>
Sat, 22 Jan 2011 10:06:11 +0000 (10:06 +0000)
committerAlbert Aribaud <albert.aribaud@free.fr>
Sun, 27 Mar 2011 17:19:10 +0000 (19:19 +0200)
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: Zhong Hongbo <bocui107@gmail.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/smdk6400/u-boot-nand.lds

index ef99dc9c29e053d86cec3ca49e6a70048078b42b..21e1ed3b7a4919760d7b06e0257d1417f7c67b7b 100644 (file)
@@ -35,7 +35,6 @@ SECTIONS
        .text      :
        {
          arch/arm/cpu/arm1176/start.o  (.text)
-         arch/arm/cpu/arm1176/s3c64xx/cpu_init.o       (.text)
          *(.text)
        }