From 5296cb1d99c1dc52fbfb4f88595c69f097630be8 Mon Sep 17 00:00:00 2001 From: "angelo@sysam.it" Date: Sun, 29 Mar 2015 22:54:16 +0200 Subject: 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 --- include/configs/M5282EVB.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/configs/M5282EVB.h') diff --git a/include/configs/M5282EVB.h b/include/configs/M5282EVB.h index 569ad4201e..bc740ae905 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 */ -- cgit v1.2.1