summaryrefslogtreecommitdiff
path: root/board/freescale
diff options
context:
space:
mode:
Diffstat (limited to 'board/freescale')
-rw-r--r--board/freescale/m5282evb/u-boot.lds2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/m5282evb/u-boot.lds b/board/freescale/m5282evb/u-boot.lds
index dc18b7db4f..f46e0251ef 100644
--- a/board/freescale/m5282evb/u-boot.lds
+++ b/board/freescale/m5282evb/u-boot.lds
@@ -61,7 +61,7 @@ SECTIONS
lib_generic/vsprintf.o (.text)
lib_generic/crc32.o (.text)
- . = env_offset;
+ . = DEFINED(env_offset) ? env_offset : .;
common/env_embedded.o(.text)
*(.text)