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/M5235EVB.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/configs/M5235EVB.h') diff --git a/include/configs/M5235EVB.h b/include/configs/M5235EVB.h index 883347b0fd..4bba81544f 100644 --- a/include/configs/M5235EVB.h +++ b/include/configs/M5235EVB.h @@ -199,6 +199,11 @@ * Environment is embedded in u-boot in the second sector of the flash */ #define CONFIG_ENV_IS_IN_FLASH 1 + +#define LDS_BOARD_TEXT \ + . = DEFINED(env_offset) ? env_offset : .; \ + common/env_embedded.o (.text); + #ifdef NORFLASH_PS32BIT # define CONFIG_ENV_OFFSET (0x8000) # define CONFIG_ENV_SIZE 0x4000 -- cgit v1.2.1