aboutsummaryrefslogtreecommitdiffstats
path: root/board/tqm8xx/u-boot.lds
diff options
context:
space:
mode:
Diffstat (limited to 'board/tqm8xx/u-boot.lds')
-rw-r--r--board/tqm8xx/u-boot.lds2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/tqm8xx/u-boot.lds b/board/tqm8xx/u-boot.lds
index 17fea2e6c5..532da283a7 100644
--- a/board/tqm8xx/u-boot.lds
+++ b/board/tqm8xx/u-boot.lds
@@ -66,7 +66,7 @@ SECTIONS
lib_ppc/cache.o (.text)
lib_ppc/time.o (.text)
- . = env_offset;
+ . = DEFINED(env_offset) ? env_offset : .;
common/environment.o (.ppcenv)
*(.text)