omap4/5: Use CPUDIR for .lds script
authorThomas Weber <thomas@tomweber.eu>
Mon, 14 May 2012 10:28:54 +0000 (10:28 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:21 +0000 (14:07 +0200)
Signed-off-by: Thomas Weber <thomas@tomweber.eu>
include/configs/omap4_common.h
include/configs/omap5_evm.h

index 84481420e48b838b0ad330295f70a1b71b009fe2..e7a3de5a667517bc27ac07f3898fe1fed482efc0 100644 (file)
 #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
 
index 60c7a291c020ddbcbcb862349f6e0914b73b50ab..837838700aae7c68f60e38f670dffa25fee53906 100644 (file)
 #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