Patchwork [U-Boot] omap4/5: Use CPUDIR for .lds script

login
register
mail settings
Submitter Thomas Weber
Date May 14, 2012, 8:28 p.m.
Message ID <1337027334-29341-1-git-send-email-thomas@tomweber.eu>
Download mbox | patch
Permalink /patch/159167/
State Accepted
Commit d1df0fd37388fe0dc77a75f5aece04f70cc3f7e6
Delegated to: Tom Rini
Headers show

Comments

Thomas Weber - May 14, 2012, 8:28 p.m.
Signed-off-by: Thomas Weber <thomas@tomweber.eu>
---
 include/configs/omap4_common.h |    2 +-
 include/configs/omap5_evm.h    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/include/configs/omap4_common.h b/include/configs/omap4_common.h
index a989721..390ee8a 100644
--- a/include/configs/omap4_common.h
+++ b/include/configs/omap4_common.h
@@ -283,7 +283,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 d3d5263..5bb99b3 100644
--- a/include/configs/omap5_evm.h
+++ b/include/configs/omap5_evm.h
@@ -266,7 +266,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