]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/configs/M5235EVB.h
m68k: add architecture-specific u-boot.lds
[karo-tx-uboot.git] / include / configs / M5235EVB.h
index 883347b0fd8b61d0248a2dda0f6c4823c05cf418..4bba81544fd67181ff6bfcb4a358b1f1defd77e9 100644 (file)
  * 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