From: Thomas Weber Date: Mon, 14 May 2012 10:28:54 +0000 (+0000) Subject: omap4/5: Use CPUDIR for .lds script X-Git-Tag: v2025.01-rc5-pxa1908~17673^2~35^2~24^2~179 X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-logo.png?a=commitdiff_plain;h=d1df0fd37388fe0dc77a75f5aece04f70cc3f7e6;p=u-boot.git omap4/5: Use CPUDIR for .lds script Signed-off-by: Thomas Weber --- diff --git a/include/configs/omap4_common.h b/include/configs/omap4_common.h index 84481420e4..e7a3de5a66 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 60c7a291c0..837838700a 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