summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRajeshwari Shinde <rajeshwari.s@samsung.com>2012-07-03 20:02:53 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-09-01 14:58:23 +0200
commit78fbcc95c4841d21520a6635164ab1070d37c1f5 (patch)
tree91628392898f224c8b75554ba49961dbf4a5422e /include
parent9c46f0344e068c763724449dbde4415658d8d59d (diff)
downloadu-boot-imx-78fbcc95c4841d21520a6635164ab1070d37c1f5.zip
u-boot-imx-78fbcc95c4841d21520a6635164ab1070d37c1f5.tar.gz
u-boot-imx-78fbcc95c4841d21520a6635164ab1070d37c1f5.tar.bz2
SMDK5250: Add smdk5250-uboot-spl.lds
Default spl/u-boot-spl.lds created by spl/Makefile resolves the spl text load addr to 0x0. As 0x0 belongs to iROM addr so Global variables can not be used. Adding specific smdk5250-uboot-spl.lds makes possible to use Global Variables in spl. Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com> Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/smdk5250.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/smdk5250.h b/include/configs/smdk5250.h
index e0a6deb..5e32686 100644
--- a/include/configs/smdk5250.h
+++ b/include/configs/smdk5250.h
@@ -112,6 +112,11 @@
#define CONFIG_SPL
#define COPY_BL2_FNPTR_ADDR 0x02020030
+/* specific .lds file */
+#define CONFIG_SPL_LDSCRIPT "board/samsung/smdk5250/smdk5250-uboot-spl.lds"
+#define CONFIG_SPL_TEXT_BASE 0x02023400
+#define CONFIG_SPL_MAX_SIZE (14 * 1024)
+
#define CONFIG_BOOTCOMMAND "mmc read 40007000 451 2000; bootm 40007000"
/* Miscellaneous configurable options */