summaryrefslogtreecommitdiff
path: root/include/configs/M5282EVB.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/M5282EVB.h
parentecd8557937a896dd1049f67806482bfb6edf140b (diff)
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/M5282EVB.h')
-rw-r--r--include/configs/M5282EVB.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/M5282EVB.h b/include/configs/M5282EVB.h
index 569ad4201e1..bc740ae9058 100644
--- a/include/configs/M5282EVB.h
+++ b/include/configs/M5282EVB.h
@@ -32,6 +32,10 @@
#define CONFIG_ENV_SIZE 0x2000
#define CONFIG_ENV_IS_IN_FLASH 1
+#define LDS_BOARD_TEXT \
+ . = DEFINED(env_offset) ? env_offset : .; \
+ common/env_embedded.o (.text*);
+
/*
* BOOTP options
*/