aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/cpu/u-boot-64.lds
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/cpu/u-boot-64.lds')
-rw-r--r--arch/x86/cpu/u-boot-64.lds2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/cpu/u-boot-64.lds b/arch/x86/cpu/u-boot-64.lds
index ee0812aefbc..92a30c2a387 100644
--- a/arch/x86/cpu/u-boot-64.lds
+++ b/arch/x86/cpu/u-boot-64.lds
@@ -15,7 +15,9 @@ SECTIONS
/DISCARD/ : { *(.u_boot_list_2_cmd_*) }
#endif
+#ifdef CONFIG_SYS_TEXT_BASE
. = CONFIG_SYS_TEXT_BASE; /* Location of bootcode in flash */
+#endif
__text_start = .;
.text.start : { *(.text.start); }