diff options
Diffstat (limited to 'mmc_spl/board/samsung/smdkv310')
-rw-r--r-- | mmc_spl/board/samsung/smdkv310/Makefile | 1 | ||||
-rw-r--r-- | mmc_spl/board/samsung/smdkv310/mmc_boot.c | 28 | ||||
-rw-r--r-- | mmc_spl/board/samsung/smdkv310/tools/mkv310_image.c | 1 | ||||
-rw-r--r-- | mmc_spl/board/samsung/smdkv310/u-boot.lds | 2 |
4 files changed, 5 insertions, 27 deletions
diff --git a/mmc_spl/board/samsung/smdkv310/Makefile b/mmc_spl/board/samsung/smdkv310/Makefile index fdfd015cf6..85f48380d5 100644 --- a/mmc_spl/board/samsung/smdkv310/Makefile +++ b/mmc_spl/board/samsung/smdkv310/Makefile @@ -34,6 +34,7 @@ include $(TOPDIR)/config.mk LDSCRIPT= $(TOPDIR)/mmc_spl/board/$(BOARDDIR)/u-boot.lds LDFLAGS = -Bstatic -T $(mmcobj)u-boot.lds -Ttext $(CONFIG_SYS_TEXT_BASE) $(PLATFORM_LDFLAGS) AFLAGS += -DCONFIG_MMC_SPL +AFLAGS += -DCONFIG_SPL_BUILD CFLAGS += -DCONFIG_MMC_SPL CFLAGS += -DCONFIG_SPL_BUILD diff --git a/mmc_spl/board/samsung/smdkv310/mmc_boot.c b/mmc_spl/board/samsung/smdkv310/mmc_boot.c index 566f34eb02..2f3e463bce 100644 --- a/mmc_spl/board/samsung/smdkv310/mmc_boot.c +++ b/mmc_spl/board/samsung/smdkv310/mmc_boot.c @@ -54,32 +54,6 @@ void board_init_r(gd_t *id, ulong dest_addr) ; } -void do_undefined_instruction(struct pt_regs *pt_regs) +void save_boot_params(u32 r0, u32 r1, u32 r2, u32 r3) { } - -void do_software_interrupt(struct pt_regs *pt_regs) -{ -} - -void do_prefetch_abort(struct pt_regs *pt_regs) -{ -} - -void do_data_abort(struct pt_regs *pt_regs) -{ -} - -void do_not_used(struct pt_regs *pt_regs) -{ -} - -void do_fiq(struct pt_regs *pt_regs) -{ -} - -#ifndef CONFIG_USE_IRQ -void do_irq(struct pt_regs *pt_regs) -{ -} -#endif diff --git a/mmc_spl/board/samsung/smdkv310/tools/mkv310_image.c b/mmc_spl/board/samsung/smdkv310/tools/mkv310_image.c index b98f23390f..1a51913f59 100644 --- a/mmc_spl/board/samsung/smdkv310/tools/mkv310_image.c +++ b/mmc_spl/board/samsung/smdkv310/tools/mkv310_image.c @@ -26,6 +26,7 @@ #include <fcntl.h> #include <errno.h> #include <string.h> +#include <sys/stat.h> #define CHECKSUM_OFFSET (14*1024-4) #define BUFSIZE (16*1024) diff --git a/mmc_spl/board/samsung/smdkv310/u-boot.lds b/mmc_spl/board/samsung/smdkv310/u-boot.lds index 61cd16a71c..4a231d9df3 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*) |