summaryrefslogtreecommitdiff
path: root/board/netvia/u-boot.lds
diff options
context:
space:
mode:
Diffstat (limited to 'board/netvia/u-boot.lds')
-rw-r--r--board/netvia/u-boot.lds4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/netvia/u-boot.lds b/board/netvia/u-boot.lds
index 35e00f4..5ac88da 100644
--- a/board/netvia/u-boot.lds
+++ b/board/netvia/u-boot.lds
@@ -63,8 +63,8 @@ SECTIONS
lib_ppc/cache.o (.text)
lib_ppc/time.o (.text)
- . = env_offset;
- common/environment.o (.ppcenv)
+ . = DEFINED(env_offset) ? env_offset : .;
+ common/environment.o (.text)
*(.text)
*(.fixup)