summaryrefslogtreecommitdiff
path: root/include/configs/M5373EVB.h
diff options
context:
space:
mode:
authorangelo@sysam.it <angelo@sysam.it>2015-03-29 22:54:16 +0200
committerTom Rini <trini@konsulko.com>2015-04-23 14:56:07 -0400
commit5296cb1d99c1dc52fbfb4f88595c69f097630be8 (patch)
tree9f3c9462822b604132d65c084031069eff9c9920 /include/configs/M5373EVB.h
parentecd8557937a896dd1049f67806482bfb6edf140b (diff)
downloadu-boot-imx-5296cb1d99c1dc52fbfb4f88595c69f097630be8.zip
u-boot-imx-5296cb1d99c1dc52fbfb4f88595c69f097630be8.tar.gz
u-boot-imx-5296cb1d99c1dc52fbfb4f88595c69f097630be8.tar.bz2
m68k: add architecture-specific u-boot.lds
Add architecture-specific u-boot.lds and remove all board-specific u-boot.lds. All the .text customization that was board-specific have been moved inside the related include/configs, inside a LDS_BOARD_TEXT define. Signed-off-by: Angelo Dureghello <angelo@sysam.it>
Diffstat (limited to 'include/configs/M5373EVB.h')
-rw-r--r--include/configs/M5373EVB.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/M5373EVB.h b/include/configs/M5373EVB.h
index d75b43c..c142dfb 100644
--- a/include/configs/M5373EVB.h
+++ b/include/configs/M5373EVB.h
@@ -209,6 +209,10 @@
#define CONFIG_ENV_SECT_SIZE 0x2000
#define CONFIG_ENV_IS_IN_FLASH 1
+#define LDS_BOARD_TEXT \
+ . = DEFINED(env_offset) ? env_offset : .; \
+ common/env_embedded.o (.text*);
+
/*-----------------------------------------------------------------------
* Cache Configuration
*/