omap4/5: Use CPUDIR for .lds script
Signed-off-by: Thomas Weber <thomas@tomweber.eu>
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