summaryrefslogtreecommitdiff
path: root/mmc_spl/board/samsung/smdkv310
diff options
context:
space:
mode:
authorChander Kashyap <chander.kashyap@linaro.org>2011-07-25 23:25:16 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-09-03 22:40:47 +0200
commitebbc84af5e18f8f040996219dc92f64e950240cd (patch)
treed716f7278efacdceb6684228f73815fa8aeb5b55 /mmc_spl/board/samsung/smdkv310
parent0e74b56518e5479aa122b22bae10fa62c6ecd57e (diff)
downloadu-boot-imx-ebbc84af5e18f8f040996219dc92f64e950240cd.zip
u-boot-imx-ebbc84af5e18f8f040996219dc92f64e950240cd.tar.gz
u-boot-imx-ebbc84af5e18f8f040996219dc92f64e950240cd.tar.bz2
SMDKV310: Fix undefined reference error
Fix buld error: undefined reference to '__image_copy_end' and `save_boot_params'. start.o: In function `_image_copy_end_ofs': mmc_spl/board/samsung/smdkv310/start.S:44: undefined reference to `__image_copy_end' start.o: In function `reset': mmc_spl/board/samsung/smdkv310/start.S:137: undefined reference to `save_boot_params' Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'mmc_spl/board/samsung/smdkv310')
-rw-r--r--mmc_spl/board/samsung/smdkv310/mmc_boot.c4
-rw-r--r--mmc_spl/board/samsung/smdkv310/u-boot.lds2
2 files changed, 6 insertions, 0 deletions
diff --git a/mmc_spl/board/samsung/smdkv310/mmc_boot.c b/mmc_spl/board/samsung/smdkv310/mmc_boot.c
index 566f34e..dea1b86 100644
--- a/mmc_spl/board/samsung/smdkv310/mmc_boot.c
+++ b/mmc_spl/board/samsung/smdkv310/mmc_boot.c
@@ -54,6 +54,10 @@ void board_init_r(gd_t *id, ulong dest_addr)
;
}
+void save_boot_params(u32 r0, u32 r1, u32 r2, u32 r3)
+{
+}
+
void do_undefined_instruction(struct pt_regs *pt_regs)
{
}
diff --git a/mmc_spl/board/samsung/smdkv310/u-boot.lds b/mmc_spl/board/samsung/smdkv310/u-boot.lds
index 61cd16a..4a231d9 100644
--- a/mmc_spl/board/samsung/smdkv310/u-boot.lds
+++ b/mmc_spl/board/samsung/smdkv310/u-boot.lds
@@ -58,6 +58,8 @@ SECTIONS
. = ALIGN(4);
+ __image_copy_end = .;
+
.rel.dyn : {
__rel_dyn_start = .;
*(.rel*)