summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Weber <thomas@tomweber.eu>2012-05-14 10:28:54 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-07-07 14:07:21 +0200
commitd1df0fd37388fe0dc77a75f5aece04f70cc3f7e6 (patch)
tree777224f98e7a9604fb5214e262e8c4d45a48a780
parent1e7e716e80f7a8f599390dd5aa4ae7dce465a1da (diff)
downloadu-boot-imx-d1df0fd37388fe0dc77a75f5aece04f70cc3f7e6.zip
u-boot-imx-d1df0fd37388fe0dc77a75f5aece04f70cc3f7e6.tar.gz
u-boot-imx-d1df0fd37388fe0dc77a75f5aece04f70cc3f7e6.tar.bz2
omap4/5: Use CPUDIR for .lds script
Signed-off-by: Thomas Weber <thomas@tomweber.eu>
-rw-r--r--include/configs/omap4_common.h2
-rw-r--r--include/configs/omap5_evm.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/omap4_common.h b/include/configs/omap4_common.h
index 8448142..e7a3de5 100644
--- a/include/configs/omap4_common.h
+++ b/include/configs/omap4_common.h
@@ -281,7 +281,7 @@
#define CONFIG_SPL_FAT_SUPPORT
#define CONFIG_SPL_LIBGENERIC_SUPPORT
#define CONFIG_SPL_SERIAL_SUPPORT
-#define CONFIG_SPL_LDSCRIPT "arch/arm/cpu/armv7/omap-common/u-boot-spl.lds"
+#define CONFIG_SPL_LDSCRIPT "$(CPUDIR)/omap-common/u-boot-spl.lds"
#define CONFIG_SYS_ENABLE_PADS_ALL
diff --git a/include/configs/omap5_evm.h b/include/configs/omap5_evm.h
index 60c7a29..8378387 100644
--- a/include/configs/omap5_evm.h
+++ b/include/configs/omap5_evm.h
@@ -261,7 +261,7 @@
#define CONFIG_SPL_FAT_SUPPORT
#define CONFIG_SPL_LIBGENERIC_SUPPORT
#define CONFIG_SPL_SERIAL_SUPPORT
-#define CONFIG_SPL_LDSCRIPT "arch/arm/cpu/armv7/omap-common/u-boot-spl.lds"
+#define CONFIG_SPL_LDSCRIPT "$(CPUDIR)/omap-common/u-boot-spl.lds"
/*
* 64 bytes before this address should be set aside for u-boot.img's